Hi all,
how to change the "contact us" to full page when u click it? as the original template have side box with it.
thanks regards,
Andrew
Hi all,
how to change the "contact us" to full page when u click it? as the original template have side box with it.
thanks regards,
Andrew
In your template dir - creatye a folder named "contact_us"
Inside of it place a copy of tpl_main_page.php edited to turn off left and right side boxes
How is detailed in the comments in that file
Zen-Venom Get Bitten
Where is your site?
Add "ONE" space to break the link as in
http: //www.kobrawd.com/demo
Zen-Venom Get Bitten
Use FTP and create a folder named "contact_us" at
includes/templates/classic/contact_us
Copy/FTP to your local a copy of
/includes/template_default/common/tpl_main_page.php
Open the file and read the comments - make your edits and save
FTP to includes/templates/classic/contact_us/tpl_main_page.php
Zen-Venom Get Bitten
Any1 here can assist?
Regards,
Andrew
You can ignore most of the file for your purposes. The only thing you need to pay close attention to is the section mentioning $flag_disable_left and $flag_disable_right. Paste thisin this sectionPHP Code:
$flag_disable_left = true;
$flag_disable_right = true;
to get thisPHP Code:
if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
$flag_disable_right = true;
}
$header_template = 'tpl_header.php';
$footer_template = 'tpl_footer.php';
Then save the file and FTP it to /includes/templates/classic/contact_us/ on your server.PHP Code:
if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
$flag_disable_right = true;
}
$flag_disable_left = true;
$flag_disable_right = true;
$header_template = 'tpl_header.php';
$footer_template = 'tpl_footer.php';
Last edited by gjh42; 1 Dec 2009 at 10:11 AM.
Hi Gjh42,
1st i dont there is any of this coding available in those i edited.
/public_html/test1/includes/languages/english/contact_us
/public_html/test1/includes/languages/english/html_includes/classic/define_contact_us.php
those above coding is in which file? sry i really dont understand
Bookmarks