These are chat archives for reactioncommerce/reaction

24th
Feb 2017
hashmaster
@hashmaster
Feb 24 2017 00:31
Hello.
Has anyone experience with Reaction bitcoin integration?
hashmaster
@hashmaster
Feb 24 2017 02:06
hello
who is here?
Brent Hoover
@zenweasel
Feb 24 2017 02:15
I am here
zenweasel @zenweasel I’m here
hashmaster
@hashmaster
Feb 24 2017 02:16
Hi do you know anything about reaction bitcoin integration
@zenweasel
Brent Hoover
@zenweasel
Feb 24 2017 02:17
No. A couple of people have mentioned wanting it but I don’t think anybody has done it. You would just need to add a currency and some way of updating the exchange rate
hashmaster
@hashmaster
Feb 24 2017 02:20
ok
Vigy
@vigyano
Feb 24 2017 07:07

@zenweasel any thoughts on my earlier question?

how to override urls for all the product pages and admin dashboards? adding registry for default productsLanding page works but breaks all the dashboard and product details page.

Brent Hoover
@zenweasel
Feb 24 2017 07:08
No, I can’t think of an easy way to do that without modifying core code
Vigy
@vigyano
Feb 24 2017 07:10
I see, I think I can live with those urls for now but my issue is when enabling default custom layout in registry, the product details and dashboard are not following the default custom layout and on click of those menu nothing works
Brent Hoover
@zenweasel
Feb 24 2017 07:11
Have you modified the layout records in the registry?
Vigy
@vigyano
Feb 24 2017 07:13
Yes, here is the custom layout I use :
layout: [{
    layout: "coreLayoutCustom",
    workflow: "coreWorkflow",
    theme: "default",
    enabled: true,
    structure: {
      layoutHeader: "navbarCustom",
      layoutFooter: "footerCustom",
      notFound: "productNotFound",
      dashboardControls: "dashboardControls",
      adminControlsFooter: "adminControlsFooter"
    }
  }]
coreLayoutCustom, navbarCustom, footerCustom are copy and modified version of its core templates
Brent Hoover
@zenweasel
Feb 24 2017 07:15
if you want to change the layout everywhere you need to do something like this:
https://github.com/reactioncommerce/reaction-example-plugin/blob/master/server/init.js#L35
the terminology is a little confusing but layout refers both to the combination of a layout template and combination of template + workflow + structure data
Vigy
@vigyano
Feb 24 2017 07:17
yes, i have that and calling changeLayouts as
changeLayouts(Reaction.getShopId(), "coreLayoutCustom");
Brent Hoover
@zenweasel
Feb 24 2017 07:18
then that should work
Vigy
@vigyano
Feb 24 2017 07:18
I used the same example plugin and started customizing on top of that
Brent Hoover
@zenweasel
Feb 24 2017 07:18
it works when you drop the beesknees project plugin in
Vigy
@vigyano
Feb 24 2017 07:21
let me quickly check that again with the example
Vigy
@vigyano
Feb 24 2017 07:38
yeah, the example plugin works. Not sure if the custom default layout block any core layout, let me check and get back. Thanks.
orenku
@orenku
Feb 24 2017 21:15

I've just started evaluating Reaction. I've followed the instructions for installing on my Mac, started the app using 'reaction run' and get the following exception:
/Users/oren/.meteor/packages/coffeescript/.1.11.1_4.1kteknt++os+web.browser+web.cordova/plugin.compileCoffeescript.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:190
throw error;
^

Error: ENFILE: file table overflow, scandir '/Users/oren/projects/vimall/node_modules/npm/node_modules/read-installed'
at Error (native)
at Object.fs.readdirSync (fs.js:808:18).....
I'm not sure this is the right forum for such questions, if not could you please direct me to the right place?

Brent Hoover
@zenweasel
Feb 24 2017 22:58
@orenku Hey, I think you might be running into the an issue with the number of files. Depending on what version of OSX you are running you will need to increase that. http://superuser.com/questions/433746/is-there-a-fix-for-the-too-many-open-files-in-system-error-on-os-x-10-7-1