Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default How Do I Wrap This Conditional Array in tpl_main_page.php?

    Hi All,

    I'm trying to enable left column in just one page... this one:

    http://www.limelites.co.uk/index.php...=shopping_cart

    In my tpl_main_page.php I have put this:

    PHP Code:
      if (in_array($current_page_base,explode(",",'shopping_cart_empty')) ) {
      
    $flag_enable_left true
    But it has no effect... what's wrong with my code?? Please??

    I can't use just shopping_cart as I don't want left box enabled in main shopping cart page, only the empty cart page :-)
    Last edited by limelites; 8 Apr 2009 at 01:35 AM.

 

 

Similar Threads

  1. how do i access require($body_code) found in tpl_main_page.php?
    By tcarden in forum Customization from the Admin
    Replies: 2
    Last Post: 11 Dec 2012, 01:46 AM
  2. need html_header.php & tpl_main_page.php files
    By marvin in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Nov 2011, 06:32 PM
  3. PHP help with broken tpl_main_page.php
    By HeresySnowboarding in forum General Questions
    Replies: 4
    Last Post: 18 Sep 2008, 07:48 PM
  4. How to add a static Banner to the tpl_main_page.php
    By djfranknitti in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 23 Jul 2008, 02:39 PM
  5. Replies: 1
    Last Post: 14 Mar 2008, 02:58 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