If you would like to add custom pages (including header / footer of your forum) do the following:
Add a new template in the style of your choice. You can name it whatever you want, it has to have the prefix
though.
You are then able to call the custompage using
http://<domain>/misc.php?do=page&template=test2
Change the red code with your domain and the blue code with your template name accordingly.
Lets make an example.
Admincp > Styles & Templates > Style Manager > In drop down choose Add New Template
Name the template for example custom_google
Use the following code :
As you can see, I just use an iframe for you to see any results.
Now use your web-browser and go to
http://<domain>/misc.php?do=page&template=google
And change the domain to your own.
See attached a screenshot how the above example would look like. Also attached a default html code for a template.
Add a new template in the style of your choice. You can name it whatever you want, it has to have the prefix
Code:
custom_
You are then able to call the custompage using
http://<domain>/misc.php?do=page&template=test2
Change the red code with your domain and the blue code with your template name accordingly.
Lets make an example.
Admincp > Styles & Templates > Style Manager > In drop down choose Add New Template
Name the template for example custom_google
Use the following code :
Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> $headinclude <title>$vboptions[bbtitle]</title> </head> <body> $header $navbar <!-- Custom Code Start Here --> <center> <iframe src="http://www.google.com" width="80%" height="400"></iframe></center> <!-- / Custom Code Ends here --> $footer </body> </html>
Now use your web-browser and go to
http://<domain>/misc.php?do=page&template=google
And change the domain to your own.
See attached a screenshot how the above example would look like. Also attached a default html code for a template.
Comment