Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Perxplexing css problem

    Quote Originally Posted by rbarbour View Post
    No solution is right or wrong as long as it works as intended IMHO

    The HTML code added modifies the source code anyways, hence the suggestion to simply wrap it in the awesome and under utilized BUILT-IN: $this_is_home_page and $current_page_base functions of zen-cart.

    I'm also pretty sure I've seen posts in the responsive template threads by the OP and this solution is even better for it will never be processed on any other page but the home page instead of processing it and then hiding it.
    **nods in agreement***
    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.

  2. #12
    Join Date
    Mar 2006
    Location
    Melbourne, Australia
    Posts
    377
    Plugin Contributions
    0

    Default Re: Perxplexing css problem

    Quote Originally Posted by rbarbour View Post
    hence the suggestion to simply wrap it in the awesome and under utilized BUILT-IN: $this_is_home_page and $current_page_base functions of zen-cart.
    Is there any documentation on this, ie use of these functions?

  3. #13
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Perxplexing css problem

    The only documentation on these functions that I'm aware of is in /includes/templates/template_default/common/tpl_main_page.php


    Their is this, it focuses mainly on disabling left/right columns but the concept is the same.


    Quote Originally Posted by godt View Post
    Is there any documentation on this, ie use of these functions?

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. CSS problem
    By olivercoquelin in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 22 Jun 2009, 11:22 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