These are chat archives for reactioncommerce/reaction

7th
Jun 2016
Himanshu Aggarwal
@haggarwal90
Jun 07 2016 11:26
Hi . Can i over write <some package>/server/register.js
Brent Hoover
@zenweasel
Jun 07 2016 11:26
It depends on what you mean
If it’s one of the core reaction packages then no
Himanshu Aggarwal
@haggarwal90
Jun 07 2016 11:27
actually i want to add extra template in the checkout containers.
Brent Hoover
@zenweasel
Jun 07 2016 11:27
what are you trying to do?
Himanshu Aggarwal
@haggarwal90
Jun 07 2016 11:28
in the reaction-package register.js, there are two containers
checkout-steps-main
Brent Hoover
@zenweasel
Jun 07 2016 11:28
the preferable way may be to create your own package and overwrite the checkout workflow without changing the original code
Himanshu Aggarwal
@haggarwal90
Jun 07 2016 11:28
checkout-steps-side
Brent Hoover
@zenweasel
Jun 07 2016 11:28
Yep
Himanshu Aggarwal
@haggarwal90
Jun 07 2016 11:28
i want to remove the checkoutlogin template from the main container
i did direct changes in the register.js but it is in reflecting
so i thought about over writting it like templates
Brent Hoover
@zenweasel
Jun 07 2016 11:30
did you do ./reaction reset?
Himanshu Aggarwal
@haggarwal90
Jun 07 2016 11:30
  • but it is not reflecting
nooo
what does it do
Brent Hoover
@zenweasel
Jun 07 2016 11:30
The same as a meteor reset but when you make a change to the registry you need to do that to have it take affect
Himanshu Aggarwal
@haggarwal90
Jun 07 2016 11:31
do u mean i can change register.js and after reseting the reaction , my changes will display
Brent Hoover
@zenweasel
Jun 07 2016 11:31
that’s correct
Himanshu Aggarwal
@haggarwal90
Jun 07 2016 11:31
ok thanks. i'll try now
Brent Hoover
@zenweasel
Jun 07 2016 11:32
kk
Lukas Sägesser
@ScyDev
Jun 07 2016 13:00
Is there a best practice to make a subscription that is always active on all routes?
For about the 5th time now I'm running into problems because the user account is not loaded and the address can't be accessed.
Lukas Sägesser
@ScyDev
Jun 07 2016 13:06
(to be fair: my fork is still based on 0.12 )
hern12
@hern12
Jun 07 2016 14:50
Hi my pc reaction is not recognized in cmd how to fix this thanks
Valery Orloff
@valorloff
Jun 07 2016 16:27
I've created a custom package and registered in the register.js custom layouts -> any display changes, i see fixture data only and default workflow, .....renaming, changing, typing any text in custom templates -> any display changes, still default workflow and fixture data,....
I deleted all from ReactionCore.registerPackage({ ---> ...any reaction)
RC ignores content of my registry.js, any errors,
Any reset manipulation does not help,
why? what's the secret?
Michael Jenny
@prinzdezibel
Jun 07 2016 17:38
@valorloff check first if the new layout is copied over to shop document in mongodb
Then there's a variable called DEFAULT_LAYOUT / DEFAULT_WORKFLOW
you need to do ./reaction reset to happen this
Aaron Judd
@aaronjudd
Jun 07 2016 22:33
@/all important update info on Meteor 1.4/Reaction 0.14 at http://discourse.reactioncommerce.com/t/reaction-0-14-and-meteor-1-4/111