View Full Version : Modules layout
Brian, how (and where) can I change modules layout in CMPS?
Like attachment:
Thank you
Brian
10-20-2004, 11:14 AM
You're not going to be able to get that many columns, so your best bet would be to edit your 'adv_portal' template and add some of them in there.
What I need to do for insert 'welcomeblock', or 'newsbits' in 'adv_portal' template.
How can I write and where?
By default this templates not visible if I insert as is. '$newsbits' OR '$adv_portal_newsbits' in the 'adv_portal' template
Brian
10-21-2004, 10:12 AM
I haven't tested this, but it *should* work...
Open your forum/modules/welcomeblock.php and look for:
eval('$home[$mods[\'modid\']][\'content\'] .= "' . fetch_template('adv_portal_welcomeblock') . '";');
Replace that with:
eval('$welcomeblock .= "' . fetch_template('adv_portal_welcomeblock') . '";');
(Just replacing the $home[$mods[modid]]['content'] part with a different variable).
Then add $welcomeblock in your 'ADV_PORTAL' template where you would like it to appear.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.