SimplePortal
Development => Feature Requests => Topic started by: Chen Zhen on May 28, 2010, 09:40:00 AM
-
When creating/editing blocks, the 'Forum News' block seems to be the only one missing the style options at the bottom.
-
I guess you mean BoardNews? That's because BoardNews' template does not support those style options. Since this behavior is just what SimplePortal's developers intended, it's not a bug. Even though the inconsistancy makes it feel like one. It's a missing feature.
My understanding, from various posts in support, feature requests, and the team blog, is that version 2.4 will have some improved BoardNews and PortalArticles styling features.
I requested something along the lines of "easier options for styling BoardNews and PortalArticles" once myself http://simpleportal.net/index.php?topic=5033.msg30540#msg30540 (http://simpleportal.net/index.php?topic=5033.msg30540#msg30540)
------
You might enjoy seeing how the sausage is made. Those BoardNews blocks are not actually blocks. So they are not stylable by the blocks template (see [SiNaN]'s blog on Blocks in Blocks http://simpleportal.net/index.php?topic=5332.0 (http://simpleportal.net/index.php?topic=5332.0) for how that is done). They are actually styled within PortalBlocks.
-
Yes, I meant Board News... My apologies.
Well, the style options for the title are actually what I am specifically referring to and these can be made available.
I like to center the text, have certain fonts, etc.. So this was the one block type I wasn't able to do this with without a manual edit so I thought I'd mention it.
ie.
echo '
<div class="tborder">
<table class="sp_block">
<tr class="catbg" style="text-align:center;">
and
echo '
<h3 class="catbg" style="text-align:center;">
... manual edits from /Sources/PortalBlocks.php ... function sp_boardNews($parameters, $id, $return_parameters = false)
tr (core) and h3 styles for title are adjustable.
-
I agree.
That's a good feature request -- style options for BoardNews title as well as for boardnews item titles and bodies.