17 | Posts |
OK, I've tried to do it as per the previous instructions, and it's just not working.
The example on the simple-blog download page (http://gpeasy.com/Special_Addon_Plugins?id=55) makes the php server crash - no page delivered at all.
The example shown in previous forum posts (http://gpeasy.com/Special_Forum?show=t422) does not work. The page loads but there is no breadcrumb text shown anywhere on the page.
The only successful way I've found has been to edit the layout, and adding it as a new section / include gadget.
I wanted to put it into the template.php, so that I can style the output, and place it exactly where I want it. I'm now at a loss to work out how to do it.
Richard
483 | Posts |
16.6K | Downloads |
1 | Themes |
1 | Plugins |
17 | Posts |
OK, still no joy.
Here's my template file...
483 | Posts |
16.6K | Downloads |
1 | Themes |
1 | Plugins |
483 | Posts |
16.6K | Downloads |
1 | Themes |
1 | Plugins |
So definitely, insert the following code to your template,
this works also without the modifying of Breadcrumb plugin:
<?php global $config;
if (function_exists('BreadcrumbNavigation'))
{ BreadcrumbNavigation(); }
elseif (isset($config['gadgets']['Breadcrumb_Navigation']['script']))
{ include ($config['gadgets']['Breadcrumb_Navigation']['script']); }
?>
31 | Posts |
43 | Posts |
8.9K | Downloads |
2 | Plugins |
483 | Posts |
16.6K | Downloads |
1 | Themes |
1 | Plugins |
As Benjamin says, the best way to do this is to use Edit layout, or if you remove the gadget from the layout, you can add it to particular page via the "New section-File include-Breadcrumb gadget." So this way, you can use the gadget only once on a page.
If you want to use a gadget twice on your page, then you can embed it directly in your template. Use the code I have posted on 2011-06-02 11:13 ,for Breadcrumb 1.2 it works well. Place it somewhere in your /gpEasy/themes/One_Point_5/template.php file. The code I posted here before did the same, but was incomplete.
A new release for Typesetter is in the works with a lot of improvements including the ... Read More
Typesetter 5.1Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More
More NewsFind out more about our Provider Spotlight
What CMS: Find out what CMS a site is using.
Who Hosts This: Find out who is hosting any web site
WordPress Theme Detect: Find out which theme a WordPress site is using