SimplePortal

Development => Feature Requests => Topic started by: AngelinaBelle on March 31, 2010, 09:01:25 PM

Title: Use Templates for Articles, boardNews
Post by: AngelinaBelle on March 31, 2010, 09:01:25 PM
Using a common template for Articles and the boardNews block would make sense. This would allow NOT using class=titlebg for the titles, and make it easier to write a bit of CSS to customize the appearance.
 
Users at my site would like a [Print] button at the top of the article.
The only way I can do this is by modifying PortalBlocks.php and/or Articles.php -- steps I know I will have to re-do at each upgrade. Even if I did ever learn how to package mods.
 
If the template were broken out from the "getting the content" logic, this would be simpler to manage.
Title: Re: Use Templates for Articles, boardNews
Post by: [SiNaN] on April 01, 2010, 09:53:39 AM
It's not viable to use the same template for both due to the way blocks are setup but it'll definitely be a lot lot more easy to modify your blocks with 2.4 version. We are planning some huge changes. ;)
Title: Re: Use Templates for Articles, boardNews
Post by: AngelinaBelle on April 02, 2010, 11:08:19 PM
oooooh. I can hardly wait.
SimplePortal 2.3.8 © 2008-2024, SimplePortal