Do not remember me!
/ / / how to hide or no display category in {content}?

how to hide or no display category in {content}?

hi
how to hide or no display category in {content}?
i want to hide one or two category in main page.
Is possible?
Note : i try to below code but not working.
[not-aviable=showfull][category=1]

News Category

[/category][/not-aviable]

Pl understand, what i say. thanks Added by: in Others on


0

Comments 4

  1. MongKol
    0
    MongKol Currently Offline → 17 November 2015 23:58

    you can't remove anything from {content} tag so I don't think I understand your question...

    but if you only want to remove specific categories from main page then you need to edit shortstory.tpl to specify category so it can be removed from main page but will show normally within category
    [aviable=main]
    [not-catlist=1]
    shortstory.tpl code in here
    [/not-catlist]
    [/aviable] 
    
    [not-aviable=main]
    shortstory.tpl code in here
    [/not-aviable]
     N/A |  37
  2. sultan
    0
    sultan Currently Offline → 18 November 2015 11:46

    hi thanks for reply
    Pl understand my english..
    i have 20 categories in my site.. i don't want display 3 category in main page. What i do?

    give good solution.. i follow it..
    thanks
     4 |  13
  3. MongKol
    0
    MongKol Currently Offline → 18 November 2015 22:33

    I already gsve you solution above. All you need is follow it by open shortstory.tpl and edit it, don't expect me to know how your shortstory.tpl looks like unless you copy and paste it or upload it otherwise there are more than 20,000 themes available for free not to mention ton of custom themes. So if you want copy and paste then stop asking for solution but show me your shortstory.tpl...but the code above is perfect except if you want category 2, 9 snd 15 then use tag
    [not-catlist=2,9,15]
     N/A |  37
  4. sultan
    0
    sultan Currently Offline → 18 November 2015 23:09

    hi mongkal
    working good...
    thanks
     4 |  13

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.