Forums / Setup & design / Problem with sections and IndexPage

Problem with sections and IndexPage

Author Message

Jan Arve Nygård

Thursday 06 November 2003 5:55:06 am

I have created a News folder because i want to have the latest news on the frontpage. The IndexPage is set to /content/view/full_view_news_folder/2 but it dosen't display the news....if i click on the "News archive" link that is in this node i get all the news listed up correctly.

Anyone have a solutions for this...i think this maybe has something with the parent_node...but how to workaround this so i dont' need to have all the news articles in the root folder, but in the news folder?

Thanks!

Tore Skobba

Thursday 06 November 2003 9:20:50 am

Hmm looking at your url (/content/view/full_view_news_folder/2) I think you must give more information.

Very simple this is how I understand the url (url broken up in parts):
/content --> Viewing content (articles, folders etc..), alternatives are user, media
/view --> View the content
/full_view_news_folder --> The TYPE of view, typicall values are "full", "line" etc. It looks like you have inserted the name of the template in your url.. I.e a better URL for you is probably:
/content/view/full/2/. Which probably is to your root node (node 2=root default), then you must override the full display template for node 2.

It seems as you want such an layout

Root (node 2)
News (node XX)
News articles ....
About or something else

Then to make the News node the frongpage, i.e. alter the IndexPage=/content/view/full/your news node number in "settings/siteaccess/your design/site.ini.append".

Hope this helps you.

Cheers
Tore