Any way to put a center block below the main forum body. As I see it, any center block is placed above all the boards.
SMF 1.1.4
TP 0.9.7
There's no way to do that at the current time. You'll need to wait for TP 1.0.
Is there a way to hard code text into the bottom then instead of a center block. I am anxiously waiting for 1.0 it sounds like it can do everything I need it to do.
I ALWAYS want the center blocks below the main area. Any clues how I can recode it to make it do that, or would someone from the team help me with it. I would really apprecaite it. I ALWAYS want the center blocks below the main area. Any clues how I can recode it to make it do that, or would someone from the team help me with it. I would really apprecaite it.
Does anyone know a way to do this? This is the last thing I need to do on this site.
Im sorry to say this again, but IchBin have allready given the answer to your question here, the answer is no, it's to much work so better wait for TP V1 then messing around and try to reinvent the wheel sort of. :-\
Thanks for the answer. i will try to figure out how to post something in the cell through use of a style sheet or find the end of the cell and put a box there. I just need the same text to appear on every page below the main section. I will figure it out somehow. I just figured someone else has already crossed the bridge.
Looking forward to the new version.. sounds awesome!
Thanks for your help!
I figured out how to do it.. Should I post it here or create a snipit, or both please advise.
Shawn
Feel free to post it here.
What are the tags again I use in order to denote code? Is there a list of the different tags I use in a forum? Please let me know.
If you go to the reply screen you'll see there is a # sign in the BBC buttons for code.
In the theme section goto your index.template.php file with in your theme around number 250 find this
echo '<td width="100%" align="left" valign="top" style="padding-top: 10px; padding-bottom: 10px;">';
if($context['TPortal']['centerbar'])
echo '<div>' , TPortal_sidebar('center') , '</div>';
}
function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt , $user_info;
echo '</td>';
Replace it with this..
echo '<td width="100%" align="left" valign="top" style="padding-top: 10px; padding-bottom: 10px;">';
}
function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt , $user_info;
if($context['TPortal']['centerbar'])
echo '<div>' , TPortal_sidebar('center') , '</div>';
echo '</td>';
Thats it. It may be different from theme to theme but I have checked out a couple and it relitively has the same code here. I hope this helps other people.
Remember this only moves the center blocks from the top to the bottom. It does not give you the option from center block to center block.