Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Nov 2009
    Location
    kuching
    Posts
    43
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default 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

  3. #3
    Join Date
    Nov 2009
    Location
    kuching
    Posts
    43
    Plugin Contributions
    0

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

    Quote Originally Posted by kobra View Post
    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

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default 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

  5. #5
    Join Date
    Nov 2009
    Location
    kuching
    Posts
    43
    Plugin Contributions
    0

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

    Quote Originally Posted by kobra View Post
    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

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default 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

  7. #7
    Join Date
    Nov 2009
    Location
    kuching
    Posts
    43
    Plugin Contributions
    0

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

    Quote Originally Posted by kobra View Post
    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

  8. #8
    Join Date
    Nov 2009
    Location
    kuching
    Posts
    43
    Plugin Contributions
    0

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

    Any1 here can assist?

    Regards,

    Andrew

  9. #9
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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.
    Last edited by gjh42; 1 Dec 2009 at 10:11 AM.

  10. #10
    Join Date
    Nov 2009
    Location
    kuching
    Posts
    43
    Plugin Contributions
    0

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

    Quote Originally Posted by gjh42 View Post
    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

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 How do I change the font colour for the text on contact us page ect
    By arthena in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Nov 2013, 06:02 PM
  2. How to I change my contact page?
    By Tamuren in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Mar 2012, 08:10 PM
  3. Replies: 6
    Last Post: 31 Oct 2008, 04:31 PM
  4. Contact page ?! - How do I change my store name and address?
    By AhmetK in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 7 Sep 2008, 04:40 PM
  5. how to change the main page to other than the index page?
    By Laney in forum General Questions
    Replies: 0
    Last Post: 3 Feb 2007, 06:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR