Community @ The Turning Gate

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.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2018-05-23 01:32:45

grover_c
Member
Registered: 2016-12-10
Posts: 117

ttg_masthead_top

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

#2 2018-05-23 01:56:22

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: ttg_masthead_top

grover_c wrote:

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

#3 2018-05-23 10:43:33

grover_c
Member
Registered: 2016-12-10
Posts: 117

Re: ttg_masthead_top

That did the trick.  Thanks!

Offline

Board footer

Powered by FluxBB