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

Tabbed Products ''LITE'' version - Delimiter based

Locked

Views: 234,294

Results 521 to 540 of 1,190
This thread is locked. New replies are disabled.
10 Sep 2006, 3:48 PM
#521
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,453
Plugin Contributions:
4

Tabbed Products ''LITE'' version - Delimiter based

I've checked through the instructions a few more times.. and still they work perfect so I dunno what ideasgrl did wrong
Well, I didn't. I just checked your new instructions and follow step by step and worked as a charm. I did a comparison of instructions and, as I said before, looks like the product details issue was braking the code (as you mentioned it too).

On your old instructions the steps #3 and #6 of your new ones aren't present; so that should be it. :unsure:

I love this module, keep on your great job. :thumbsup:

Edit to add:
No, apparently there's a loop (it's repeating the atributes).

IDEASLady
IDEAS Creative Studio

Your image... our business!

10 Sep 2006, 7:35 PM
#522
michaelhl avatar

michaelhl

New Zenner

Join Date:
Oct 2005
Location:
Germany
Posts:
60
Plugin Contributions:
0

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

Hello qhome,

There is something, what I didn't understand. The headline is there at Productdescription and at additional Images. It is also there at cross-sell and "customers also purchase", but it is white on white ground and only to see, when I click in it. When I click, it is to see so long, until the "what's new" scoller changes his picture. Then again white on white ground. What may this be?

Michael

10 Sep 2006, 10:41 PM
#523
qhome avatar

qhome

Totally Zenned

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

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

michaelhl:

Hello qhome,

There is something, what I didn't understand. The headline is there at Productdescription and at additional Images. It is also there at cross-sell and "customers also purchase", but it is white on white ground and only to see, when I click in it. When I click, it is to see so long, until the "what's new" scoller changes his picture. Then again white on white ground. What may this be?

Michael

Hmm I'm not sure I understand the question. Do you have a link I can look at?

ideasgirl:

Edit to add:
No, apparently there's a loop (it's repeating the atributes).

??

10 Sep 2006, 11:10 PM
#524
michaelhl avatar

michaelhl

New Zenner

Join Date:
Oct 2005
Location:
Germany
Posts:
60
Plugin Contributions:
0

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

10 Sep 2006, 11:57 PM
#525
qhome avatar

qhome

Totally Zenned

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

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

michaelhl:

https://www.dark-hamburg.de/shop

please have a look.

It only appears to happen with IE.. Opera sees it fine.
check your template's stylesheet.css[/b] for:

h2.centerBoxHeading, .productListing-rowheading {
	margin: 0em;
	background-image: url(../images/tile_back.jpg);
	font-size: 1em;
	color: #ffffff;
	padding: 0.5em 0.2em;
	border-bottom: 1px solid #9a9a9a;
	}

All headings use that code. I'm not sure why it seems to work on the first 2 tabs tho, since they all use the same call.

11 Sep 2006, 5:26 AM
#526
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

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

michaelhl:

But one thing I not really miss, but it can make it better at all. It will be a switch (e.g. a checkbox) on the product.php in admin-area to choose if this article use tabs or not. But I think this is not to realize without doing changes to the core-code.

Also useable may be buttons on the html-editor to insert the soft-tabs.

Agreed. Checkboxes on the admin product page to insert pre-set text (e.g. soft tabs) is highly desirable.

Q, were you able to do anything with the code I PM'd you awhile back, for this potential purpose?

Woody

11 Sep 2006, 10:20 AM
#527
qhome avatar

qhome

Totally Zenned

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

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

Woodymon:

Agreed. Checkboxes on the admin product page to insert pre-set text (e.g. soft tabs) is highly desirable.

Q, were you able to do anything with the code I PM'd you awhile back, for this potential purpose?

Woody

Yes and no. I got it working for the comments box on the orders page to give quick messages for shipping and status stuff, however, the fundamental problem with that was if you had your own text there first, then clicked a checkbox, it would overwrite your current text. So in essence it would also overwrite your product description. There maybe ways around that tho with a little digging.

The other problem that I couldn't seem to get around was this:

the product description textarea name was product_description[1] or something like that. The code would not work with the 1 in there. As soon as I did some hardcoded changes to test it, I changed it to product_description (without the 1) and it worked similar to the orders page one. But I couldn't understand why it wouldnt work with the 1 in it. But I have been leaning to put that and other stuff into the admin area so I will keep on truckin.

11 Sep 2006, 11:06 AM
#528
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

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

qhome:

The fundamental problem with that was if you had your own text there first, then clicked a checkbox, it would overwrite your current text. So in essence it would also overwrite your product description. There maybe ways around that tho with a little digging.
I observed the same behavior and unintentionally discovered a technique to avoid overwriting. I will play around to rediscover as I don't remember at the moment. It may have had to do with disabling the WYSIWYG editor... again not sure. I generally turn off web embedded WYSIWYG editors. The erratic behavior and burden on the client is too much to put up with.

qhome:

The other problem that I couldn't seem to get around was this:
the product description textarea name was product_description[1] or something like that. The code would not work with the 1 in there. As soon as I did some hardcoded changes to test it, I changed it to product_description (without the 1) and it worked similar to the orders page one. But I couldn't understand why it wouldnt work with the 1 in it. But I have been leaning to put that and other stuff into the admin area so I will keep on truckin.
Thanks for the report. If you come up with anything let us know and I'll do the same.

11 Sep 2006, 11:10 AM
#529
qhome avatar

qhome

Totally Zenned

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

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

Woodymon:

I observed the same behavior and unintentionally discovered a technique to avoid overwriting. I will play around to rediscover as I don't remember at the moment. It may have had to do with disabling the WYSIWYG editor... again not sure. I generally turn off web embedded WYSIWYG editors. The erratic behavior and burden on the client is too much to put up with.

yea well the orders comments page doesn't have wysiwyg anyway and it still happens there.. but yea i also leave all wysiwygs off.. Tabbed lite wouldn't even work properly if u entered tags thru the wysiwyg front end. they would just show up as text :P

I think it can be circumvented if instead of setting txtboxname = checkbox text, you just do txtboxname = txtboxname.text + checkbox text.

12 Sep 2006, 6:57 AM
#530
ericpeng avatar

ericpeng

Zen Follower

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

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

Hi,

I trid V3.5, it's greate.

We have added a field "products_warranty" in "poducts" table.
How can we make it to be dispayed as a tab automaticly.

Thanks
ERIC

12 Sep 2006, 1:27 PM
#531
qhome avatar

qhome

Totally Zenned

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

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

TA DA!

  • DATABASE CONFIG! Now all configuration settings are in Admin->Configuration->Tabbed Product Config. No more file editing :)
  • Fixed a small typo.
  • Updated the readme to refer to the admin configuration area.

Thats right folks.. Tabbed Lite is moving up in the world! It now has its configuration stuff in the admin area, saved to the configuration table in the database! No more file editing!

For being my first Admin controlled contrib.. I have to say it was quite easy! Once again in awe by the power of zencart :) I thought I needed a dozen or so admin files... turns out I only need a small database entry and to change a few variable pointers.

(only 3 files changed from 3.5):
/includes/modules/tabbed_products_lite.php
/includes/templates/YOUR_TEMPLATE/templates/tpl_tabbed_products_lite.php
/includes/languages/english/extra_definitions/tabbed_products_lite.php

So if you already have custom changes for 3.5 on your product info file, you can just upload these 2 files.

Then all thats left is to run the SQL from Admin->Tools->Install SQL Patches

Enjoy!

12 Sep 2006, 3:43 PM
#533
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

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

Qhome, is the attached 3.6 zip above a complete file set or do I need the 3.5 first?

Thanks!

12 Sep 2006, 4:36 PM
#535
uswebworx avatar

uswebworx

Zen Follower

Join Date:
Sep 2006
Location:
USA
Posts:
297
Plugin Contributions:
0

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

I joined just to thank you for this contribution.

I have been using zen-cart for about a year now and just normally surfed to find help, but now I need help that I can't find with your tabbed contrib.

Not spam:
On this site
http://www.bamachips.com/store/index.php?main_page=product_info&cPath=18_4_9&products_id=58
I need to know how to add the Required Info which is an attribute as a tab?

I am not too good with php but I have figured out alot on my own. I now have the TAB contrib added to almost all of the stores I maintain. The site above is still being tweaked since updating to the newest version.

Thanks for everything you all have done.

Signature not needed

12 Sep 2006, 4:48 PM
#536
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

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

Oi oi smarty pants!
Nice work sir!
One nice contrib here!
I think your going to be pestered forever how to do custom tabs for XYZ.

Thanks for your work on this. :lamo:

13 Sep 2006, 1:14 AM
#537
ericpeng avatar

ericpeng

Zen Follower

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

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

just install the V3.6.
but under "Tabbed Products Config", there's only one item "Global Product Description Tab". There're 9 more in DB.
Did I do anything wrong ?

Eric

13 Sep 2006, 1:32 AM
#538
qhome avatar

qhome

Totally Zenned

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

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

ericpeng:

just install the V3.6.
but under "Tabbed Products Config", there's only one item "Global Product Description Tab". There're 9 more in DB.
Did I do anything wrong ?

Eric

Did you install everything in the SQL file at once? That should only happen if you do it all separately.

You are going to have to edit it in Phpmyadmin to change them all to match the same Configuration Group ID as the Global Products Description Tab settings in the "configuration" table.

I will see if i can make a simple update script to match if you need help. I'm not really sure how else to do it. I follow another contrib's example and had the same problem if I didn't do it all at once.

13 Sep 2006, 2:00 AM
#539
qhome avatar

qhome

Totally Zenned

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

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

Eric, here is some sql that will delete the tabbed lite stuff from the database.

DELETE FROM `configuration_group` WHERE `configuration_group_title` LIKE 'Tabbed Products Config' LIMIT 1;
DELETE FROM `configuration` WHERE `configuration_description` LIKE 'Set this to 1%' LIMIT 10;

After that you should redo the original sql and make sure you do it all at once. either upload the file to the Install SQL Patches or copy the entire file from notepad and paste it in the window. That should solve the problem.

13 Sep 2006, 3:24 AM
#540
ericpeng avatar

ericpeng

Zen Follower

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

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

qhome:

Eric, here is some sql that will delete the tabbed lite stuff from the database.

DELETE FROM configuration_group WHERE configuration_group_title LIKE 'Tabbed Products Config' LIMIT 1;
DELETE FROM configuration WHERE configuration_description LIKE 'Set this to 1%' LIMIT 10;

> 
> 
> 
> After that you should redo the original sql and make sure you do it all at once. either upload the file to the Install SQL Patches or copy the entire file from notepad and paste it in the window. That should solve the problem.


Thansk.
But same problem. and i did it all at once.
I'll try in a new installation and see what happen.

Eric