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?
how to modify a tag
Re: how to modify a tag
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']
Hope this helps.
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.