![]() |
Yikes... categories disappeared
Lesson of the day: don't modify xcart templates on 3 hours of sleep.
Sigh. It was so lovely. I was all finished, went to clean up some commented bits and must have pulled out something crucial along with it. Save. Close. :oops: Could someone please take a look at my code and see what I could have possibly done that would cause my categories menu (in the sidebar) to suddenly disappear? The header image isn't even showing up. Code:
{* $Id: categories.tpl,v 1.26 2005/11/17 06:55:37 max Exp $ *} My last backup was way too long ago, and would prefer not to revert unless I absolutely have to. |
Re: Yikes... categories disappeared
If it's not showing at all, it's probably not the actual file, but the include statement that calls it. This should be in your home.tpl template - perhaps check there first.
|
Re: Yikes... categories disappeared
Quote:
Nope, the include is right where it should be. I wasn't modifying that file anyway. Any other ideas?? :sad: |
Re: Yikes... categories disappeared
Your missing the closing if statement for:
{if $config.General.root_categories eq "Y"} Based on how you've edited your file I'd say this statement can be removed. |
Re: Yikes... categories disappeared
Quote:
Got it!! Thanks Jon, I appreciate it! |
Re: Yikes... categories disappeared
Try clearing your template cache after removing that.
|
All times are GMT -8. The time now is 05:57 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.