Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Hmmmm Footer Disable issues.

Hmmmm Footer Disable issues.

Locked

Views: 4,275

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
5 Aug 2007, 12:48 PM
#1
david_buckley avatar

david_buckley

New Zenner

Join Date:
Mar 2007
Posts:
48
Plugin Contributions:
0

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) :smile:

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.

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. :smile:


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

Cheers much,

Dave

:smile:
5 Aug 2007, 5:12 PM
#2
brandtim avatar

brandtim

Zen Follower

Join Date:
Apr 2006
Posts:
250
Plugin Contributions:
0

Re: Hmmmm Footer Disable issues.

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

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

*/ $flag_disable_footer = true; /*

BrandTim

5 Aug 2007, 5:22 PM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

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!

5 Aug 2007, 11:14 PM
#4
david_buckley avatar

david_buckley

New Zenner

Join Date:
Mar 2007
Posts:
48
Plugin Contributions:
0

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.

:)

:smile::smile::smile:

Cheers much

Dave

:D