Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2018-02-03 20:30:10

markh
Member
From: Center of The US
Registered: 2012-09-24
Posts: 303
Website

Can't seem to get breadcrumbs working for non-gallery pangolin pages

I've been fooling around with Daniel's method of adding breadcrumbs to standard pangolin pages without much luck. I've basically copied and pasted the code from here: http://community.theturninggate.net/vie … hp?id=8430 to my custom phplugins file, ftp'd it to the server, cleared the template and browser caches, gave it a "hail-Mary" an sent it on its way. Phplugins is enabled in the page template and the php file it points to is correct.
Site is at https://markhoffmanphotography.com The pages in question are Services, About and Contact.
Tried changing the page reference in the code to an absolute address but that had no effect.
Anyone else using this code who has run into this?
Mark

Offline

#2 2018-02-03 22:45:34

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 13,976
Website

Re: Can't seem to get breadcrumbs working for non-gallery pangolin pages

Make sure that the page_match variables match your url setup.
Daniel’s code calls for the url to be /services.php.
Your site looks like it’s set up so the url in the page_match variable would be /services/ (or services/index.php)


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Pangolin test site, Backlight 1.1.1 test site

Offline

#3 2018-02-04 03:39:58

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 813
Website

Re: Can't seem to get breadcrumbs working for non-gallery pangolin pages

rod barbee wrote:

Make sure that the page_match variables match your url setup.
Daniel’s code calls for the url to be /services.php.
Your site looks like it’s set up so the url in the page_match variable would be /services/ (or services/index.php)

As always, Rod has eyes of an eagle.....

If you go to https://markhoffmanphotography.com/services.php, breadcrumbs show!

So best is, to match for /services in order to catch both cases.


Daniel Leu | Photography   
DanielLeu.com

Offline

#4 2018-02-04 05:29:37

markh
Member
From: Center of The US
Registered: 2012-09-24
Posts: 303
Website

Re: Can't seem to get breadcrumbs working for non-gallery pangolin pages

Got it! Thanks. Simple when someone shows it to you.
Mark

Offline

#5 2018-02-04 07:25:10

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 813
Website

Re: Can't seem to get breadcrumbs working for non-gallery pangolin pages

smile


Daniel Leu | Photography   
DanielLeu.com

Offline

Board footer

Powered by FluxBB