I could probably prevent that somehow. But even so, the next version has such a small script it shouldn't be too bad.
Printable View
I could probably prevent that somehow. But even so, the next version has such a small script it shouldn't be too bad.
I have an ickle suggestion that would make this cool, you could add some simple javascript buttons to the page that auctomatically puts in the correct code for the tab.
EG I want the tab to say "More Info" then I click the "More info" button that would insert the correct code for that tab into the item description. You could cut and paste the comments toolbar contrib code to do this.
Just thinking out loud here :smile:
Yea, you mean on the actual product description page in the admin. Yea I thought about that too.. actually just a generic one since people would have their own personal style of what to name the tab so click the button to addQuote:
Originally Posted by Reesy
<!--%Custom Tab%-->
and make other buttons for the hard coded tags like additional images and customers also purchased.
I need to take some time this week to put these ideas in my head to use.
Thx for your input!
I just installed your mod to my new test site. I haven't tested it out as of yet, but I was wondering is it possible to generate a tab that contains customer reviews?
Yea thats exactly what I meant sir.Quote:
Originally Posted by qhome
If you created say generic ones of say more info, extra images, also purchased it would be cool.
Its pretty easy to change the few characters of the buttons for peoples use.
Personally I think this should definately be included in the next zen cart core release as this isnt in any "other" carts AFAIK.
Ya i will be adding that in the next version if it behaves nicely.Quote:
Originally Posted by ctcentralinfo
Since I'm sorta-newbie when it comes to web stuff I don't know what the actual impact on page loading speed is but I went into the jscript and deleted most of the comments.
size of the file dropped by 11KB.
no adverse affect that I have found. less is more, right? :dontgetit
I should note that this contribution is destined for greatness
File size doesn't really matter as far as display. The renderer ignores all the comments so its really only sending a few lines of text which wouldn't be damaging unless you were on a 2400 buad connection :)Quote:
Originally Posted by wasana
Hey Q-
Just checked out http://www.unbannable.com/zen/index....&products_id=1
The new tab styles, tab colors, rollover/hover, and the word wrap inside the tab is quite cool.
Wondering with the new version will flexibility be maintained to allow display/positioning the main product image, the "Add to cart button", product attributes, and some random text above the tabs? Hope so ;-)
Although you show the style of the text in the tabs can be hard coded via HTML I assume they can also be stylelized via CSS also? Most of my customers would need larger text size, and setting a global class would be simpler for me than hard coding each tab tag.
Also if increase the text size in the tabs will the tabs resize and eventually wrap to a second tab row as previous version?
Also in your previous post regarding the new version you suggested global overrides are now implmented. Is that working out well?
And discounting my inital hope above, does the new version support displaying both the add to cart button and attributes in one tab (as eric asked about)? I see you stated there are issues with the add to cart button showing up in a tab (always shows up below the tabs).
And have you figured out yet how to place a portion of the product description text text below the tabs?
I do like the idea of allowing combining multiple sectons on one tab with the the naming convention you specified. I assume the combining would only apply to core entires on product info pages, and not mod additions (e.g. X-sell or other added mods). Or could code be manipulated to support combining tabs for mods also?
Also Reesy's suggest is a good one. On my /admin/orders.php edit page I have set up checkboxes to enable auto entering commonly used text strings into the "comments" text edit box. I used code from Grayson's PDF Order Center mod and I don't see why the same idea could not be easily applied for your mod to /admin/product.php new_product page.
Also to respond to your previous inquiry...
Yes I know you had such capability in the earlier db driven (not Lite) version ;-)Quote:
Funny, I removed global settings to give more flexibility, now its too flexible But I guess it would be good to have globals with overrides too.
Everyone wants there cake and eat it too ;-)
No qualms with the "include" solution. Although you have documented things very well that actually may end up easier for some folks to edit the template file.Quote:
Do you suppose it would be easier or more confusing to "include" the tabs in a separate php file and then you would need only to add the include tag to your tpl file stating where you would want the tabs to show up? There would still be the need to add logic for "if inside tabs, do not show outside tabs", but I'm toying with the idea to think if that would work better.
Any new updates on next TPL version? If you would like some assist testing please let me know.
Woody
When will the new files be available for download?...looks even better now!
Thanks
Pete