Announcement

#16 2013-09-13 09:28:33

flop25
Piwigo Team
2006-07-06
7037

Re: Page Title metatag format

Again there are coding guidelines in the doc for creating plugin


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#17 2013-09-13 11:40:51

hkdigit
Translation Team
Hong Kong
2013-05-23
89

Re: Page Title metatag format

Hi

I just find some page got error :(

For example:

When access:

http://www.hkdigit.net/pics/picture/hkd … categories

it show following error:

Notice: Undefined index: category in /home2/hklb/public_html/hkdigit.net/pics/plugins/Titlehkdigit/main.inc.php on line 76

Warning: Cannot modify header information - headers already sent by (output started at /home2/hklb/public_html/hkdigit.net/pics/plugins/Titlehkdigit/main.inc.php:76) in /home2/hklb/public_html/hkdigit.net/pics/include/page_header.php on line 101

Any hints to fix it?

Offline

 

#18 2013-09-14 07:01:22

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Page Title metatag format

Hi hkdigit :-)

you photo is in a album ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#19 2013-09-14 08:24:40

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Page Title metatag format

Hi :-)

Your photo is more album I look in code for this


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#20 2013-09-14 08:25:22

hkdigit
Translation Team
Hong Kong
2013-05-23
89

Re: Page Title metatag format

Sorry, I don't got your meaning.

The /category in URL is auto append by the system.

For example, in the gallery main page

http://www.hkdigit.net/pics/

There is "Recent pictures" section, which all 4 photos are append /category on each URL:

http://www.hkdigit.net/pics/picture/hkd … 5/category

Any hints?

Offline

 

#21 2013-09-18 03:33:19

hkdigit
Translation Team
Hong Kong
2013-05-23
89

Re: Page Title metatag format

Hi ddtddt,

I also got same error on normal URL ... :'-(

For example:

http://www.hkdigit.net/pics/picture/hkd … 13-195055/

Many thanks for your help in advance.

Offline

 

#22 2013-09-18 06:38:30

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Page Title metatag format

Hi :-)

I Search, I error is when the photo is severals album I must find how change this


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#23 2013-10-23 04:55:22

hkdigit
Translation Team
Hong Kong
2013-05-23
89

Re: Page Title metatag format

ddtddt wrote:

Hi :-)

I Search, I error is when the photo is severals album I must find how change this

Hi ddtddt,

Any update? Please kindly advise.

Regards,
Chris Lee

Offline

 

#24 2013-10-28 08:13:31

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Page Title metatag format

Hi :-)

I Search


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#25 2013-10-28 08:19:01

hkdigit
Translation Team
Hong Kong
2013-05-23
89

Re: Page Title metatag format

Thanks! Looking for your patch soon.

Offline

 

#26 2013-10-28 08:29:16

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Page Title metatag format

Hi :-)

Can you test remplace

         if (!empty($page['category']['id']) )   

by

         if (!empty($page['category']['id']) and isset($page['category']['id']) ) 


Problème is only users go to photo with other link photo by album


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#27 2013-10-28 08:57:26

hkdigit
Translation Team
Hong Kong
2013-05-23
89

Re: Page Title metatag format

Updated, but same error still occur...

For example:

http://www.hkdigit.net/pics/picture/hkd … categories

Offline

 

#28 2013-10-28 09:00:16

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Page Title metatag format

oups

can you remplace

              if ( !empty($page['image_id']) )   

by

              if ( !empty($page['image_id']) and isset($page['category']['id']))


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#29 2013-10-28 09:08:09

hkdigit
Translation Team
Hong Kong
2013-05-23
89

Re: Page Title metatag format

Ça marche! Merci beaucoup!!

Besides, do I need undo the following line:

> if (!empty($page['category']['id']) )

Offline

 

#30 2013-10-28 09:11:09

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Page Title metatag format

hkdigit wrote:

Ça marche! Merci beaucoup!!

:-)


hkdigit wrote:

Besides, do I need undo the following line:

> if (!empty($page['category']['id']) )

yep, if you want


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact