Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
I have enabled php and use it quite extensive. Custom css file on root level has some updates for the appearance of the galleries.
As far as the CRG galleries are concernd I want to use a specific appeareance for a specific CRG gallerie.
For example I want to change Metadata formatting ONLY for one CRG gallerie
http://community.theturninggate.net/top … ormatting/
Is there a chance to specify that custom css on root level should not be applied to ONE specific CRG gallerie, so that I can make the desired update in the "local" css file for that specific gallerie?
Offline
you can feed a different custom css file to that specific gallery/album if you wish using conditional statements in phplugins.
you can use
if (G_PATH == 'FOLDER-NAME') {
http://ce4.theturninggate.net/docs/doku … _functions
or you can specify an album slug using the
if (G_SLUG == 'album-slug') {
http://ce4.theturninggate.net/docs/doku … album_sets
Toward the end of this post I show how to send a different css file to all CRGs.
http://ttg-tips-and-tricks.barbeephoto. … galleries/
You can modify the code to send the file to just one gallery/album
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
thx Rod, I will test it next weekend
Offline
tested: great tip, working fine!
Offline
Pages: 1