Quote:
|
You're doing SOMETHING wrong. Can you post the .php and template codes you're using?
|
hi all
I want to make the header and footer but the content of the page is from another site can anyone explain this 2 me easily as I'm not professional @ all |
Is this up to date with the latest VB? (3.8.3)
Or do I need to do some extra modifications? :) --------------- Added [DATE]1246386340[/DATE] at [TIME]1246386340[/TIME] --------------- In addition, would it be a good idea to put PHP logic into the VBulletin plugin system? Or should I just put them in this new php page? |
This worked great! Thank you.
|
1 Attachment(s)
Hello
I'm trying to design one custom page while keeping vbulletin header, navbar and footer on it. I've referred to following topics : https://vborg.vbsupport.ru/showthrea...ight=logicians https://vborg.vbsupport.ru/showthread.php?t=217075 http://www.vbulletin.com/forum/showthread.php?t=197563 Here is the custom page i wanna have headers and footers on. http://www.projectsplanet.org/forums/testverify.php Enter code 1234test to test above page. When i try to put my code as follows in custom template created in Vbulletin admin CP, i'm getting error : Quote:
Code:
The following error occurred when attempting to evaluate this template: Please check attached php file testverify.php Please tell me how do i put vbulletin header, navbar and footer there. Following are the contents of attached testverify.php if you do not wish to download it : Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Detailed instructions are much appreciated. Regards |
You should follow Gary King's article that you linked to. In it, you'll see that you don't do your php page like you have written above at all. Your template will be fine as long as you don't put php in it. Start with the stuff in Gary's article and then add your custom code to it.
|
Is there any way i can do PHP with this like
Quote:
|
Quote:
You are supposed to do this: something.php Code:
set some variables Code:
header and navbar |
Thank you my good Sir. Ill try that out
Edit - What do you mean output of PHP code, the HTML form? |
All times are GMT. The time now is 11:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|