Re: Tabbed Products ''LITE'' version - Delimiter based
OK I just installed this mod, followed the readme instructions however nothing happened to my productinfo page. I guess I don't understand which files I need to edit, as this is not declared in the readme file
From your current readme.txt file ...
Code:
USE:
To create a tabbed view for your items, you must use the proper tags.
This: <!--% is the opening tag
This: %--> is the closing tag
Anything in between is the title of the tab.
Example:
<!--%Product Description%-->
This is the main product description.
<!--%Extra Specs%-->
This is where you can add custom stuff as you wish. You can have as many
tabs as you want.
<!--%BlahBlah%-->
This is another tab named BlahBlah
You will note no mention of which file and where to edit?
I think what I am supposed to do is edit the HTML description field in the Admin part of the shop, per product?
Indeed that is so, what would be great is if you included the HTML from your demo ADMIN section, so that it is more obvious, as an example of course?
Re: Tabbed Products ''LITE'' version - Delimiter based
I guess maybe I could be a little more clear on that. I do mention in at the top a bit more:
Quote:
WHAT DOES THIS CONTRIB DO?
TabbedProducts-LITE contrib allows you to change the look of your product info screen to use a tabbed display using DHTML for a professional look. It is named LITE, but it is indeed quite powerful and customizable.
It's called LITE because this version needs no database changes, nor are there
lots of extra files to deal with. The bulk of the functionality is in one template file. It is simple to install, use, and customize. Tabs are created dynamically based on tags entered right in the main product description page in the admin area.
I will add something more descriptive to the USE area. thx
Re: Tabbed Products ''LITE'' version - Delimiter based
Great stuff, as I say I think the readme would benefit from your example HTML in admin, I reckon if you placed that in the 'Useage' part of your readme that would help a lot.
Great work fella!
Also, how does easypopulate cope with it, do you know? In other words would the tabs need to be re-entered once a file was say manually offline and updated via data file and then uploaded again to the server?
OK I tested easypopulate, it appears to work fine.
Re: Tabbed Products ''LITE'' version - Delimiter based
OK the gifs supplied should probably have a transparent background, currently they have white, and the corners appear and spoil the effect if you change the background colour on your info page.
Also I don't know how those other tabs 'products purchased' and 'customers also purchased' etc appeared. This should perhaps also be made clear in the readme.
thanks.
Re: Tabbed Products ''LITE'' version - Delimiter based
Nice work sir!:smile:
Is there any way to fix the width of the tabs at all?
Example the detailed specs tab on this demo
http://www.unbannable.com/zen/index....&products_id=1
Makes the page much wider, I guess due to the length of the text in the tab.
Re: Tabbed Products ''LITE'' version - Delimiter based
Qhome-
Is really looking good! It fails validation though :( http://validator.w3.org/check?verbos...roducts_id%3D1
I took a quick peek and most of the errors are because of duplicate IDs, those can be overcome by building unique IDs with php.
:thumbsup: I agree this will be a very popular addition.
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by Pauls
OK the gifs supplied should probably have a transparent background, currently they have white, and the corners appear and spoil the effect if you change the background colour on your info page.
You're probably right.. But transparent images is like my kryptonite.. last time i tried making something transparent it turned green on me.. Would someone like to transparencize these for us? :)
Quote:
Originally Posted by Pauls
Also I don't know how those other tabs 'products purchased' and 'customers also purchased' etc appeared. This should perhaps also be made clear in the readme.
This is also in the readme.. Under the USE heading. After it gives the example of how to use the tags it says those tabs can be edited in the included tpl files at the top to enable or disable those tabs.
The new readme I'm making for the release version is a little bit clearer and is in HTML so i can show graphical examples and expand things a bit.
Quote:
Originally Posted by Reesy
Is there any way to fix the width of the tabs at all?
The tabs are autosized based on the text inside them, otherwise they could cut off some of the text. But most of this should be editable from the CSS file
Quote:
Originally Posted by Kim
I took a quick peek and most of the errors are because of duplicate IDs, those can be overcome by building unique IDs with php.
Hmm well i changed from word ID's to number ID's because of the For Loop I was using, so I was auto-incrementing. I never knew it was that picky that a number couldn't start an ID label. I can easily add some text in front of that. Thanx for the heads up. I will put a name before the number in the Release version
Glad you guys are enjoying it so far! :)
Re: Tabbed Products ''LITE'' version - Delimiter based
OK in the morning I will get to working on the transparency thing!
Re: Tabbed Products ''LITE'' version - Delimiter based
OK I got the tabs contrib up to par with the validator. No more errors on that site ... at least not for my contrib.
Re: Tabbed Products ''LITE'' version - Delimiter based
There is some difficulty creating the transparent images for this, the long background images are where it seems the issue is. I found a good article on using no images whatsoever and instead using javascript and css to produce the magic.
Click the link
I think that might be an option? Especially nifty tabs #4