Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Feb 2010
    Posts
    56
    Plugin Contributions
    0

    Default Re: Editing the "Customer Authorization" page

    Quote Originally Posted by kuroi View Post
    The page is the account status page, so it's the template for that page.

    In respect of suppressing the sideboxes for that page. I'm afraid I can't think of a way to make it any clearer than the explanation and examples that you have already read.
    If i'm honest you haven't really helped me at all other than you said I need to find the template file (not even pointed me in the right direction) and I need to follow some instructions (no explanation of what these mean, even after I advised i'd never coded in php).

    I appreciate you are trying to help but it's not really helping.

    I don't even know what commenting out means.

    I have however managed to find the template file and change the code for the sideboxes to below, however this made no change.

    Code:
    //if (CUSTOMERS_AUTHORIZATION_COLUMN_RIGHT_OFF == 'true') $flag_disable_right = true;
    //if (CUSTOMERS_AUTHORIZATION_COLUMN_LEFT_OFF == 'true') $flag_disable_left = true;
    //if (CUSTOMERS_AUTHORIZATION_FOOTER_OFF == 'true') $flag_disable_footer = true;
    //if (CUSTOMERS_AUTHORIZATION_HEADER_OFF == 'true') $flag_disable_header = true;
    Origional code : -

    Code:
    if (CUSTOMERS_AUTHORIZATION_COLUMN_RIGHT_OFF == 'true') $flag_disable_right = true;
    if (CUSTOMERS_AUTHORIZATION_COLUMN_LEFT_OFF == 'true') $flag_disable_left = true;
    if (CUSTOMERS_AUTHORIZATION_FOOTER_OFF == 'true') $flag_disable_footer = true;
    if (CUSTOMERS_AUTHORIZATION_HEADER_OFF == 'true') $flag_disable_header = true;

  2. #12
    Join Date
    Feb 2010
    Posts
    56
    Plugin Contributions
    0

    Default Re: Editing the "Customer Authorization" page

    I managed to eventually do this myself by reading several other posts and working it out myself.

    For anyone else who is stuck trying to remove sideboxes and not recieving help that would be considered helpful here is what I did.

    Look for the specific page file you need. Found in the below path.

    /root(catalog)/includes/modules/pages/customers_authorization(page you need)/header_php.php

    I edited the following code : -

    Code:
    if (CUSTOMERS_AUTHORIZATION_COLUMN_RIGHT_OFF == 'true') $flag_disable_right = true;
    if (CUSTOMERS_AUTHORIZATION_COLUMN_LEFT_OFF == 'true') $flag_disable_left = true;
    if (CUSTOMERS_AUTHORIZATION_FOOTER_OFF == 'true') $flag_disable_footer = true;
    if (CUSTOMERS_AUTHORIZATION_HEADER_OFF == 'true') $flag_disable_header = true;

    To the following : -

    Code:
    //if (CUSTOMERS_AUTHORIZATION_COLUMN_RIGHT_OFF == 'true') 
    $flag_disable_right = true;
    //if (CUSTOMERS_AUTHORIZATION_COLUMN_LEFT_OFF == 'true') 
    $flag_disable_left = true;
    if (CUSTOMERS_AUTHORIZATION_FOOTER_OFF == 'true') $flag_disable_footer = true;
    if (CUSTOMERS_AUTHORIZATION_HEADER_OFF == 'true') $flag_disable_header = true;

  3. #13
    Join Date
    Feb 2010
    Posts
    56
    Plugin Contributions
    0

    Default Re: Editing the "Customer Authorization" page

    I have now also worked out how to remove the button and the image on this page.

    The button and image are controlled by the following file : -

    /root(catalog)/includes/templates/template_default/templates/tpl_customers_authorization_default.php

    The line that controls the button is (just delete it to remove the button) : -

    Code:
    <div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(CUSTOMERS_AUTHORIZATION_FILENAME) . '">' . zen_image_button(BUTTON_IMAGE_CONTINUE, BUTTON_CONTINUE_ALT) . '</a>'; ?></div>
    The line that controls the picture (just delete to remove) : -

    Code:
    <div id="customerAuthDefaultImage"><?php echo zen_image(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_CUSTOMERS_AUTHORIZATION, OTHER_CUSTOMERS_AUTHORIZATION_ALT); ?></div>
    If you wish to not alter the base code then you would need to copy the file "tpl_customers_authorization_default.php" to the below and edit it there as an overide file : -

    /root(catalog)/includes/templates/<YOUR TEMPLATE>/templates/tpl_customers_authorization_default.php

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v150 Editing the "Check Out" Page
    By DavidWM in forum General Questions
    Replies: 2
    Last Post: 25 Oct 2014, 05:16 AM
  2. Editing the "new products" and "all products" page
    By jtimko in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Dec 2011, 10:39 PM
  3. Editing my shopping cart page - how, if I can't find the "page"?
    By jasong1968 in forum Templates, Stylesheets, Page Layout
    Replies: 25
    Last Post: 15 Oct 2011, 06:21 AM
  4. Editing the "tpl_product_info_display.php" to change the "call for Price" message
    By camospi13 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Sep 2010, 05:50 AM
  5. Editing the "Contact us" page
    By novaeproducts in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Dec 2009, 08:23 AM

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