![]() |
New to this
Ok this looks good but i am new to this adding files etc so far l have copied the css code but when you say create a new file do i do that by ftp or in the admin at x-cart and where do l put the file???
Step by step if possible Garry |
Nice mod
Ive just tried this mod, and thx by the way.
I seem to get funny edge's to on my tabs? has any one found a cure? Also Im new to all this and i was wondering if i want to change the siz of my tabs, can i just replace the pic with my own design and find the code and change size? where would i look? Thanks in advance The funny edge is the left corner is always square. http://swordmart.co.uk/xcart/ test shop EDIT: fixed! |
Quick question? or not?
hi thanks for sharing this great mod!
I was wondering if it was possable to have 2 lines of tabbed menus? as i have lots of Categories. Would this take a lot of modding? Cheers Jamie |
Hello
Thankyou for this very nice mod. I think I have found a way to make the lag in the tab edges go away, I think some people are also having problems with it, I did the following and it works for me. Please realise I do not have any knowledge of Java and I could well be missing something that is fundamentally wrong. When it comes to code of any description I am like a parrot, I can copy and make some very basic changes, but have no underlying understanding of what it means. This is for Tabs.js in the skin1/customer directory. My fix did not fix :( I got my mods mixed up, and my positive vibes made me think that I had fixed something I had not, maybe next time. I hope this can help some people, its a very useful mod. |
I think you also have your posting mixed up. There is no java in this tabs, only for the post on tabbed products detail.
|
Re: Quick question? or not?
Quote:
Must be someone who's done this because I've seen website run by people on this forum with two or more lines of tabs |
splitting menus onto new lines
Ok, I'll have a look at this over the weekend, and hopefully post some revised code. I think i'll also have the time-lag on the tab rollovers fixed by then.
I have ideas for both that I'm fairly confident about, so its just a case of trying them out. (by the way i've deliberately done it to all be HTML and CSS based rather than javascript - i'm going for maximum compatibility and accessibility) Glad you like the mod! |
Update
Hi I've updated the code in my first post, as follows:
Updated tab_menu.tpl to better manage the subcategories sub menu. It now truncates long names, and wraps onto more than one line if there are lots of subcats. I also improved the way that it creates the subcategories menu, so that it will keep the first level of subcategories displayed, however deep down into sub-sub-sub-categories you are! (Thanks to fernando for making a post elsewhere that helped me with this). Those of you who also wanted to wrap the main menu tabs if there were lots of them can look at how i've done it for the subcats and adapt the code for the main tabs. I won't be doing this as I think it'll look messy, and believe in having a smaller number of main tabs. I'll also work on a way of preloading the rollover images to reduce the delay in displaying them. steve |
Thanks Steve
I have been watching for your update, I would vote this the best free mod on the forum. Thanks very much. Regards Adam |
Good stuff. Been waiting patiently for this
Cheers |
Does anyone have the tab images that were in the first post? I do not see them anymore.
|
tabs
ooops, sorry - have moved server. I'll repost them soon
steve |
Steve, Hi
Do you have an idea of what to modify to make the tabs wrap after say 7 tabs? Thanks Allan |
amazon tabs mod update
Hi all
OK I've updated the links to the tab images. Re: having two lines of tabs, I think it would look pretty odd, but if you really really want to do it then have a look at what I've done to split the subcategories into multiple rows if there are too many: Code:
{assign var=subcat_count value=1} The key section to look at within that is: Code:
{if $subcat_count eq 7 || $subcat_count eq 14 || $subcat_count eq 21}</TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0"><TR><TD class="submenuitem"> So it whenever the section is processing items 7, 14 and 21 it closes off the existing table and creates a new one. It's a table so that each row is individually centred. You can then adapt this code to be used with the main tabs. However I would suggest reducing the number of top level categories that display on tabs instead, but that's only my 2 cents. steve[/b] |
steveparks,
Thank you so much for the tab images. One more favor, your website listed in the first post that show the preview is no longer up. Is it possible you can show me these tabs on a functioning website or at least a screenshot? I just want to see how they look and perform before I install them. Thank you again! |
example site
Hi
They are live on http://www.redshop.biz PLEASE NOTE: THIS IS A LIVE STORE!!!! please do not place test orders, etc etc. thanks steve |
Is there a way to display sub-sub categories with this mod?
|
sub-sub categories
I've only had a few minutes, so this may not work first time - you might have to tweak the code a bit - but this should display the immediate subcategories of the current category/subcategory.
Code:
|
how can I have it like this...
Instead of having subcategories listed under the tab, can I have it listed on the left side menu? So, on the left side menu (where it usually list all categories) only shows the current categories name then all subcategories under it. And when you are on the current subcategory the link will be highlighted or shows different css. I remember seeing this somwhere from this froum, but I can't seem to find it no more. |
This is one of the best free mods I've ever encountered here - thanks for sharing it.
|
Thanks
Thanks kevinrm - feedback much appreciated.
Lucent88 - to do what you want you can edit the current subcategories menu, you wouldn't make that part of this mod. cheers steve |
great mod, thumbs up! Just one thing, im getting a trailing "|" after my last sub-cat... I notice on the example site this is not the case.
Eg. of my problem Sub cat 1 | Sub Cat 2 | Sub Cat 3 | If one sub cat is showing, there is no trailing "|" after it, please advise. |
officeline.biz
I tried the mod from page 1 of this thread and got the result that appears on www.officeline.biz
In step 2 where you say "2. Add this CSS code to your skin1/skin1.css file:", do I replace everything in the skin1.css file with your code or where do I add the code in. Great looking mod by the way, if only I could get it to work. Robert |
Add the code at the end of the current skin1.css file, it seems you have replaced it.
|
has anyone managed to get this working in 4.1.x? I am testing all the modifications, and this ones doesnt show up at all... :?
|
Bump:
Is the code at the top of this thread fully working and live on any sites? Forgive me for not reading the whole thing if you've already posted links. Example(s) much appreciated |
code working
Hi
I have the code working at http://www.redshop.biz (live site). That site is running 4.0.17. I haven't tested the mod on any other configuration. cheers steve[/url] |
Cheers - looks good in FF, still has that strange load in IE though - but it looks well usable.
|
I just realize that this only display down to 2 level deep, how can I modify it to have it 1 or 2 more levels deeper?
My Shop > Woman > Shoes > Sandle > product name I'm only having my store showing the first tab which is (Home, men, women, and houseware), I didn't want it to show the subcategory. The reason for this is I just want my customer to know which section they are in like men or women. If they are in the section of men, I want the tab to be active. At this moment after I pass Sandle, none of the tab is active no more. |
Quote:
Let me revise that. What I really meant was that.. When I get to the 3rd level, the active tab of woman is no longer shown as active. How can I keep it active? |
Does anyone hava an update for version 4.12?
It would be highly appreciated. |
amazon style menu for 4.12
Anybody wants the code for xcart 4.12, let me know, i figured it out.
|
Can you post it?
|
Please copy over the skin1/customer/tab_menu.tpl file with the following code:
Quote:
Cheers |
Seems to have needed another {/if} after the last {/if} in the code provided, to get this to work on my test site.
Edit: Although having said that, it only displays one home link as the parent category, no other main categories are displayed. |
whoops i forgot the test site has different positions for the cats, ie. 10, 20 etc, lowered the numbers in categories.php admin page, and the cats show now, in case anyone else missed that like me. :oops:
|
There is a problem with the 4.1x code a few posts ago, in that the sub categories do not even appear after more than one level deep
|
any update on this is appreciated
|
Subcategories only works too!
I commented out the table with the main categories in the tabs and just left the subcategories, and it works great. Only took a few minutes to install, too. Thanks!
in action: www.mineandmillindustrialsupplyco.com |
Re: amazon-style tabbed menu for 4.0.x
Has anyone got this working with 4.13. I simple doesn't show anything below where i place the
{ include file="customer/tab_menu.tpl" } I would really like to get this working. Thanks Steve xcart 4.13 gold |
All times are GMT -8. The time now is 09:39 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.