PDA

View Full Version : Adding Recent News or Recent Articles Panel Inside Article Pages


livenomadic
05-10-2005, 06:02 PM
I want to add a "Recent News" Panel to all the individual article pages.

How would I go about doing this?

Chris S
05-13-2005, 01:26 AM
Hi,

It depends on where you want it, but when you view an article it uses the templates/template_name/Articles.html file. So put a placeholder in there (eg %%Panel.RecentNewsPanel%%).

Then you'll need to create a templates/template_name/Panels/RecentNewsPanel.html file (with your basic layout) and a templates/template_name/Panels/RecentNewsPanel.php file..

I'd probably copy the PopularArticles.* files and start from there so you know how the files work etc...

I want to add a "Recent News" Panel to all the individual article pages.

How would I go about doing this?