Webmastersite.net
Register Log In

How to display the content?
but not the category itself

Comments on How to display the content?

mc19
Forum Regular

Usergroup: Customer
Joined: May 14, 2006

Total Topics: 41
Total Comments: 103
mc19
Posted Jun 21, 2007 - 3:25 AM:

Hi,

I get a toplist showing data from a specified category, and now I want to hide this category from the public.

I tried hide the category option and/or removing the guest permission of viewing category, but this also disable the data of this category from guest view.

I also tried the if condition, but it doesn't work.
- <IF {CID} is 795>display categories</IF>

Any help?

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jun 21, 2007 - 6:31 AM:

Hide the category, and when generating your toplist specify to include hidden items.
mc19
Forum Regular

Usergroup: Customer
Joined: May 14, 2006

Total Topics: 41
Total Comments: 103
mc19
Posted Jun 22, 2007 - 7:58 AM:

I hide the category id 792 and tried the following toplist, but not working.

<CONFIG>links,rand(),5,descending,catid=792,0,0,1</CONFIG>

how to include items from hidden category?

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jun 25, 2007 - 9:43 AM:

Please use the toplist generator, it works when you use it. It gives me
<!-- BEGIN TOPLIST 5 -->
<CONFIG>links,rand(),5,descending,catid=8,,,0,1,0,0,0,0</CONFIG>
{LINKTITLE} - test <br>
<!-- END TOPLIST 5 -->
which indeed shows the links in my hidden category.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.