Page 7 of 29 FirstFirst ... 5678917 ... LastLast
Results 61 to 70 of 288
  1. #61
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Responsive Apparel Boutique Template

    Quote Originally Posted by x8ox View Post
    If you wished to turn off the left hand column for the "contact us" and "terms & conditions" pages, find the following block of 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;
    }
    and edit it to read
    if (in_array($current_page_base,explode(",",'contact_us,conditions')) ) {
    $flag_disable_left = true;
    }

    But i couldn't find that code i tried to add it to the global left column code

    Thanks

    Brian
    You could add that code to your template/common/mainpage.php

  2. #62
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Responsive Apparel Boutique Template

    Quote Originally Posted by x8ox View Post
    I think these are related to the template rather than the system

    How can i use a separate set of thumbnails for the listing pages
    might have been earlier version i did it on in the past but im sure
    i had a folder for sm small images in the image folder

    Also how can i disable the left column on certain pages tried to
    use the method for none over ride but no joy it could be me thou lol

    If you wished to turn off the left hand column for the "contact us" and "terms & conditions" pages, find the following block of 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;
    }
    and edit it to read
    if (in_array($current_page_base,explode(",",'contact_us,conditions')) ) {
    $flag_disable_left = true;
    }

    But i couldn't find that code i tried to add it to the global left column code

    Thanks

    Brian
    If you do a search in the faqs section you will find a tutorial about image preparation basics ;)

    You need to ad the code in the includes/templates/override/common/tpl_main_page.php file.

    Thanks,

    Anne

  3. #63
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Responsive Apparel Boutique Template

    Quote Originally Posted by picandnix View Post
    You could add that code to your template/common/mainpage.php
    Yes that is correct, tpl_main_page.php ;)

    Thanks,

    Anne

  4. #64
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Responsive Apparel Boutique Template

    Quote Originally Posted by picaflor-azul View Post
    Yes that is correct, tpl_main_page.php ;)

    Thanks,

    Anne
    That's the one!

  5. #65
    Join Date
    Aug 2011
    Posts
    13
    Plugin Contributions
    0

    Default Re: Responsive Apparel Boutique Template

    Hello

    Yes it's the tpl_main_page.php i tried to mod the code isn't the same as
    the example i tried to add the code from

    <?php
    if (COLUMN_LEFT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_LEFT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) {
    // global disable of column_left
    $flag_disable_left = true;
    }

    if (!isset($flag_disable_left) || !$flag_disable_left) {
    ?>

    <td id="navColumnOne" class="columnLeft" style="width: <?php echo COLUMN_WIDTH_LEFT; ?>">
    <?php
    /**
    * prepares and displays left column sideboxes
    *
    */
    ?>

    <?php
    if (COLUMN_LEFT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_LEFT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) {
    // global disable of column_left
    if (in_array($current_page_base,explode(",",'contact_us,conditions')) ) {
    $flag_disable_left = true;
    }

    if (!isset($flag_disable_left) || !$flag_disable_left) {
    ?>

    <td id="navColumnOne" class="columnLeft" style="width: <?php echo COLUMN_WIDTH_LEFT; ?>">
    <?php
    /**
    * prepares and displays left column sideboxes
    *
    */
    ?>

    When searching the code i didn't find
    $current_page_base,explode

    Thanks

    Brian

  6. #66
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Responsive Apparel Boutique Template

    Quote Originally Posted by x8ox View Post
    Hello

    Yes it's the tpl_main_page.php i tried to mod the code isn't the same as
    the example i tried to add the code from

    <?php
    if (COLUMN_LEFT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_LEFT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) {
    // global disable of column_left
    $flag_disable_left = true;
    }

    if (!isset($flag_disable_left) || !$flag_disable_left) {
    ?>

    <td id="navColumnOne" class="columnLeft" style="width: <?php echo COLUMN_WIDTH_LEFT; ?>">
    <?php
    /**
    * prepares and displays left column sideboxes
    *
    */
    ?>

    <?php
    if (COLUMN_LEFT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_LEFT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) {
    // global disable of column_left
    if (in_array($current_page_base,explode(",",'contact_us,conditions')) ) {
    $flag_disable_left = true;
    }

    if (!isset($flag_disable_left) || !$flag_disable_left) {
    ?>

    <td id="navColumnOne" class="columnLeft" style="width: <?php echo COLUMN_WIDTH_LEFT; ?>">
    <?php
    /**
    * prepares and displays left column sideboxes
    *
    */
    ?>

    When searching the code i didn't find
    $current_page_base,explode

    Thanks

    Brian
    The code is not already there, you need to add it ;)

    Thanks,

    Anne

  7. #67
    Join Date
    Aug 2011
    Posts
    13
    Plugin Contributions
    0

    Default Re: Responsive Apparel Boutique Template

    Thank you Anne

    I need to read up on the overide i've tried adding to the exsisting file
    to no joy

    In your earlier reply you mention /overide/ was this a hint as i dont
    have that folder and was thinking do i need to create overide files for
    the pages i require to overide

    Thanks

    Brian

  8. #68
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Responsive Apparel Boutique Template

    Quote Originally Posted by x8ox View Post
    Thank you Anne

    I need to read up on the overide i've tried adding to the exsisting file
    to no joy

    In your earlier reply you mention /overide/ was this a hint as i dont
    have that folder and was thinking do i need to create overide files for
    the pages i require to overide

    Thanks

    Brian
    I am sorry, I should have been more specific:

    includes/templates/responsive_apparel_boutique/common/tpl_main_page.php

    Thanks,

    Anne

  9. #69
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Responsive Apparel Boutique Template

    Quote Originally Posted by x8ox View Post
    Thank you Anne

    I need to read up on the overide i've tried adding to the exsisting file
    to no joy

    In your earlier reply you mention /overide/ was this a hint as i dont
    have that folder and was thinking do i need to create overide files for
    the pages i require to overide

    Thanks

    Brian
    Look what I found when I searched for "if (in_array($current_page_base,explode" in the FAQ:

    Can I turn off the left or right hand columns for some pages only?

    http://www.zen-cart.com/content.php?...ome-pages-only
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  10. #70
    Join Date
    Aug 2011
    Posts
    13
    Plugin Contributions
    0

    Default Re: Responsive Apparel Boutique Template

    Hello

    That's the faq i've been trying to implement
    I know the file and it's location and the code
    I just dont have any joy when i try to include
    it into the global left section of tpl_main_page.php
    It will be me im no php'er i understand code in general
    Just not php if someone could help i'd be thankful

    Thanks

    Brian

 

 
Page 7 of 29 FirstFirst ... 5678917 ... LastLast

Similar Threads

  1. Apparel Boutique Template Support Thread
    By picaflor-azul in forum Addon Templates
    Replies: 431
    Last Post: 8 Dec 2016, 04:27 PM
  2. Replies: 3
    Last Post: 10 Jun 2014, 09:45 PM
  3. Modify or change template from Apparel Boutique to Lite Orange?
    By sweetaloma in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Dec 2012, 07:34 PM
  4. Replies: 7
    Last Post: 14 Jun 2012, 04:15 PM
  5. Replies: 1
    Last Post: 18 Jan 2011, 04:08 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