how to modify a tag

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
bruco

how to modify a tag

Post by bruco »

I wish to modify the tag breadcrumbs because I need a more sophisticated one so to have the possibility to use more parameters.
What have I to do?
agraddy

Re: how to modify a tag

Post by agraddy »

If you know PHP, just edit the file found here: plugins/function.breadcrumbs.php

That will change the way breadcrumbs are displayed.

One extra hint. In tags, the extra paramaters are stored in an array. So if you want to add a parameter to the tag like this {breadcrumbs myparam='hi'} you can access that param in the tag with the variable $params['myparam']

Code: Select all

echo $params['myparam'];
// output hi


Hope this helps.
Last edited by agraddy on Wed Apr 05, 2006 11:14 pm, edited 1 time in total.
Locked

Return to “Layout and Design (CSS & HTML)”