Add number of files to page title Add number of files to page title
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Add number of files to page title

Started by serg5777, August 12, 2016, 10:32:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

serg5777

Αndré tell me how to add the number on the tag files - (n-photos)?  :)

<title>keyword</title>
<meta name="description" content="All photos on request: keyword" />


<title>keyword</title> ---> <title>keyword (n-photos)</title>

serg5777

Oh, and for the main page of the total number of photos in the gallery?
<title>Gallery name (n-photos)</title>

serg5777

As I understand it is responsible for this function {$pic_count}

Αndré

I splitted your posts from the other thread.

So you want to add the number of files to your page title. Do you really want to display it just on the "main page" (whatever belongs to that in your definition) and on the search result pages, or in your whole gallery?

serg5777

1. I want to show the total number of photo galleries in the title of the main page.

2. And I want to show the number of pictures by tag "keyword" :)

Αndré tell me how to add the number on the tag files - (n-photos)?  :)

<title>keyword</title>
<meta name="description" content="All photos on request: keyword" />


<title>keyword</title> ---> <title>keyword (n-photos)</title>

serg5777

Main page:
<title>Gallery name (n-photos)</title>

Αndré

Why posted you in your old thread? I again needed to split them and merge with this thread >:(

So you don't want to show the number of files somewhere else in the page title, right?

serg5777

Excuse me please, it's all the difficulties of translation. I do not understand :(

serg5777

Hello Andre, and you have not looked my problem? :)

Αndré

I still need to know if you really want to show the number of files just on your main page and the search result page(s). I ask for this, as I want to avoid to create custom code which needs further modification as the initial request was ambiguous.

serg5777

I want to in the title displays the total number of attached maps for the entire gallery for each album separately, and keyword :)