![]() |
ok, cool. Thanks, I figured out how to edit the MASTER STYLE via debug nad add the template all skins. I have it set to only let logged in regs see it, and made my page load from a "forum" link only visable to usergroups, however any reg and logge din user can actually access it if they know the url.
I;ll search, thanks. --------------- Added [DATE]1334899949[/DATE] at [TIME]1334899949[/TIME] --------------- found it, thanks. |
Can anyone either direct me to the appropriate post, or tell me how I can execute PHP code in these custom pages?
I searched through this article and the forum itself, can't find any solid info on how to do this. |
By putting it into the php file? Right after "// ###### YOUR CUSTOM CODE GOES HERE #####"?
|
vB4.1.12
successfully created php file successfully created template I'm using this as a custom page in my CMS (long explanation that's not pertinent) but instead of having the 'Forum' tab 'highlighted'/active and the forum navbar links I need to have the 'Home' tab 'highlighted'/active and the 'home' navbar links. Also in Firefox v11.0 everything displays correctly, however in IE v9.0.8112.16421 the log-in in the header is whacked out and the 'page' is fluid instead of adhering to the fixed width as defined in my stylevars. (link to page in above paragraph) |
Thank you very much for describing how to make a custom page. I made it and everything worked like a charm! I have a question. I made a new nav tab "Links" and pointed it to my custom page links.php. How can I make that when I'm in, the "Links" tub would be highlighted, not the "Forum" as it is now. My site is www.oregonfishingforum.com
Thanks in advance! |
Quote:
|
Hi Lynne, Would you answer one question for me? Im not sure I fully understand how to call additional templates in to existance.
I have the "custom home" template setup with your settings looks great of course. I then added another template, its a slideshow slider. How do I call the "slideshow" template into the" custom home" template above the vb:raw footer? What exaclty would I need to do to the php file? I know the slider works because if I add it to the custom home template I can see it, but I would rather have it in its own template for easy editing when I apply new pictures and links. |
Quote:
|
Quote:
$newTemplate = vB_Template::create('slideshow'); $newTemplate->register('variable1', $somearray); $newTemplate->register('variable2', $variabletwo); $slideshow = $newTemplate->render(); then register slideshow for use in the "custom home" template. Quote:
|
Quote:
|
All times are GMT. The time now is 11:10 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:
|