Topic: How to create custom page with sharetronix
To add a new page (like "About Us" or "advertise") for the Sharetronix platform, you can download Example Page and put to use by applying only minor editing ...
Download :
http://up.iranblog.com/Files/c6b6b7539c3d4622862d.zip
---------------
For Make other page [example ADS] :
Rename -> themes/default/html/about.php -> to -> themes/default/html/ads.php
Rename - > system/controllers/about.php -> to -> system/controllers/ads.php
Rename -> system/languages/en/outside/about.php -> to -> system/languages/en/outside/ads.php
Edit -> ads.php file in system/controllers :
<?php
$this->load_langfile('inside/global.php');
$this->load_langfile('outside/about.php');
$D->page_title = $this->lang('about_pgtitle', array('#SITE_TITLE#'=>$C->SITE_TITLE));
$D->terms = trim(stripslashes($C->TERMSPAGE_CONTENT));
$this->load_template('about.php');
?>
---------------
You can Edit "themes/default" to "themes/ThemeName"
--------------
Your Page is : www.Yoursite.com/About or www.Yoursite.com/ads
Good Luck ![]()
Last edited by Nipoto (2010-07-18 23:31:13)


