|
#1
|
|||
|
|||
|
Add page for template.
Hi,
I copy my about_template.html page to made a new page who called test.html. i add in the index.php page on pixelpost : // Added ability to use header and footers for templates. They are not needed but used if included in the template $header = file_get_contents("templates/".$cfgrow['template']."/header.html"); $footer = file_get_contents("templates/".$cfgrow['template']."/footer.html"); $test = file_get_contents("templates/".$cfgrow['template']."/test.html"); // You can now add any template you want by just adding the template and a link to it. For example, // ?x=about will load the template about_template.html I mean thats there is something failed on the line up. If you could help me, thanks. I just want to add new page on my website Hush. Ps : sorry for my english. |
|
#2
|
||||
|
||||
|
you don't need to edit the code or modify it!
just add a file test_template.html to your template folder with the tags you want!
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
|
#3
|
|||
|
|||
|
displaying image on added template page
hello all, i am new to php and sql, but im getting pretty good with html and css. i tried to make my own template page, and although the template is applied (the css, html, etc) i copied the image_template exactly but the most recent image does not display. does the image only display on the image_template page? how can i change this? thanks so much
http://giantmecha.com/new/pixelpost/index.php?x=img |
|
#4
|
||||
|
||||
|
yeah only the image_template can show that change the about line
134 from PHP Code:
PHP Code:
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
|
#5
|
|||
|
|||
|
Oh yes ok, just add _template.html after the name of my page.
thanks! |
|
#6
|
|||
|
|||
|
it worked! thanks so much for your help...you da bomb!
|
| Post Reply |
| Thread Tools | |
|
|