View Full Version : Missing "collapse_collapsed_collapsed.png"
Adem GENĒ
02-08-2010, 09:07 AM
Hi,
For vBadvanced CMPS
Missing "collapse_collapsed_collapsed.png"
Brian
02-08-2010, 01:20 PM
collapse_collapsed_collapsed.png should not be an image that's used... Where are you seeing this at?
Adem GENĒ
02-09-2010, 10:00 AM
Module:
Collapse Module by Default: Yes
AND
Portal
5665
Brian
02-10-2010, 01:34 PM
Ahhh, thank you for pointing this out. Looks like you should be able to correct the issue by looking in your 'adv_portal_module_wrapper' template for this code:
<div class="blockbody" id="module{vb:raw mods.collapse}">
Replace with this:
<div class="blockbody" id="module{vb:raw mods.collapse}"<vb:if condition="($mods['useshell'] & $vba_shellint['collapse'])"> style="display: none"</vb:if>>
Then you'll need to look in your includes/vba_cmps_include_top.php file for this code:
$templater = vB_Template::create(($mods['altshell'] ? $mods['altshell'] : 'adv_portal_module_wrapper'));
$templater->register('mods', $mods);
$templater->register('vba_style', $vba_style);
$templater->register('modulehtml', $modulehtml);
$home[$mods['modid']]['content'] = $templater->render();
And repalce with this:
$templater = vB_Template::create(($mods['altshell'] ? $mods['altshell'] : 'adv_portal_module_wrapper'));
$templater->register('mods', $mods);
$templater->register('vba_style', $vba_style);
$templater->register('modulehtml', $modulehtml);
$templater->register('vba_shellint', $vba_shellint);
$home[$mods['modid']]['content'] = $templater->render();
Adem GENĒ
02-10-2010, 05:02 PM
Thanks, I changed
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.