how to change contact us the page to full page?
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
Re: how to change contact us the page to full page?
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
Re: how to change contact us the page to full page?
Quote:
Originally Posted by
kobra
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
Hi kobra,
i dont really understand wat u say here, as i am totally new to webprogramming can u guilde meby step by step?
tnx
Re: how to change contact us the page to full page?
Where is your site?
Add "ONE" space to break the link as in
http: //www.kobrawd.com/demo
Re: how to change contact us the page to full page?
Quote:
Originally Posted by
kobra
Where is your site?
Add "ONE" space to break the link as in
http: //www.kobrawd.com/demo
http://www.all-in-1-shop.com/test1
Re: how to change contact us the page to full page?
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
Re: how to change contact us the page to full page?
Quote:
Originally Posted by
kobra
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
Hi Kobra,
I have done the creation of folder and i have also make a copy of tpl_main_page.php to includes/templates/clasis/contact_us. the problem is i dont really understand the full script as i am still beginer.
Kindly assist
Re: how to change contact us the page to full page?
Any1 here can assist?
Regards,
Andrew
Re: how to change contact us the page to full page?
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 this
PHP Code:
$flag_disable_left = true;
$flag_disable_right = true;
in this section
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;
}
$header_template = 'tpl_header.php';
$footer_template = 'tpl_footer.php';
to get this
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';
Then save the file and FTP it to /includes/templates/classic/contact_us/ on your server.
Re: how to change contact us the page to full page?
Quote:
Originally Posted by
gjh42
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 this
PHP Code:
$flag_disable_left = true;
$flag_disable_right = true;
in this section
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;
}
$header_template = 'tpl_header.php';
$footer_template = 'tpl_footer.php';
to get this
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';
Then save the file and FTP it to /includes/templates/classic/contact_us/ on your server.
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