Do not remember me!
/ / / Categories separation

Categories separation

Hi guys!
I was wondering how to separate categories on shortstory using other punctuation instead of commas. Basically I want categories to be like cat1-cat2-cat3 instead of cat1, cat2, cat3 . I hope its an easy answer. Added by: in PHP Questions on


0

Comments 3

  1. dlefaq
    0
    dlefaq Currently Offline → 6 August 2015 23:31

    in dle 10.5, login to dle admin cp and go to system settings > Articles tab and find
    Symbol - uses for the list of categories and sub-categories
    you can specify the symbol you want to use to separate category and sub-category...
     2 |  102
    1. ahmede
      0
      ahmede Currently Offline → 18 August 2015 07:51

      Thanks but unfortunately I run 10.1. Any clue?
       1 |  1
      1. dlefaq
        0
        dlefaq Currently Offline → 20 August 2015 20:58

        open engine/data/modules/show.short.php, show.full.php, show.custom.php find
        $my_cat_link = implode( ', ', $my_cat_link );
        replace with
        $my_cat_link = implode( ' - ', $my_cat_link );
         2 |  102

Information

Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.