Announcement

#1 2015-01-17 21:04:04

kyp_
Member
2013-06-17
84

Using different templates for blank Picture-ID URLs without /tags/[..]

Hi!


so I was wondering if there was a way to solve a template issue I'm having:


Google, in all its wisdom, links primarily to the "blank" URL:
i.e.: example.com/picture.php?/13019/ (or any other Picture ID number)
without the /tags/example-tag-1  at the end.


Is there a way to give these blank URLs a different template
without changing themes\default\template\picture.tpl ?
(or tell google only to use the most popular tag added to the end of the URL)

Since anything that's changed in the default tpl would also change any
sub-albums ( /index.php?/category/1394 )
and
tags ( /index.php?/tags/example-tag-1 )


My preferred choice would be to have a template for the "Blank" URLs and
a different template for Tags + Categories/ SubCategories ?


(Just to clearify) What I dont want to do is give a specific
category a template via Configuration > Templates. I'm already
doing that and it is working fine.


I would be glad for any ideas, tips, plugin-suggestions or hints ;)

cheers
kyp

Piwigo version: 2.5.1
PHP version: 5.3.28
MySQL version: 5.5.40-cll

and
Site #2:
Piwigo version: 2.7.2
PHP: 5.3.28
MySQL: 5.5.40-cll


Cheers

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact