1
valentin
Adding a breadcrump menu to the forum
  • 2003/11/30 8:38

  • valentin

  • Just popping in

  • Posts: 26

  • Since: 2003/11/2


Hi Xoopser Fans

I am tweaking my XOOPS version a little and am about to create a breadcrump menu for the forum.

I have to change viewforum.php and viewtopic.php to do this. I am almost there but I cant retrieve the categories name and ID.

I tried cat_id and cat_title. Is there another variable which I am missing here ?

( I looked in the WiKi and the Forums but was unlucky)

To see what I am doing I enclose the code I am about to change:

Quote:


...
<a href='<?php echo $this->_tpl_vars['xoops_url']; ?>
/modules/newbb/index.php?cat=<?php echo $this->_tpl_vars['cat_id']; ?>
'><?php echo $this->_tpl_vars['cat_title']; ?>
</a>&nbsp;/
...




I would certainly appreciate any reply.

PS: Tip for the page https://xoops.org/modules/news/. I believe the "Visit Forums" link at the bottom should also be placed at the top - but thats just a thought, feel free to ignore it

Best regards

Nils valentin
Tokyo/Japan