I just started using CMS Made Simple a few weeks ago and it has been great! But now I have run into some difficulties with the News module that I hope you guys can help me with.
I'm currently building a site, for a client, that will use the News module in two places. First off the News Summary will be present on a sidebar of all pages through the template.
Code for News Summary sidebar in the template:
Code: Select all
<div id="sidebar">
<h2>Latest news</h2>
{news number='3' detailpage='home' dateformat='%d-%m-%Y' moretext="read more"}
</div>
Entry in the "Content" field of the Home content page:
Code: Select all
Welcome to our home page. (Description about the business, etc etc).
News
{news number='2' action='detail' detailpage='home' dateformat='%d-%m-%Y' moretext="read more"}
Now I have two problems with this!
1) Doing "{news number='2' action='detail' detailpage='home' dateformat='%d-%m-%Y' moretext="read more"}" just shows the details for the first news item added (note: NOT the latest one!) and not the two latest ones? Why?
2) When a user goes to a subpage and decides to click a on a news item in the sidebar he gets directed back to the "Home" content page. The news details shows up for that news item BUT the "Welcome to our home page" text is gone! How do I solve this?
Thank you in advance for any help,
z00man


