We use cookies to ensure that we give you the best experience on our website. We also use cookies to ensure we show you advertising that is relevant to you. If you continue without changing your browser settings, we will assume that you are happy to receive all cookies on this website.

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.

How to use

Create a new News summary template, named "prev_next_links", with the content: