A quick news question...
Posted: Fri May 21, 2010 4:48 pm
Hi, I have 2 categories in my news module. One labeled 'home' - which is for any news relative to my website, itself - and the other labeled 'blog' - I'm gonna assume you can guess what that is for.
On my index page, I have used the following code {news detailpage='News' category='home'}, which works perfectly bringing up the summary and directing the full article to my "News" page. I also took the liberty of creating a link to the "News" page in my navigational bar, just in case someone wanted to go straight to the "News" page, and I used this code: {news articleid="-1" action="detail"} to show the full article. That works perfectly!
But here is my problem. I am trying to do the same with my blog. On one seperate page, I have the summary of my blog, using the same code: {news detailpage='Blog' category='blog'} and like the "News" page, "Blog" has a link in the navigational bar, except in the "Blog" page, it shows the Home News category in full.
So if that makes any sense, is there a way to choose what category is shown in full detail on the page of your choice?
On my index page, I have used the following code {news detailpage='News' category='home'}, which works perfectly bringing up the summary and directing the full article to my "News" page. I also took the liberty of creating a link to the "News" page in my navigational bar, just in case someone wanted to go straight to the "News" page, and I used this code: {news articleid="-1" action="detail"} to show the full article. That works perfectly!
But here is my problem. I am trying to do the same with my blog. On one seperate page, I have the summary of my blog, using the same code: {news detailpage='Blog' category='blog'} and like the "News" page, "Blog" has a link in the navigational bar, except in the "Blog" page, it shows the Home News category in full.
So if that makes any sense, is there a way to choose what category is shown in full detail on the page of your choice?