Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: [not a bug] 1.37 stylesheet.css

    Quote Originally Posted by Ajeh View Post
    That statement would actually work better using:

    $this_is_home_page

    thanks for the update ...
    That did it!

  2. #12
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: #indexHomeBody - not working

    Thanks for the update that changing the $this_is_main_page to $this_is_home_page makes the $body_id set correctly for the home page vs any other page!
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #13
    Join Date
    Jul 2006
    Posts
    24
    Plugin Contributions
    0

    Default Re: #indexHomeBody - not working

    Worked for me too! Thanks, folks.

    For a minute there, I thought I was losing my marbles!

    Happy New Year, everyone.

  4. #14
    Join Date
    Feb 2006
    Posts
    588
    Plugin Contributions
    0

    Default Re: [Done v1.3.7.1] #indexHomeBody - not working

    where does this have to be changed in every occurance of tpl_main_page.php?

  5. #15
    Join Date
    Jan 2007
    Posts
    135
    Plugin Contributions
    0

    Default Re: [Done v1.3.7.1] #indexHomeBody - not working

    Quote Originally Posted by rxalex View Post
    where does this have to be changed in every occurance of tpl_main_page.php?
    swap $this_is_main_page into $this_is_home_page

    approx line 51 in:
    /includes/templates/template_default/common/tpl_main_page.php

  6. #16
    Join Date
    Jan 2008
    Posts
    33
    Plugin Contributions
    0

    Default Re: [Done v1.3.7.1] #indexHomeBody - not working

    Quote Originally Posted by dedj View Post
    swap $this_is_main_page into $this_is_home_page

    approx line 51 in:
    /includes/templates/template_default/common/tpl_main_page.php
    I"m on the latest and greatest zen-cart version (.8a) and yest when I DOM inspect, this body still has the id indexHomeBody yet I don't see this anywhere in the CSS. I have checked this file and it in fact says "$this_is_home_page" rather than main_page.

    ideas?

  7. #17
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: [Done v1.3.7.1] #indexHomeBody - not working

    You won't see #indexHomeBody in your stylesheet unless you put it there to style something about the home page.

    The tag is provided in the PHP code for anybody who needs it to use.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v155 [Done v155a] Admin, alt_nav not working
    By torvista in forum Bug Reports
    Replies: 13
    Last Post: 3 Nov 2016, 07:26 PM
  2. [Done 1.5.0] Hungarian Forint... not working
    By s_mack in forum Bug Reports
    Replies: 10
    Last Post: 20 Apr 2011, 04:18 AM
  3. Replies: 25
    Last Post: 7 Apr 2011, 05:41 AM
  4. [Done v1.3.8] Forgot your password link is not working!!
    By Boss Of The Bosses in forum Bug Reports
    Replies: 21
    Last Post: 3 Sep 2008, 09:52 PM
  5. Replies: 7
    Last Post: 27 Oct 2006, 10:10 PM

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