![]() |
Forum hook: global_start setting footer template variable I have this piece of code. The header works ok, the footer does not. For some reason the $RightWidth variable does not seem to get set in the footer template. Code: if (stristr($_SERVER['REQUEST_URI'], 'calendar') === FALSE) { $MainWidth = '73%'; $XWidth = '23%'; } else { $MainWidth = '100%'; $XWidth = '0%'; } vB_Template::preRegister( 'header', array('MainWidth' => $MainWidth )); vB_Template::preRegister( 'footer', array('RightWidth' => $XWidth )); Any ideas? |
الساعة الآن 01:53 AM |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By
Almuhajir