![]() |
Adding a new page
Hi people
I found this: Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> Code:
<?php Also, I would like to have it read the names of some other templates that are used within, can anyone shed some light please? |
Quote:
And try c-prompts extra page driven by forum templates hack to do this if you haven't allready seen it :) |
Hi NTLDR
Thanks for the reply! Regarding: Quote:
I have searched for the recommened therad in the hacks db but nothing came up (I also tried combinations etc., and have also searched on c-prompts in the members db in the hopes that, like yourself, there would be a libnk in the sig but both searches came up empty. |
diades - your code should work, as long as you name the custom template correctly - make sure the name is "aboutmain". Make sure "aboutmain" is in the all your templatesets especially your default templateset.
|
Hi Erwin
"Make sure "aboutmain" is in the all your templatesets especially your default templateset." I actually have this: Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> And links.php3: Code:
<?php "{forumlink}/links.php3?s="> where links is the master page template. I am only using it on one template at the moment to get it operational but, yes, I will naturally spread it accross when it is. |
Hi Guys
Would it help if I posted the script/markup that I am actually using? |
If $mainscript and $preloads are templates being called, you need to define these variables in the php file using dooutput.
|
Hi
No luck so far! We found c_prompts hack eventually and, after trying mine to no avail, I decided to use that hack verbatim the only difference being: <p>Privacy Test</p> as content all that I get is: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD> <BODY></BODY></HTML> We are running 2.2.7 if that makes any difference |
We sorted thanks, used a different method
|
All times are GMT. The time now is 07:33 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:
|