forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: serg5777 on August 12, 2016, 10:32:18 am

Title: Add number of files to page title
Post by: serg5777 on August 12, 2016, 10:32:18 am
Αndré tell me how to add the number on the tag files - (n-photos)?  :)

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

<title>keyword</title> ---> <title>keyword (n-photos)</title>
Title: Re: Add number of files to page title
Post by: serg5777 on August 12, 2016, 10:44:40 am
Oh, and for the main page of the total number of photos in the gallery?
<title>Gallery name (n-photos)</title>
Title: Re: Add number of files to page title
Post by: serg5777 on August 12, 2016, 11:05:00 am
As I understand it is responsible for this function {$pic_count}
Title: Re: Add number of files to page title
Post by: Αndré on August 12, 2016, 01:02:53 pm
I splitted your posts from the other thread (http://forum.coppermine-gallery.net/index.php/topic,78760.0.html).

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?
Title: Re: Description of the keys
Post by: serg5777 on August 12, 2016, 01:13:22 pm
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)?  :)

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

Code: [Select]
<title>keyword</title> ---> <title>keyword (n-photos)</title>
Title: Re: Re: Description of the keys
Post by: serg5777 on August 12, 2016, 01:14:53 pm
Main page:
<title>Gallery name (n-photos)</title>
Title: Re: Add number of files to page title
Post by: Αndré on August 12, 2016, 01:24:30 pm
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?
Title: Re: Add number of files to page title
Post by: serg5777 on August 12, 2016, 01:29:43 pm
Excuse me please, it's all the difficulties of translation. I do not understand :(
Title: Re: Add number of files to page title
Post by: serg5777 on August 22, 2016, 07:19:59 am
Hello Andre, and you have not looked my problem? :)
Title: Re: Add number of files to page title
Post by: Αndré on August 22, 2016, 08:23:23 pm
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.
Title: Re: Add number of files to page title
Post by: serg5777 on August 23, 2016, 06:31:22 am
I want to in the title displays the total number of attached maps for the entire gallery for each album separately, and keyword :)