Go Back   3dCart Shopping Cart Software Forums > Shopping Cart Software > Store Design

Reply
 
Thread Tools Display Modes
  #1 ()  
Old 11-03-2007, 11:27 PM
syncbox syncbox is offline
3dCart User
 
Join Date: Oct 2007
Posts: 58
Question duplicated category header/footer content

Here's another bug I am running into...

if I use
<!--START: CATEGORY_HEADER-->
[CONTENT]
<!--END: CATEGORY_HEADER-->
<!--START: CATEGORY_FOOTER-->
[CONTENT]
<!--END: CATEGORY_FOOTER-->

in my category_x file, I get duplicate content. Basically, it repeats both the header and footer fields' content.

If I have these in my category_x file and only put content into one of the header or footer fields (for that cat), it duplicates whatever is there (whichever field has content)...

If I put some content into the header field and some into the footer field, but ONLY have the
<!--START: CATEGORY_HEADER-->
[CONTENT]
<!--END: CATEGORY_HEADER-->

in my category_x file, it displays the content of both ANYWAY.

This is the stuff that bugs and confuses the hell out of me... I mean, I *could* wrap my head around the fact that it simply doesn't work correctly, but it limits what I can do and takes away the ability to use one of those fields somewhere else - since I don't (obviously) want the content duplicated ever.

bug? known bug?
Reply With Quote
  #2 ()  
Old 11-03-2007, 11:42 PM
GonzaloGil GonzaloGil is offline
Moderator
 
Join Date: Feb 2006
Posts: 239
Default

This is one for the support team, I've have seen this work, so it may be something specific to your setup, please submit a support ticket with a link to a template that they can see, so that they can troubleshoot it further.

If you open one of the default templates, do you see this behavior as well, or only on the custom one you created?
__________________
----------------------------
Gonzalo Gil
3dCart Support
800-828-6650 x111
Reply With Quote
  #3 ()  
Old 11-04-2007, 12:19 AM
syncbox syncbox is offline
3dCart User
 
Join Date: Oct 2007
Posts: 58
Cool

Quote:
Originally Posted by GonzaloGil View Post
This is one for the support team, I've have seen this work, so it may be something specific to your setup, please submit a support ticket with a link to a template that they can see, so that they can troubleshoot it further.

If you open one of the default templates, do you see this behavior as well, or only on the custom one you created?
It could be just on mine... I'm not sure but I can't see why that should be... are these fields NOT discreet areas? It's like... if you have both the <!--START: CATEGORY_HEADER--> and <!--START: CATEGORY_FOOTER--> tags (with the end tags, of course) with [CONTENT] in there, it duplicates, no matter where the content is (header or footer field or both). But, if I have the content in the header AND footer fields and ONLY use the start:header tags (correctly implemented, I'm just tired of writing the same thing over and over)... it STILL shows the content from both the header and footer field.

TOO WEIRD. The default category_0 template file (in common) has a lot of other stuff between these two tag groups... but other than tables being INSIDE them (rather than images <img>) (or even text written like "stuff here")... I don't see anything special about them in the default file. It just doesn't make sense.

These tags... they simply copy the content into the same area where the [CONTENT] marker is, right?

Honestly, I just don't have the time to puzzle out these vague behaviors...

As much as I hate it, I'll just have to leave one of them out and get moving forward...
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 10:14 PM.


Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8