Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 10th, 2011, 04:48 PM
badm00n badm00n is offline
 
Join Date: Oct 2010
Posts: 39
Default Is it possible to hide particular categories in the category widget?

I know I can hide a category altogether in the factory but I still want it's normal functionality. I just want it hidden from the category widget display if possible.

Thanks.
  #2  
Old January 10th, 2011, 04:53 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

I don't think this is possible.
  #3  
Old January 15th, 2011, 04:52 PM
badm00n badm00n is offline
 
Join Date: Oct 2010
Posts: 39
Default

Could you make an if statement in the widget view that says

[category.if id='category_id'] then not spit on an <li> ?
  #4  
Old January 15th, 2011, 04:58 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

That's a good idea. Here's the statement you would need. I just tested it and it works perfectly. This is where the category to exclude has category ID 514577.

PHP Code:
<?php if ($category->id != 514577) { ?>
<li><a href="...">[category.name]</a></li>
<?php ?>
  #5  
Old January 15th, 2011, 08:31 PM
badm00n badm00n is offline
 
Join Date: Oct 2010
Posts: 39
Default

YESS! perfect. Thanks so much.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:24 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.