We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

possible to use one template to show news and archived news?

How Do I?

Riverboy's avatar
Riverboy
2,993 posts
10 years ago
Riverboy's avatar Riverboy

Hello hello hello!

This might sound silly but because I havent ever done this before, I would love to get some ideas and help how I could make the following possible:

I have one channel called ‘news’. I have only one template in templategroup called ‘news’. (that default index that is).

So that example.com/news is paginated and shows a list of news around the web etc. It has no need to have an “comment” page what-so-ever, I want to keep things simple.

I wish not to use other template to pull out archived news but to show them in the very same template where I roll my daily news stream.

How this can be done when Im using the Archive Month Links tag pair in the sidebar of that page so that those links comes back to example.com/news/2015/10 and so on?

Thanks very much in advance.

       
Riverboy's avatar
Riverboy
2,993 posts
10 years ago
Riverboy's avatar Riverboy

Goddamit, I think this was so simple as dynamic=”yes”…. Tell if I miss something but that does the trick in fast testing.

Geesh if that is all I need to do, tell’s why EE is so awesome…

       
Derek Jones's avatar
Derek Jones
7,561 posts
10 years ago
Derek Jones's avatar Derek Jones

Indeed, and that is the default value of that parameter, so if you do not specify it, it will work that way automatically. 😊

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.