Moving info center to the top of the index page

Started by BlackPowderSmoke, June 11, 2014, 10:51:37 AM

Previous topic - Next topic

BlackPowderSmoke

I am using curve theme and my version is 2.0.7 and would like to relocate the info center to the area just below the header. I sure would appreciate any help.

Matthew K.

Are you wanting this to show up on every page...or just the boardindex still, but at the top?

BlackPowderSmoke

I am working on this for a friend, he asked for the front page, but I think he would prefer every page.

mashby

It's a bigger effort if it's every page. How about confirming with your friend first? It's pretty easy to move the Info Center to the top on just the main page. I think it would be odd to have that type of thing on every page. Just my opinion anyway.
Always be a little kinder than necessary.
- James M. Barrie

BlackPowderSmoke


BlackPowderSmoke

Front page is sufficient. I am glad I took the advice given and did not continue to make assumptions.

mashby

OK, cool. In Themes/default/BoardIndex.template.php, you'll find this bit:
template_info_center();

You'll want to move that line up to something like line 16, or more like right after these lines:
function template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;

That should move it to the top of the main page.
Always be a little kinder than necessary.
- James M. Barrie

Matthew K.

If you attach your BoardIndex.template.php file, one of us can make the change for you too :)

BlackPowderSmoke

Got it. I want to thank mashby and everyone that responded. IT WORKS!!!  :D

Advertisement: