♥kymation Posted June 29, 2013 Author Share Posted June 29, 2013 Yes, and that has side effects, including what you noticed. If you don't like that, I suggest that you use the original version that has been tested and works as intended. Sorry, but I can't make custom versions for everyone who wants something slightly different. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
jcannaveno Posted July 1, 2013 Share Posted July 1, 2013 Hello, I just installed this module today and it really looks great..although i'm not sure it's functioning properly..when you click on a category heading it opens up to the sub categories like its supposed to..but it also redirects to the page for that main category and the accordion will not close..please help Quote Link to comment Share on other sites More sharing options...
♥kymation Posted July 1, 2013 Author Share Posted July 1, 2013 That sounds like it is working as intended. Does it look like the screenshots on the first page of this thread? Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
jcannaveno Posted July 1, 2013 Share Posted July 1, 2013 i don't know...the links for your screenshots don't seem to be working Quote Link to comment Share on other sites More sharing options...
♥kymation Posted July 1, 2013 Author Share Posted July 1, 2013 This forum's image linking is broken. Click on the link, then delete the [/img at the end of the URL. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
jcannaveno Posted July 1, 2013 Share Posted July 1, 2013 got it..yeah that's pretty much what it looks like..so the accordion boxes aren't supposed to close again when clicked on? Quote Link to comment Share on other sites More sharing options...
♥kymation Posted July 1, 2013 Author Share Posted July 1, 2013 No, they're not supposed to close until another category is opened. What action would be tied to closing a category? I suppose you could go back to the front page of the store, but that seems like a waste of bandwidth, and I doubt it's what the customer would expect. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
jcannaveno Posted July 1, 2013 Share Posted July 1, 2013 there is an example of your add on in one of the posts in this thread..www.racingmedia.de..when you click on one of the categories on this site the accordion box opens and when clicked again it closes..it doesn't navigate from the home page till you click on a sub category..is this a separate modification to your add on? Quote Link to comment Share on other sites More sharing options...
♥kymation Posted July 1, 2013 Author Share Posted July 1, 2013 Yes, if you read back a page or two you can find the discussion of the changes. That change also introduces its own problems, so test it before you decide to use it on a live site. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
jcannaveno Posted July 2, 2013 Share Posted July 2, 2013 i can't seem to find the code changes that stratula made to have his accordion boxes function that way..i would really like it to function like this on my site..i have all the latest jquery files and i'm running a 2.3.3 oscommerce build.. Quote Link to comment Share on other sites More sharing options...
♥kymation Posted July 2, 2013 Author Share Posted July 2, 2013 I posted the change, so read back through my posts and you'll find it. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
jcannaveno Posted July 2, 2013 Share Posted July 2, 2013 This is the only change i could find: comment out these lines $categories_string .= ' onclick="location.href=\''; $categories_string .= tep_href_link( FILENAME_DEFAULT, $cPath_new ); $categories_string .= '\';"'; this kind of works..but my sub categories are no longer shown Quote Link to comment Share on other sites More sharing options...
♥kymation Posted July 2, 2013 Author Share Posted July 2, 2013 That's it. The subcategories will show in the box but not on the page. That's the intended behavior, and that is the code being used on the page you referenced, so far as I can tell. If you really want something different, then you will have to be more specific about what you want. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
jcannaveno Posted July 2, 2013 Share Posted July 2, 2013 the subcategories do not show in the box..i click on the main categories and they give me a blank drop down..i want the home page to stay static while the accordion boxes act dynamically..i want the main categories to open and close when clicked on..i don't want to navigate away from the home page until a sub category is clicked on..just like it works on racingmedia.de Quote Link to comment Share on other sites More sharing options...
♥kymation Posted July 2, 2013 Author Share Posted July 2, 2013 He's apparently made some other change to get the subcategories to show. Unfortunately I don't have time right now to make this special version work for you. Feel free to experiment with it yourself, or use a different categories box. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
jcannaveno Posted July 2, 2013 Share Posted July 2, 2013 i'm all for experimenting..but can you give me some idea as to what change he may have made or where he made it? Quote Link to comment Share on other sites More sharing options...
♥kymation Posted July 2, 2013 Author Share Posted July 2, 2013 I have no idea. Something in the module file of course. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
InspektorS Posted July 6, 2013 Share Posted July 6, 2013 i'm all for experimenting..but can you give me some idea as to what change he may have made or where he made it? Look on page 7 of this forum Quote Link to comment Share on other sites More sharing options...
jcannaveno Posted July 9, 2013 Share Posted July 9, 2013 got it..got that to work for the most part..the only problem i'm having now is that the categories drop down the whole length of the page..the drop down doesn't just end after the last sub category..is this constraint in the stylesheet? Quote Link to comment Share on other sites More sharing options...
♥kymation Posted July 9, 2013 Author Share Posted July 9, 2013 That should not happen. You may have changed something in the code to cause that. Does this code in the module file match yours: $categories_string .= ' <script type="text/javascript">' . PHP_EOL; $categories_string .= ' $(function() {' . PHP_EOL; $categories_string .= ' $( "#categoriesMenu" ).accordion({' . PHP_EOL; $categories_string .= ' autoHeight: false,' . PHP_EOL; $categories_string .= ' collapsible: true,' . PHP_EOL; $categories_string .= ' icons: {' . PHP_EOL; $categories_string .= " 'header': 'ui-icon-" . MODULE_BOXES_CATEGORIES_ACCORDION_ICON . "'," . PHP_EOL; $categories_string .= " 'headerSelected': 'ui-icon-" . MODULE_BOXES_CATEGORIES_ACCORDION_ICON_SELECTED . "'" . PHP_EOL; $categories_string .= ' },' . PHP_EOL; $categories_string .= ' active: ' . $category_active_id . PHP_EOL; $categories_string .= ' });' . PHP_EOL; $categories_string .= ' });' . PHP_EOL; $categories_string .= ' </script>' . PHP_EOL; Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
jcannaveno Posted July 9, 2013 Share Posted July 9, 2013 i've decided to abandon this module..i noticed the superfish categories module that you put up and i would much rather use that..i posted a question in that thread Quote Link to comment Share on other sites More sharing options...
CGhoST Posted October 5, 2013 Share Posted October 5, 2013 What this addon can make it the best is if a flyout menu could be added to subcategories. I am not a programmer otherwise i would definetely assist in adding it. But i have read it can be done with the jquery $("#menu").menu(); function. Here is the code of how to do it but i know programming so kymation could be kind enough to add it would be great. <head> <meta charset="utf-8" /> <title>jQuery UI Accordion - Default functionality</title> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" /> <script src="http://code.jquery.com/jquery-1.8.3.js"></script> <script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css" /> <script> $(function() { $("#menu").menu(); $("#accordion").accordion(); }); </script> </head> <body> <div id="accordion"> <h3>Section 1</h3> <div> <ul id="menu"> <li class="ui-state-disabled"><a href="#">Aberdeen</a> </li> <li><a href="#">Ada</a> </li> <li><a href="#">Adamsville</a> </li> <li><a href="#">Addyston</a> </li> <li> <a href="#">Delphi</a> <ul> <li class="ui-state-disabled"><a href="#">Ada</a> </li> <li><a href="#">Saarland</a> </li> <li><a href="#">Salzburg</a> </li> </ul> </li> <li><a href="#">Saarland</a> </li> <li> <a href="#">Salzburg</a> <ul> <li> <a href="#">Delphi</a> <ul> <li><a href="#">Ada</a> </li> <li><a href="#">Saarland</a> </li> <li><a href="#">Salzburg</a> </li> </ul> </li> <li> <a href="#">Delphi</a> <ul> <li><a href="#">Ada</a> </li> <li><a href="#">Saarland</a> </li> <li><a href="#">Salzburg</a> </li> </ul> </li> <li><a href="#">Perch</a> </li> </ul> </li> <li class="ui-state-disabled"><a href="#">Amesville</a> </li> </ul> </div> <h3>Section 2</h3> <div> <p>Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna.</p> </div> </div> </body> Quote Link to comment Share on other sites More sharing options...
♥kymation Posted October 5, 2013 Author Share Posted October 5, 2013 Try the Superfish menu box. It does the flyout, although without the jQuery UI Menu function. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
CGhoST Posted October 5, 2013 Share Posted October 5, 2013 I am happy with the superfish addon also but what i wanted was the subcategory to go down and consequent sub-sub categories to fly out. Quote Link to comment Share on other sites More sharing options...
♥kymation Posted October 5, 2013 Author Share Posted October 5, 2013 I'm not aware of any addon that performs that way. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.