This tutorial demonstrates the power and simplicity of Smarty template code by using it to add previous and next buttons to the CMS Made Simple™ News module without any UDT.
The method described here originates from the IDT blog and was written by Manuel in 2012. The tutorial there doesn't work anymore with the latest CMSMS™ releases due to the Smarty scope settings. Beside that the original tutorial was written for the CGBlog module and the next-prev buttons are now included in the module package as you can see here at CMS can be Simple.org.
This updated tutorial will show you the same method that works in the new CMS Made Simple 2.x series, but for modules like the News, Company Directory and others! You might need to change some Smarty variables like $the_entry->moreurl to get the correct URL for that module.
Create a new News summary template, named "prev_next_links", with the content:
In the detail template of the module you should add these lines at the spot you want to have the buttons in the template: