Cool, waiting for further instructions.
|
im confused - how do i make the navbar i have included in my page change to show your status as logged in?
|
Quote:
I do have a question, how do I have "Who is online" show the location. IE: Gio "Unknown" main.php To Gio Test Page test.php |
I THINK i know how to do that, but i need to double check somthing ^_^
|
Quote:
|
What is the recommended way to install/upgrade the series of templates used with a hack? (I know htl deals with this but...) Installing the templates manually is a pain and error prone, as is asking the user to go to the admin cp and upload the xml file.
How does one create a new template group? I imagine one has to install/overwrite the templates in the base style(s). As a hack is being developed (and templates changed), one also has to be sure that any modified templates in the main and other styles are flagged. I'm sure that tips on these points would be most welcome. |
Edit: Sorry I got told off for posting in the wrong forum.
I fixed the problem and to simply make a new page which utilises existing stylesheets and headers, technically all you need to do is: 1. Create Custom Template with everything you Require - Ensure you include your header, footer etc references, shown below. PHP Code:
PHP Code:
|
Quote:
|
Hi, I am making a mod and im new to VB but Im a fast learner.
I want to load a template called (test) inside test i want to put rows from a db table (test) with value1|value2|value3 i want to print the 3values for each row in the table and display them in the html defined in the (test2) template... and then load the rest of the (test) template. Is this possible? Another question is: Would cases be suitable rather than all the ifs? or are ifs better? thanks for help. |
Sorry for the stupid question -
How does one pass a variable from a php script TO the template? I've got a file, page.php, that includes the basic instructions in the first post in this thread, ending with (eval('print_output("' . fetch_template('my_template') . '");'); It works great - 'my_template' contains $header, some html, $footer, and it renders the page as expected. However, in page.php I also define a variable $output = "some output"; I put $output in 'my_template' but it does not print out "some output" as expected. Again sorry I'm probalby out of my legue here but if there's an easy way to do this please let me know! TIA! |
All times are GMT. The time now is 09:52 AM. |
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:
|