SimplePortal
Customization => Custom Coding => Topic started by: phantomm on November 30, 2011, 04:51:50 PM
-
How to move 'Bottom Blocks' above Info center?
-
Can you explain better what do you want in order for me to be able to help? :)
-
I added in bottom block Shoutbox, and I want to have this SB above info center
-
Do you wish to move the block from one of Simple Portal's block lists to another one?
Or do you wish to use a Simple Portal block in a position where Simple Portal has no panel?
-
I know that my english s*cks, but... :)
I wrote earlier - I want to move block/panel/shoutbox (whatever will be easier for you) with shoutbox (from SP) above info center. Don't know what more can I say..
-
I know that my english s*cks, but... :)
I wrote earlier - I want to move block/panel/shoutbox (whatever will be easier for you) with shoutbox (from SP) above info center. Don't know what more can I say..
Navigate to file: Themes/default/BoardIndex.template.php
(same edit to any theme that has its own equivalent file)
Find:
template_info_center();
Replace with:
/* template_info_center(); */
Create a bottom php block with the following:
global $sourcedir;
@require_once($sourcedir.'/BoardIndex.php');
BoardIndex();
template_info_center();
Set the block with the following:
- Advanced Options -> Select Actions -> Check off Forum
- In Custom Body Style, enter the following: width:100%;
- Check off No Title
- Check off No Body
You will then be able to put it in the order you wish.
-
Or you could try moving both of these blocks in the header blocks list, so they would be at the top of the page.
Then you could put the shoutbox before the custom php block with the info center.
-
@Underdog, thank you! That's exactly what I wanted :)
@AngelinaBelle, I don't think that I understand what do you mean.. but instructions from Underdog solved my problem ;)
-
I am glad Underdog understood you better than I did.
Regards!
-
Hi,
I've followed the steps above to successfully locate the shoutbox above the Info Center by adding the Info Center to a block but it is slightly out of line with the rest of the forum as seen in the pic attached. Is there a way of adjusting the padding to shift it a few pixels to the left and if so, how?
Thanks in advance.
-
Lout
Please do not invade another users topic specially when their topic is solved.
You would do better to start a fresh topic otherwise it will be missed.
-
The topic isn't actually marked as solved though, additionally my question directly relates to the posts previously, however have it your way, I'll create a new topic and use up further server space by uploading the attachment again.
-
Lout -- this is another way of tackling the same problem.
A link to your page would help us understand better.
-
Hi Angelina,
It's fine - I created another topic here (http://simpleportal.net/index.php?topic=11455.0) but worked out the solution myself. I did post the solution though in case it helps anyone else. 8)
-
I'm glad you figured it out. Thanks for posting the solution. It might help someone else.