Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
How to prevent certain category to show up in home page

 

 


webgroup
User

Sep 7, 2006, 11:04 PM

Post #1 of 8 (1987 views)
Shortcut
How to prevent certain category to show up in home page Can't Post

Hi, how can I prevent category #35(example) articles from appearing on the homepage?

Thanks


ChetW
Staff


Sep 8, 2006, 11:15 AM

Post #2 of 8 (1976 views)
Shortcut
Re: [webgroup] How to prevent certain category to show up in home page [In reply to] Can't Post

Hi,

Thanks for the post!

There is actually a couple of ways that you could handle doing this, the link below should help you come up with a solution for this question:

http://www.interactivetools.com/iforum/Products_C2/Article_Manager_F2/Exclude_category%28s%29_from_headlines_and_index_P47210/

This link basically goes over two options, the first being that you could use a server side include to display only certain categories articles on the main page of your website. The second option is a bit of JavaScript that will filter out which categories articles you don' want displayed on your index page. :)

I would suggest giving this link a read through and if you have any questions please don't hesitate to ask!
Cheers,
Chet Woodside - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


webgroup
User

Sep 8, 2006, 12:52 PM

Post #3 of 8 (1975 views)
Shortcut
Re: [ChetW] How to prevent certain category to show up in home page [In reply to] Can't Post

Thanks!


(This post was edited by webgroup on Sep 8, 2006, 2:23 PM)


webgroup
User

Sep 10, 2006, 12:28 AM

Post #4 of 8 (1957 views)
Shortcut
Re: [webgroup] How to prevent certain category to show up in home page [In reply to] Can't Post

I went to that thread and tried that method, but it wont work for me.

Please help.

Thanks


ChetW
Staff


Sep 10, 2006, 3:01 PM

Post #5 of 8 (1947 views)
Shortcut
Re: [webgroup] How to prevent certain category to show up in home page [In reply to] Can't Post

Hi,

Thanks for the follow-up!

I just posted a possible solution on the othe thread which you can see here:

http://www.interactivetools.com/forum/gforum.cgi?post=48933#48933

I basically recommended changing this line of code:


Code
if ('$cat_name_je$' != 'Reggaeton News' && '$cat_name_je$' != 'Reggaeton News')

To this:

Code
if ('$cat_name_je$' != 'Reggaeton News')

So your script should now look like this:

Code
 <!-- templatecell : row_summary -->   
<tr>
<td><p>
<script>
if ('$cat_name_je$' != 'Reggaeton News')
{
document.write("<span class='title'>$cat_name_je$</span><br>");
document.write("$art_name_je$<br>");
}
</script>
</td>
</tr>
<!-- /templatecell : row_summary -->

Give this a try and let me know how it works out for you! If you and other questions feel free to ask :)

Cheers,
Chet Woodside - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


webgroup
User

Sep 11, 2006, 12:24 PM

Post #6 of 8 (1940 views)
Shortcut
Re: [ChetW] How to prevent certain category to show up in home page [In reply to] Can't Post

no luck


webgroup
User

Sep 11, 2006, 3:01 PM

Post #7 of 8 (1937 views)
Shortcut
Re: [webgroup] How to prevent certain category to show up in home page [In reply to] Can't Post

any help?


Donna
Staff / Moderator


Sep 11, 2006, 3:14 PM

Post #8 of 8 (1934 views)
Shortcut
Re: [webgroup] How to prevent certain category to show up in home page [In reply to] Can't Post

Hi there,

Rather than having two threads running about this at the same time, I'll direct you to the other thread you've been commenting on, as it looks like the content is being duplicated on both. Take a look here:

http://www.interactivetools.com/forum/gforum.cgi?post=48948#48948

Donna

--
support@interactivetools.com