Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2007
    Posts
    48
    Plugin Contributions
    0

    Default Hmmmm Footer Disable issues.

    Hey All,

    Firstly lets say Zen-Cart is the second online shop software that I have tried and I like it much better than the first one. The Forums are much more active and everyone seems very helpful and full on information which is very nice for the poor peeps like me who are doing this as a second job on the side. Anyway with the sucking up out of the way to my question.

    I am trying to turn off the footer to see how it will look on my shop.

    I have been through nearly all of the tuts and searched the forums and not been able to find anyone else that is having the same issue as I am, or any other destructions on how to do what I want to do. ( I expect that someone will probably post something of the lines of go to blah blah blah in the admin area and change 1 to 0)

    So here is what I am doing:

    I have a template called 'cs'

    In the template directory I have a file called tpl_footer.php in a folder: /common

    In the tpl_footer.php file there is a line that says uncomment the following line to disable the footer. (This file was copied from the template_default template).

    I uncommented the line and now I get a parse error in the footer of my ZEN.

    Code:
    Parse error: parse error in /var/virtual/web/w0684/subdomain/shop/cstar/includes/templates/cs/common/tpl_footer.php on line 14
    Line 14 incidentally is the line that I uncommented.

    hmmmm not very Zen just now.

    The test shop can be seen here http://shop.buckley.nf/cstar/

    If you have a look you must promise not to look at anything else at buckley.nf as it is just a collection of stuff that I am messing with and is never complete and is full of errors and things that could be done better. Also you must promise not to laugh at my template attempts.


    Anyway I really hope that someone can help me out with this.

    Cheers much,

    Dave


  2. #2
    Join Date
    Apr 2006
    Posts
    265
    Plugin Contributions
    0

    Default Re: Hmmmm Footer Disable issues.

    Sounds like it's not uncommented correctly....

    Change line 14 to this and see if that fixes it:

    Code:
    */ $flag_disable_footer = true; /*
    BrandTim

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Hmmmm Footer Disable issues.

    It sounds as though you are right on top of this. You're in the right place and doing it in an over-ride file. Spot on.

    As brandtim says, this sound like you didn't quite get the uncommenting right. You would need to terminate the comment at the end of the line above. Remove the <br /> tag and re-strat the comment on the line below.

    Personally, I'd just copy the "$flag_disable_footer = true;" code down to immediately below the require statement and above the "?>" and so sidestep all this commenting stuff!
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #4
    Join Date
    Mar 2007
    Posts
    48
    Plugin Contributions
    0

    Default Re: Hmmmm Footer Disable issues.

    Yaaaaaay.

    See I love these forums.

    Now the bottom of my page is nice and tidy and doesn't have any errors.

    I think that it must have been the <br/> that was mucking it up.

    Thanks BrandTim and Kuori Discounts for you if you shop at Cherry Star when we go live if you Fancy some Jewellery.

    :)



    Cheers much

    Dave


 

 

Similar Threads

  1. Disable Footer on Homepage ONLY
    By Cebra in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 20 Jun 2011, 12:10 AM
  2. Footer Disable?
    By danwebman in forum General Questions
    Replies: 3
    Last Post: 14 Dec 2010, 05:09 PM

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