JrButtons

Developer Networks
Developer Networks
@developer-networks
11 years ago
566 posts
One thing ive been trying to work around lately is the ecommerce buttons. and how my module will plug in to yours. The way you set up the foxycart module is embedded in all of jamroom modules for the price and buy now buttons ect..

Am i supposed to re write all the jrModules and place my buttons in them. Then also support the changed versions?

Or are you planning on universal Jamroom buttons for modules looking to call on these functions?

I would think you could have added jr buttons to the module and had foxycart module call on them. That way when a developer is needing to hook in to the jrAudio module for example it makes life much easier.
updated by @developer-networks: 01/03/14 01:10:45PM
brian
@brian
11 years ago
10,148 posts
There is actually a plan for doing something like this, it just did not make it into JR 5.1. Basically in the item_list.tpl and item_detail.tpl files there will just be a single call for "item buttons" (similar to the new item details setup in JR 5.1). Modules will be able to hook into the item buttons event and place their buttons into the item.

The site owner will be able to decide which buttons show where, and the order.

It's more complicated than it seems on the surface which is why it got pushed to 5.2, but it's coming.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
11 years ago
10,148 posts
I should add that for now you would want to provide a document on changing out the existing jrFoxyCart button to your module button.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Developer Networks
Developer Networks
@developer-networks
11 years ago
566 posts
No this actually helps a lot. It is a much needed tool for developers to be able to talk to your modules with out having to change your code. Thanks, and i will deffinatly look forward to this update.
Developer Networks
Developer Networks
@developer-networks
11 years ago
566 posts
brian:
I should add that for now you would want to provide a document on changing out the existing jrFoxyCart button to your module button.

I already have, Just got tired of doing it every update and decided jrButtons would make a great solution to all.

Tags