1
Zap_English
Small problem/error with xBootstrap

I noticed when you look at a single item the name shows as

module name category > item name

I wanted to change it to

module name > category > item name

which is the way it shows in the standard Publisher without xBootstrap but I can't seem to find the code to change.

Can someone point the way?

TIA!!!

2
Bleekk
Re: Small problem/error with xBootstrap
  • 2017/2/19 18:53

  • Bleekk

  • Theme Designer

  • Posts: 942

  • Since: 2002/12/14


open modules/publisher/item.php

find this (line 222)
le="color: #000000"><?php $xoopsTpl->assign('categoryPath',$item['categoryPath'] . '> ' . $item['title']);

change to
le="color: #000000"><?php $xoopsTpl->assign('categoryPath','>'.$item['categoryPath'] . '> ' . $item['title']);

3
Bleekk
Re: Small problem/error with xBootstrap
  • 2017/2/19 19:04

  • Bleekk

  • Theme Designer

  • Posts: 942

  • Since: 2002/12/14


But this is not bootstrap standard The standard would be in item.php
le="color: #000000"><?php $xoopsTpl->assign('categoryPath', '<li>'.$item['categoryPath'] . '</li><li> ' . $item['title'].'</li>');
and in category.php
le="color: #000000"><?php $xoopsTpl->assign('categoryPath', '<li>'.$category['categoryPath'].'</li>');

4
Zap_English
Re: Small problem/error with xBootstrap

That fixed it/ Thanks!

5
Zap_English
Re: Small problem/error with xBootstrap

Quote:

Bleekk wrote:
But this is not bootstrap standard


I didn't make any changes. That's how it came out of the box

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!