![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Exclude a category from displaying on main page?
How could I set a particular category to not display posts on the mainpage? I would like for it to only display posts in that category when you go to that category's page. Hope this makes sense...;)
|
| |||
|
I am still looking for a way to do this. Anyone have any ideas?
|
| |||
|
Would be interested in this too.
|
| ||||
| I need this too
bump, I need this too
|
| |||
| Has anyone done this yet?
Would love to be able to do this
|
| |||
|
Don't have a tested solution herre but you could maybe use $link_category for this. The link_summary.tpl begins like this Code: <div class="news-summary" id="xnews-{$link_shakebox_index}"
{if $link_shakebox_currentuser_reports gt 0}
style="opacity:0.3;filter:alpha(opacity = 30)"
{/if}
>
Code: <div class="news-summary" id="xnews-{$link_shakebox_index}"
{if $category_href neq "" &&& $link_category eq "category name here"}
style="display: none;"
{/if}
{if $link_shakebox_currentuser_reports gt 0}
style="opacity:0.3;filter:alpha(opacity = 30)"
{/if}
>
|
| |||
|
yeah would look forward to a working solution. This would be interesting...
|
| ||||
|
I also would like to implement this. I wonder if setting up a second pligg site that looks the same as the first, using the same database but a different category table would be easier, but I am too nooby to do this alone. Anyone out there with the skills? You are much appreciated.
__________________ SoulB.us--Where All Good Comes Together |
| |||
|
Well it hasn't been too vbad what I tried six months ago. Anyway this quickfix could work bit better. Link_summary.tpl Code: <div class="news-summary" id="xnews-{$link_shakebox_index}"
{if $pagename eq "published" &&& $link_category eq "Category name here"}
style ="display: none;"
{/if}
{if $link_shakebox_currentuser_reports gt 0}
style="opacity:0.3;filter:alpha(opacity = 30)"
{/if}
>
There is few problems that I could maybe fix if I have time to sit down and think. 1. This excludes also stories from the category's own page because category pages are part of Published page. 2. I think the hidden stories are visible on source code so this is not too secure way to limit people from seeing these stories. 3. These stories are visible on search and user pages. You can limit these pages out by adding them to the list. Remember that this works only if your front page is the default page with published stories. And remember to type the category's name as it's written on your story pages. If your category is Animals, remember to use the capital A also on the code. Let me know if this works better. Last edited by Andtony; 07-17-2008 at 03:58 AM.. Reason: Fixed the code |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Control of meta description - categories | Divisive Cotton | Suggestions | 64 | 11-23-2008 07:37 PM |
| Can you post category contents on the main page? | qwik3r | General Help | 0 | 11-06-2007 12:50 AM |
| RSS import works but on on main page but feed not added to category and ... | doit | Bug Report | 2 | 06-27-2007 02:24 PM |
| Displaying specific 'extra fields' based on category selected on Submit page | aaronpais | General Help | 0 | 05-16-2007 03:41 PM |





Linear Mode

