I followed all the instructions in the Quick Tips and Customizations forum for adding a custom page, but I am not getting anything.
I named the template custom_sudoku
The instructions say:
You are then able to call the custompage using
http://<span style="color:red">www.u...rld.com</span>/misc.php?do=page&template=test2
Change the red code with your domain and the blue code with your template name accordingly. (which I did, but where does that code go?)
Then it has this:
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>
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.
Where does the HTML code go? I entered the custom code from the web site that I want to add to my site, but when I use the http:// address I get a blank page.
What do I do now?
I named the template custom_sudoku
The instructions say:
You are then able to call the custompage using
http://<span style="color:red">www.u...rld.com</span>/misc.php?do=page&template=test2
Change the red code with your domain and the blue code with your template name accordingly. (which I did, but where does that code go?)
Then it has this:
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>
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.
Where does the HTML code go? I entered the custom code from the web site that I want to add to my site, but when I use the http:// address I get a blank page.
What do I do now?
Comment