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: 941

  • Since: 2002/12/14


open modules/publisher/item.php

find this (line 222)
$xoopsTpl->assign('categoryPath',$item['categoryPath'] . '> ' $item['title']);

change to
$xoopsTpl->assign('categoryPath','>'.$item['categoryPath'] . '> ' $item['title']);

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

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


But this is not bootstrap standard The standard would be in item.php
$xoopsTpl->assign('categoryPath''
  • '.$item['categoryPath'] . '
  •  ' $item['title'].'
  • '
    );
    and in category.php
    $xoopsTpl->assign('categoryPath''
  • '.$category['categoryPath'].'
  • '
    );

    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

    Who's Online

    249 user(s) are online (65 user(s) are browsing Support Forums)


    Members: 0


    Guests: 249


    more...

    Donat-O-Meter

    Stats
    Goal: $100.00
    Due Date: Nov 30
    Gross Amount: $0.00
    Net Balance: $0.00
    Left to go: $100.00
    Make donations with PayPal!

    Latest GitHub Commits