![]() |
You'd need much more than a simple variable. You basically need the code to get all the forum data from database.
|
Quote:
|
Quote:
|
Quote:
I can see that I can the style_fetch hook & a few other locations to have a constant meta tag override but I'm not seeing how to get a dynamic one in there for a custom page. :o Thanks |
Just add this to your test.php page:
PHP Code:
|
Quote:
|
For some reason all of my text goes above the template, above the template header. I am putting my coding after:
// ################################################## ##################### // ######################## START MAIN SCRIPT ############################ // ################################################## ##################### $navbits = construct_navbits(array('' => 'Test Page')); $navbar = render_navbar_template($navbits); // ###### YOUR CUSTOM CODE GOES HERE ##### $pagetitle = 'This is a Test Page'; |
You should have no echo statements in your coding or it will go above the template header. All output in your page should be assigned to a variable, that variable registered for use in a template, and then the variable put in the template where you want your output to show.
|
how to support php
|
I know how to create a template but how do you "create a new file"?
|
All times are GMT. The time now is 09:59 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:
|