Results 1 to 4 of 4
  1. #1

    Default tpl_main_page error

    Hey, I have a question. I am wanting to turn off the right column's on the advanced_search_results page. In order to do that this is the code that I have typed in.

    if (in_array($current_page_base,explode(",",'checkout_success,products_new,create_a ccount,index,checkout_shipping,checkout_payment,checkout_confirmation,reviews,pr oduct_reviews_info,advanced_search,advanced_search_result')) ) {
    $flag_disable_right = true;
    }

    This works, however it presents a different issue. It also disables the right column on all of my category pages. Why is this happening? Is there any way to disable the right columns on just the advanced_search_result page wihout disabling it also on the category pages?

    Please let me know.

    Thanks in advance for all of your help!

  2. #2

    Default Re: tpl_main_page error

    BTW I do not know why there is a space in the advanced_search_result on the code typed out above....when I go to edit it is not like that in the text editor so please ignore that space.

  3. #3
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,197
    Plugin Contributions
    0

    Default Re: tpl_main_page error

    Quote Originally Posted by cs_jono View Post
    Hey, I have a question. I am wanting to turn off the right column's on the advanced_search_results page. In order to do that this is the code that I have typed in.

    if (in_array($current_page_base,explode(",",'checkout_success,products_new,create_a ccount,index,checkout_shipping,checkout_payment,checkout_confirmation,reviews,pr oduct_reviews_info,advanced_search,advanced_search_result')) ) {
    $flag_disable_right = true;
    }

    This works, however it presents a different issue. It also disables the right column on all of my category pages. Why is this happening? Is there any way to disable the right columns on just the advanced_search_result page wihout disabling it also on the category pages?

    Please let me know.

    Thanks in advance for all of your help!
    No, need to hack the core file:

    https://www.zen-cart.com/tutorials/i...hp?article=233

  4. #4

    Default Re: tpl_main_page error

    Quote Originally Posted by haredo View Post
    I must be not seeing something. Sorry.

    How is what I did any different than what that article is saying to do?

    Thanks again for all your help!

 

 

Similar Threads

  1. Customizing tpl_main_page
    By foteek in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Dec 2010, 05:13 AM
  2. Which tpl_main_page.php ???
    By zcnb in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 15 Aug 2008, 10:57 PM
  3. Paypal Express -- Error 119 in tpl_main_page
    By marks3 in forum PayPal Express Checkout support
    Replies: 4
    Last Post: 18 Feb 2007, 02:17 AM

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