![]() |
Custom content while retaining vb header and footer
For one particular page of content, I want to retain the VB header, navbar, and footer --- but in the middle of the page instead of showthread/post I want to be able to display my own non-VB generated content (say for instance, an iframe).
I was thinking there has to be a way to call something, like misc.php?do=custom, and then somewhere I can upload a new Style template that has what I want it to display. There is probably even a way to just call a template directly, but I am having trouble... I am having trouble figuring out how to do this. Would someone be so kind to point me in the right direction? Mike |
you want logicians web templates
|
Quote:
https://vborg.vbsupport.ru/showthrea...ight=logicians I'll check it out! Mike |
You can also create a custom template without using any addons, all it does is wrap it in a frame, here is how I do it -
Go to Style Manager/Add new template, call your template custom_templatename add your code in a frame ie Code:
$stylevar[htmldoctype] Your link will then look like this http://www.yousite.com/forum/misc.php?do=page&template=templatename You can whack that in your navbar or dropdown and away you go. There is an article on it here or at vb.com but I can't find it right now. |
Quote:
Mike |
Ok, I did this but unfortunately the page is just blank. "View source" and it's empty.
I created the new style, I am calling it with misc.php?do=page&template=name... any ideas? Mike --------------- Added 27 Jun 2009 at 15:58 --------------- Ok I fixed it! I wasn't taking the custom_<templatename> literally enough. When you name your template in Style Manager, you literally need to prefix it with "custom_". So if your template name is bob, you need to call it "custom_bob". Then, when you call from misc.php?do=page&template=bob it will work (don't put custom_ here). Thx! Mike |
1 Attachment(s)
One remaining issue. How can I customize the page name shown here for this custom template? I tried searching google for 30 minutes, I think maybe it is in define() but I couldn't figure it out. ??
https://vborg.vbsupport.ru/external/2009/06/8.png Mike |
All times are GMT. The time now is 04:43 PM. |
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:
|