Zen Cart Logo
Forums / All Other Contributions/Addons / Tabbed Products ''LITE'' version - Delimiter based

Tabbed Products ''LITE'' version - Delimiter based

Locked

Views: 234,229

Results 121 to 140 of 1,190
This thread is locked. New replies are disabled.
8 Jun 2006, 8:51 PM
#121
ericpeng avatar

ericpeng

Zen Follower

Join Date:
Jan 2006
Posts:
115
Plugin Contributions:
0

Tabbed Products ''LITE'' version - Delimiter based

denliv:

FYI - don't know if you've noticed this yet (haven't read the whole thread) but the first tab fits nicely in a small browser width but going to the second tab makes it jump off the right side of the screen.

I don't have the same problem.
But I noticed the tabs will be disapered, when in certain width. If you make the browser's width a little bit biger or smaller, then it'll come out again.

8 Jun 2006, 9:02 PM
#122
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products ''LITE'' version - Delimiter based

denliv:

FYI - don't know if you've noticed this yet (haven't read the whole thread) but the first tab fits nicely in a small browser width but going to the second tab makes it jump off the right side of the screen.

Hmm I'm not sure waht u mean.. Alll the tabs are liquid(by default).. so they shift with the width.. so even if u had a 3 inch browser window.. u'd see all the tabs on top of each other.

8 Jun 2006, 9:15 PM
#123
denliv avatar

denliv

Zen Follower

Join Date:
Jul 2004
Posts:
103
Plugin Contributions:
0

Re: Tabbed Products ''LITE'' version - Delimiter based

Sorry - the tabs are showing. I just mean the window of the second tab is to wide to fit in a narrow browser, say 800 pixels wide, whereas the window for the first tab fits it just fine.

8 Jun 2006, 9:19 PM
#124
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products ''LITE'' version - Delimiter based

denliv:

Sorry - the tabs are showing. I just mean the window of the second tab is to wide to fit in a narrow browser, say 800 pixels wide, whereas the window for the first tab fits it just fine.

Hmm thats a FF or IE thing and only happens when u change tabs while the window is small I think.. thats not really exclusive to the contrib tho.. that would happen with all tables and content I think.

On a side note... I've attached the latest and greatest patched versions just so we dont lose track.

There are only the template files in this zip. One for WITH Cross Sell.. one for WITHOUT.

I'll let these get tested a bit more before making another official release in the download section.

9 Jun 2006, 11:53 PM
#125
jollyjim avatar

jollyjim

Totally Zenned

Join Date:
May 2005
Location:
Cheshire, UK
Posts:
401
Plugin Contributions:
2

Re: Tabbed Products ''LITE'' version - Delimiter based

Not sure if you know about this but I just dumped 3700 products to the database using the tab delimiters in the product description. Now the source data looks 100% fine, but only 90% of the actual products in the store have correctly formatted tabs. The rest are messed up - i.e. they show code --valid html transitional --> and also the layout of the tab is all wrong. (It is difficult to describe)

I have checked, checked and checked again the integrity of the source data being uploaded. No idea why this is not working - everything in the source data looks perfectly fine and as it should. I am thinking people who use the likes of Easypopulate will come across this issue at some point.

Is there any way to achieve the Tabbed look without having additional tabs (e.g. product_info just has one single tab with everything inside it). I ask because until I have figure dout why a bulk data upload does not work, it makes sense not to use the tab delimiters but have pure CSS instead.

This would actually be a neat idea anyway - have a default single tab layout for when you are not using tabbed delimiters. Then the product_info layout would look pretty seamless.

10 Jun 2006, 4:02 AM
#126
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Re: Tabbed Products ''LITE'' version - Delimiter based

This is definitely an awesome mod but it is kinda confusing to move things around such as the Add to Card since there are numerous of them.

Is there any hint on which ones to move?

10 Jun 2006, 5:05 AM
#127
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products ''LITE'' version - Delimiter based

JollyJim:

Not sure if you know about this but I just dumped 3700 products to the database using the tab delimiters in the product description. Now the source data looks 100% fine, but only 90% of the actual products in the store have correctly formatted tabs. The rest are messed up - i.e. they show code --valid html transitional --> and also the layout of the tab is all wrong. (It is difficult to describe)

Do you have a site I can take a look at and see this? I will try it easy populate on my test site this weekend.

Also quote the text in your description just to see if maybe there is something that I may have come across in creation that looks familiar.

(PM it to me if you like)

JollyJim:

Is there any way to achieve the Tabbed look without having additional tabs (e.g. product_info just has one single tab with everything inside it). I ask because until I have figure dout why a bulk data upload does not work, it makes sense not to use the tab delimiters but have pure CSS instead.

This would actually be a neat idea anyway - have a default single tab layout for when you are not using tabbed delimiters. Then the product_info layout would look pretty seamless.

For tabbed layout, you mean just 1 tab that isn't really a tab, but looks like a tab? I guess if you only use one <!--%tabname%--> it would show it all as one tab.. if thats what you mean.

Berserker:

This is definitely an awesome mod but it is kinda confusing to move things around such as the Add to Card since there are numerous of them.

Is there any hint on which ones to move?

Yes, in the code, there is a big block that says "END OF TAB PARSE CODE" (around line 535). everything under that is the original stuff with the addition of the If statements, but that shouldn't affect where u move it to. Just copy everything in between the bof/eof tags (and the tags as well)

10 Jun 2006, 11:48 PM
#128
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Re: Tabbed Products ''LITE'' version - Delimiter based

Thanks for the quick reply.

Do you have to add the <br /> tag at the end of every tab?

11 Jun 2006, 3:19 AM
#129
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products ''LITE'' version - Delimiter based

Berserker:

Thanks for the quick reply.

Do you have to add the <br /> tag at the end of every tab?

Shouldn't have to. I added table tags to help make the separate the data for moments like when Javascript is turned off so you should no longer need the BR

11 Jun 2006, 6:23 PM
#130
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products ''LITE'' version - Delimiter based

Woodymon, empty your PM box.. its full and i cant reply!

12 Jun 2006, 12:45 PM
#131
peekay avatar

peekay

Zen Follower

Join Date:
Jun 2006
Location:
U.K.
Posts:
103
Plugin Contributions:
0

Re: Tabbed Products ''LITE'' version - Delimiter based

Hi qhome. This is a really nice mod :yes: many thx.

It may be a quirk to do with my template, but I found that to get the tabs to work I had to add some HTML code before the first tab delimiter in the product description. Any code will do (for example an empty paragraph tag set) but without doing this, the tabs just didn't show for me.

Other than that, it works a treat... up to now!

It's a shame HTMLEditor doesnt show markers for comment tags in wysiwyg mode.

12 Jun 2006, 1:18 PM
#132
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products ''LITE'' version - Delimiter based

Peekay:

Hi qhome. This is a really nice mod :yes: many thx.

It may be a quirk to do with my template, but I found that to get the tabs to work I had to add some HTML code before the first tab delimiter in the product description. Any code will do (for example an empty paragraph tag set) but without doing this, the tabs just didn't show for me.

Other than that, it works a treat... up to now!

It's a shame HTMLEditor doesnt show markers for comment tags in wysiwyg mode.

Yea, there is a patch version that should fix that problem here:
http://www.zen-cart.com/forum/showpost.php?p=213911&postcount=124

12 Jun 2006, 2:15 PM
#133
peekay avatar

peekay

Zen Follower

Join Date:
Jun 2006
Location:
U.K.
Posts:
103
Plugin Contributions:
0

Re: Tabbed Products ''LITE'' version - Delimiter based

That fixed it!. Thx.

I have mostly items of the 'document-product' product type and they use a different template (tpl_document_product_info_display.php).

To get the tabs, I just copied your replacement for the 'ordinary' product template and renamed it. Seems to work, but are there any differences I may not be aware of between these two templates?

12 Jun 2006, 2:30 PM
#134
peekay avatar

peekay

Zen Follower

Join Date:
Jun 2006
Location:
U.K.
Posts:
103
Plugin Contributions:
0

Re: Tabbed Products ''LITE'' version - Delimiter based

Actually... I've found I still have to put a para tag before the first tab delimiter to get the tab links to work. It's not really a problem though.

12 Jun 2006, 7:32 PM
#135
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products ''LITE'' version - Delimiter based

Peekay:

Actually... I've found I still have to put a para tag before the first tab delimiter to get the tab links to work. It's not really a problem though.

Hmm i will have to do some further testing.. how many tabs are you using? are you using of the Core feature tabs (hardcode tags) like additionalimages or customersalsopurchased?

12 Jun 2006, 9:06 PM
#136
peekay avatar

peekay

Zen Follower

Join Date:
Jun 2006
Location:
U.K.
Posts:
103
Plugin Contributions:
0

Re: Tabbed Products ''LITE'' version - Delimiter based

Just 2 tabs in my tests. I don't have any extra images or anything. There are some radio-button product options. If I use the code:

<p><!--%Item Description%-->Item description text goes here.</p>
<!--%Extra Info%--><p>Some extra information...</p>

the links in the tab work, but if I put

<!--%Item Description%--><p>Item description text goes here.</p>
<!--%Extra Info%--><p>Some extra information...</p>

the tabs are generated, but the links don't work.

13 Jun 2006, 3:02 PM
#137
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products ''LITE'' version - Delimiter based

You seem to have not replaced that version with the 2.7c version from above. It is fixed in that version for sure.

14 Jun 2006, 5:47 AM
#138
wickedklown avatar

wickedklown

Zen Follower

Join Date:
Aug 2005
Posts:
370
Plugin Contributions:
0

Re: Tabbed Products ''LITE'' version - Delimiter based

KILLER CONTIB..... makes things look sooo much better....
anyone else having a problem with there attributes?

for some reason my atributes dont show the added cost? when i preview it displays fine, its just not working on the displayed page. anyone know of a fix for this?

i merged the two tpl files, but there are so many changes i cant see where it might be....

any help would be great. thanks

14 Jun 2006, 10:11 AM
#139
titangen avatar

titangen

Zen Follower

Join Date:
May 2005
Location:
Brussels belgium
Posts:
177
Plugin Contributions:
0

Re: Tabbed Products ''LITE'' version - Delimiter based

Hi ,

is this contrib compatible with the old ZC version?

thanks

:smartass:

14 Jun 2006, 11:16 AM
#140
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products ''LITE'' version - Delimiter based

wickedklown:

KILLER CONTIB..... makes things look sooo much better....
anyone else having a problem with there attributes?

for some reason my atributes dont show the added cost? when i preview it displays fine, its just not working on the displayed page. anyone know of a fix for this?

i merged the two tpl files, but there are so many changes i cant see where it might be....

any help would be great. thanks

Got a link to your site?

titangen:

Hi ,

is this contrib compatible with the old ZC version?

thanks

:smartass:

Unfortunately no because it wasn't until 1.3 that they changed from a table based product info to a <div> based page, So while functionally it would work, it doesn't have the same display style the old one had.