![]() |
Adding Pages
Just wondered if there is an easy way to add pages using the same style as done on the forum
Can I just make a template called "page1" for example in the customer template area and then simply link to page1.php and it come up? Also if that is possible as the froum is in a subfolder of domain.com/forum/ would that page link from domain.com/forum/page1.php or can I have it be domain.com/page1.php or even better domain.com/page1/index.php ? So I basically want to be able to add bits like $header and $footer to other pages to make page creation that bit easier. I'd also like to be able to make the main domain.com use a forum marked news to have a news posting on the front page, any hints tips or where to look for help would be appreciated And I just realised this should have been in the questions forum, so if someone wants to move it there ;] |
<a href="https://vborg.vbsupport.ru/showthread.php?t=62164" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=62164</a>
Except the WOL part, it's still the same in vBulletin 3.5 |
cheers Kirby looks like its just what i was after ;]
|
is there a way to do this outside the forum directory?
|
Yes.
require_once('/path/to/forum/global.php'); |
this is what i have but i cant get it to work outside the forum directory
Code:
<?php |
PHP Code:
|
Quote:
outside the forum ... edit inside the forum ... edit the latter looks exactly the way i want it to look outside the forum, both are using the same 'test' template |
You must adjust the path for the CSS.
|
Quote:
thanks again! |
All times are GMT. The time now is 07:02 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:
|