Jump to content



Latest News: (loading..)

- - - - -

[Addon] Categories Accordion Box for 2.3.1


  • Please log in to reply
301 replies to this topic

#21 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,697 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 23 February 2011 - 06:55 PM

Again, turn the cache off and leave it off.

Now tell me what you think isn't working. I can't see anything wrong in your images.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#22   demz

demz
  • Members
  • 13 posts
  • Real Name:Mike

Posted 23 February 2011 - 07:13 PM

WELL JIM  :blink:

"Make it work without the cache first. Then flush the cache and it should continue to work."

Above sentence implies the opposite of your big letter in previous post.
Only have one conclusion and that is that this contribution is not suited for my webshop, customers love the speed :)

#23   FrankCRFG

FrankCRFG
  • Members
  • 8 posts
  • Real Name:Frank

Posted 25 February 2011 - 01:33 AM

Hello,

Is there a way so when you click on a category link it doesnt load the page but just expands (For example: you click on the "Hardware" link on the navbar while on index.php and it expands the category but still stays on index.php instead of going to the category list page)


Thank you

#24 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,697 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 25 February 2011 - 02:09 AM

That could be done. You would need to modify the code to pull all of the categories (currently only pulls top level plus one expanded). Then it's a simple matter of removing the links that load the subcategory pages. So yes it can be done, but not easily.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#25 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,697 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 25 February 2011 - 02:20 AM

That could be done. You would need to modify the code to pull all of the categories (currently only pulls top level plus one expanded). Then it's a simple matter of removing the links that load the subcategory pages. So yes it can be done, but not easily.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#26   easyq

easyq
  • Members
  • 28 posts
  • Real Name:Edgar Smit
  • Gender:Male
  • Location:The Hague, The Netherlands

Posted 25 February 2011 - 05:59 AM

Jim,
love this one, tested on my oflline shop and looks awesome so decided to implement on my live site.
Copied the files, truned off teh cache but i get this error:
Fatal error: Cannot redeclare class bm_categories_accordion in /home/jamel/domains/jamello.nl/public_html/includes/modules/boxes/bm_categories_accordion.php on line 14
quadruple checked everything i could but i think i must overlook something probably very simple. Can you help me out?
Everything is conditional, you just can't always anticipate the conditions.

#27 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,697 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 25 February 2011 - 06:14 AM

That usually means that you copied the code file to the languages directory. There are two different files in this distribution; check that you uploaded them to the right places. Or just upload again.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#28   easyq

easyq
  • Members
  • 28 posts
  • Real Name:Edgar Smit
  • Gender:Male
  • Location:The Hague, The Netherlands

Posted 25 February 2011 - 08:37 AM

View Postkymation, on 25 February 2011 - 06:14 AM, said:

That usually means that you copied the code file to the languages directory. There are two different files in this distribution; check that you uploaded them to the right places. Or just upload again.

Regards
Jim
I have 2 lagnuages installed, Dutch and English.
i already figured it out, i copied the bm_categories_accordeon from the general modules to the dutch map instead of the language/english one.
redid the correct one, now it works like a charm.
sorry, my bad.
But thanks for this great contri, makes my site looks so much better:
Old version:
[img]http://www.jamello.nl/temp/screenshotwebshop.jpg[/img]

With the accordeon:
[img]http://www.jamello.nl/temp/screenshotwebshopaccordeon.jpg[/img]
Everything is conditional, you just can't always anticipate the conditions.

#29   surrfman

surrfman
  • Members
  • 354 posts
  • Real Name:Timmy C
  • Gender:Male
  • Location:Great State of Michigan

Posted 28 March 2011 - 02:05 PM

Jim... installed the accordion module to the catagories, got a mixed result. the catagories heading is missing, now shows huge buttons for the sub categories. made sure to install the two same name files in the correct folders. what did I mess-up on; something simple? here is my current store look: http://www.discountegauges.com/


Thanks man, it's guys like you that make this world work!

     Timmy C

#30   jay2k5

jay2k5
  • Members
  • 42 posts
  • Real Name:Jay
  • Gender:Male
  • Location:UK

Posted 13 April 2011 - 03:27 PM

Hey I'm using this as my second box

does anyone know what CSS would I need to activate to give it a top margin of 10px to allow a gap? or how I could edit the script to do this?

Thanks

Jonny

#31   memzz

memzz
  • Members
  • 25 posts
  • Real Name:mehmet mentesh

Posted 17 April 2011 - 12:23 AM

Hi Jim Memzz again... hope all is well...

I really want a headerBox above my accordian menu... ive located this bit of code on line 240 of  bm_categories_accordian:

$data = '    <div id="categoriesMenu">' . PHP_EOL;    '  <div class="ui-widget-header ui-corner-top infoBoxHeading">' . MODULE_BOXES_CATEGORIES_BOX_TITLE . '</div>' .

Which i'm presuming should make my header show.... but its not working... I've double checked MODULE_BOXES_CATEGORIES_BOX_TITLE and all seems fine there... any ideas?

Thanks in advance,

Memzz

#32 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,697 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 17 April 2011 - 02:05 AM

Try this:

$data = ' <div id="categoriesMenu">' . PHP_EOL . ' <div class="ui-widget-header ui-corner-top infoBoxHeading">' . MODULE_BOXES_CATEGORIES_BOX_TITLE . '</div>' .  . PHP_EOL;
I left the title out because I couldn't get it to look right, so this may not work.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#33   memzz

memzz
  • Members
  • 25 posts
  • Real Name:mehmet mentesh

Posted 17 April 2011 - 12:21 PM

View Postkymation, on 17 April 2011 - 02:05 AM, said:

Try this:

$data = ' <div id="categoriesMenu">' . PHP_EOL . ' <div class="ui-widget-header ui-corner-top infoBoxHeading">' . MODULE_BOXES_CATEGORIES_BOX_TITLE . '</div>' .  . PHP_EOL;
I left the title out because I couldn't get it to look right, so this may not work.

Regards
Jim

Thanks Jim but no that didn't work.. it said there was an unexpected '.'....

I was thinking that i could insert <div class="ui-widget-header ui-corner-top infoBoxHeading"> inside column_left.php above where the accordian menu is called... but i'm having trouble finding where exactly to place it? Any ideas?

Thanks,

Mem

#34 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,697 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 17 April 2011 - 03:36 PM

There is no column_left.php in osCommerce 2.3.1.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#35   memzz

memzz
  • Members
  • 25 posts
  • Real Name:mehmet mentesh

Posted 17 April 2011 - 04:18 PM

View Postkymation, on 17 April 2011 - 03:36 PM, said:

There is no column_left.php in osCommerce 2.3.1.

Regards
Jim

Any ideas how i would go about doing that?

memzz

#36 ONLINE   kymation

kymation

    Believers

  • Community Sponsor
  • 6,697 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 17 April 2011 - 04:40 PM

Modules are self-contained, so you can't. The code needs to go inside the module.

Regards
Jim
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#37   memzz

memzz
  • Members
  • 25 posts
  • Real Name:mehmet mentesh

Posted 20 April 2011 - 02:16 PM

View Postkymation, on 17 April 2011 - 04:40 PM, said:

Modules are self-contained, so you can't. The code needs to go inside the module.

Regards
Jim

Ok i'm gonna try to maybe create a new box that (hopefully) just contains a header, possible by using your generic_box tut, and try to place it above the BM_accordians_menu..

Thanks Memzz

#38   Gregb

Gregb
  • Members
  • 1 posts
  • Real Name:Greg B.

Posted 26 April 2011 - 04:09 AM

Awesome addon, thank you for sharing.
I have a very stupid question, but I couldn't find the answer. When I installed the addon following the guide everything shows up just fine but the new created Accordion box is in the bottom of my left column and the original Categories box from OSC still shows up in the top of that same left column. So here is my question... How can I get rid off the orginal box and replace it with the Accordion box (just like it looks like on any screenshot sent by Jim on this thread)?
:blush:

Thanks for the help!!

Greg.

#39   hawken

hawken
  • Members
  • 63 posts
  • Real Name:Don Corleone

Posted 01 June 2011 - 10:03 AM

I am also having the cache problem. It works perfectly with the cache off (Just extremely slow) and when I turn on cache it doesn't show the jquery theme anymore, and also says "MODULE_BOXES_CATEGORIES_BOX_TITLE" instead of Categories?

I have tried turning cache off, clearing the cache and re-enabling it - no luck. I have tried changing cache directories to a new folder/name and still no go.

Any suggestions?

#40   johnjohnson

johnjohnson
  • Members
  • 4 posts
  • Real Name:Sean Johnson

Posted 03 June 2011 - 04:06 PM

View PostFrankCRFG, on 25 February 2011 - 01:33 AM, said:

Hello,

Is there a way so when you click on a category link it doesnt load the page but just expands (For example: you click on the "Hardware" link on the navbar while on index.php and it expands the category but still stays on index.php instead of going to the category list page)


Thank you

Has anyone managed to achieve this? Would really improve functionality so people could see what is in another category without being forced leave their current page...