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
Hello,
I'm finally starting the update of my site to Pangolin. One thing that doesn't seem to be working for me at the moment is that previously I was using the custom PHP file to create a more complex title using ttg_masthead_top which isn't working in Pangolin. Any ideas?
Thanks
Offline
Hello,
I'm finally starting the update of my site to Pangolin. One thing that doesn't seem to be working for me at the moment is that previously I was using the custom PHP file to create a more complex title using ttg_masthead_top which isn't working in Pangolin. Any ideas?
Thanks
With Pangolin, there are two different mastheads available, so the phplugins API changed a bit:
* ttg_masthead_primary_top
* - if return=false, normal Backlight masthead is skipped
* - called immediately before the masthead element
* - fully encompasses the masthead; can be used to replace it
*
* ttg_masthead_primary_bottom
* - return value ignored
* - called immediately after the masthead
* - encompasses nothing; use to insert content after the masthead
*
* ttg_masthead_secondary_top
* - if return=false, normal Backlight masthead is skipped
* - called immediately before the masthead element
* - fully encompasses the masthead; can be used to replace it
*
* ttg_masthead_secondary_bottom
* - return value ignored
* - called immediately after the masthead
* - encompasses nothing; use to insert content after the masthead
You find the API functions in the phplugins sample file.
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
That did the trick. Thanks!
Offline
Pages: 1