Forums / General Questions / how to change contact us the page to full page?

how to change contact us the page to full page?

Locked

Started by andrewmax81 on 1 Dec 2009, 5:36 AM · Views: 1,174

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
1 Dec 2009, 5:36 AM
#1
andrewmax81 avatar

andrewmax81

New Zenner

Join Date:
Nov 2009
Location:
kuching
Posts:
43
Plugin Contributions:
0

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

1 Dec 2009, 5:41 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

Zen-Venom Get Bitten

1 Dec 2009, 5:46 AM
#3
andrewmax81 avatar

andrewmax81

New Zenner

Join Date:
Nov 2009
Location:
kuching
Posts:
43
Plugin Contributions:
0

Re: how to change contact us the page to full page?

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

1 Dec 2009, 5:48 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

Zen-Venom Get Bitten

1 Dec 2009, 5:52 AM
#5
andrewmax81 avatar

andrewmax81

New Zenner

Join Date:
Nov 2009
Location:
kuching
Posts:
43
Plugin Contributions:
0

Re: how to change contact us the page to full page?

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

1 Dec 2009, 6:00 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

Zen-Venom Get Bitten

1 Dec 2009, 6:36 AM
#7
andrewmax81 avatar

andrewmax81

New Zenner

Join Date:
Nov 2009
Location:
kuching
Posts:
43
Plugin Contributions:
0

Re: how to change contact us the page to full page?

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

1 Dec 2009, 7:33 AM
#8
andrewmax81 avatar

andrewmax81

New Zenner

Join Date:
Nov 2009
Location:
kuching
Posts:
43
Plugin Contributions:
0

Re: how to change contact us the page to full page?

Any1 here can assist?

Regards,

Andrew

1 Dec 2009, 9:08 AM
#9
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

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 thisphp $flag_disable_left = true; $flag_disable_right = true; in this section```php
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 thisphp
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';

1 Dec 2009, 4:21 PM
#10
andrewmax81 avatar

andrewmax81

New Zenner

Join Date:
Nov 2009
Location:
kuching
Posts:
43
Plugin Contributions:
0

Re: how to change contact us the page to full page?

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 thisphp $flag_disable_left = true; $flag_disable_right = true; in this section```php
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 thisphp
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';


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
1 Dec 2009, 4:47 PM
#11
andrewmax81 avatar

andrewmax81

New Zenner

Join Date:
Nov 2009
Location:
kuching
Posts:
43
Plugin Contributions:
0

Re: how to change contact us the page to full page?

andrewmax81:

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

Hi

or any1 mind to explain in more detail?

Thank you in advance

1 Dec 2009, 4:51 PM
#12
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: how to change contact us the page to full page?

That code is all in tpl_main_page.php, as Kobra said:

"FTP to includes/templates/classic/contact_us/tpl_main_page.php"

You don't want to change any files in the /languages/ folder for this.

And please don't just ask the same question again in less than an hour. There are not always people online who know the answer at a given time. Wait a day (unless you find new information about your question), and then if nobody has replied, post a reply with more info about the situation. You may not have given enough info originally to let us answer correctly.

1 Dec 2009, 5:08 PM
#13
andrewmax81 avatar

andrewmax81

New Zenner

Join Date:
Nov 2009
Location:
kuching
Posts:
43
Plugin Contributions:
0

Re: how to change contact us the page to full page?

Hi kobra and gjh42

1st sorry for the rushing

2nd gjh42 thanks for the step by step guildaince and i got it done.

thanks again. ^^