|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
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:reRegister( 'header', array('MainWidth' => $MainWidth )); vB_Template:reRegister( 'footer', array('RightWidth' => $XWidth )); Any ideas? __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |