![]() |
Force Style on non-forum page?
Hullo,
i?m currently using the following code in the file test_template.php to display a... well... test_template: <?php error_reporting(7); require('./global.php'); eval("dooutput(\"".gettemplate('test_template')."\ ");"); ?> Currently, the content is shown in the style the user has chosen. But is there a way to force a specific style to be shown, just for this page? Something like "dooutput (.getstyle(1));" ;) |
normally you should be able to put $styleid=xx; before the require global.php.
i think it'll work |
Thanks, it worked.
But while i continue to surf the board, it does not return to the default-style the user has chosen. Any way to achieve this, too? |
*push*
Still found no way to reset the style after leaving the specified page. Anyone has an idea? |
All times are GMT. The time now is 07:01 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|