-
Adding a new page
I am trying to ad a new page to my site , I added the page in the admin panel everything is ok the page loads but I cannot add any script code to the page , just plain HTML. How can this be done? And I would like to know if it should add autoatically a button in the main navigation bar to point to the new added page.
Thanks in advance
-
Re: Adding a new page
You can't add script code page in admin area.
You can add the page link in main menu by editing header.tpl file in template folder.
-
Re: Adding a new page
Thanks for the fast reply , I seartched for the new page created via ftp but it is not anywhere, where could i find the page in order to edit it ?
-
Re: Adding a new page
The admin created pages like
About Us | Help | Advertise | Terms of Use | Privacy Policy
are stored in the database.You can see in phpmyadmin pages field
-
Re: Adding a new page
I would liketo create something liek this person did here http://www.fullporn.tv/livegirls
Create the button the header.tlp something like Cam Girls and link it to a page that opens in the same theme of the site with a cam affiliate. is this possible from admin panel ?
Thanks
-
Re: Adding a new page
If you adding pages in admin area the link will be like
sitename/pages/test.html.
It also show the same theme.But You can't add script code page in admin area.
If you need you can create a new php page.
Create a test.php with the following
Code:
<?php
include("include/config.php");
include("include/function.php");
include("include/language/$language/language.php");
STemplate::display('header.tpl');
STemplate::display('test.tpl');
STemplate::display('footer.tpl');
?>
and also make test.tpl (template folder) page and add the content.
Add test.php link in header.tpl(template folder) file.
Check its ok or not
-
Re: Adding a new page