Zotonic
Zotonic
zotonic@conference.zotonic.com
Wednesday, 1 August 2012< ^ >
arjan has set the subject to: Zotonic - the Erlang CMS
Room Configuration

GMT+2
[08:11:26] arjan joins the room
[08:35:15] Ilya Rezvov leaves the room
[08:45:59] kaos joins the room
[09:18:24] maas.maarten.zeeman joins the room
[11:21:00] maas.maarten.zeeman leaves the room
[13:27:37] Ilya Rezvov joins the room
[17:31:25] kaos leaves the room: Computer went to sleep
[18:09:03] arjan leaves the room
[19:35:49] arjan joins the room
[19:37:34] arjan leaves the room
[19:38:08] arjan joins the room
[20:29:29] arjan leaves the room
[20:33:39] arjan joins the room
[21:46:33] <Ilya Rezvov> arjan: hi
[21:46:46] <Ilya Rezvov> i learn your mod_shop
[21:46:59] <Ilya Rezvov> it has such definition event(#submit{message={add_to_cart, Args}}, Context)
[21:47:28] <Ilya Rezvov> it will be called from wire notify?
[21:48:33] <arjan> yes
[21:48:38] <arjan> from a button
[21:48:39] <Ilya Rezvov> i need add action notify with message contain arguments
[21:48:56] <Ilya Rezvov> id, variant_id etc
[21:49:20] <arjan> 1:{% wire id="basket-form" type="submit" postback={add_to_cart id=id variant_id=variant_id action={redirect location="/cart"}} delegate="mod_shop" %}
[21:49:54] <Ilya Rezvov> thx
[21:50:55] <arjan> https://gist.github.com/3230083 is the complete code of my "add product" form
[21:51:24] <arjan> it was not in mod_shop but in my private repo
[21:52:43] <Ilya Rezvov> it is very usefull for me
[21:52:49] <Ilya Rezvov> big thx :_
[21:52:50] <Ilya Rezvov> )
[21:53:44] <arjan> no problem :D
[21:53:53] <arjan> I should move it to mod_shop
[21:54:06] <arjan> it would actually be nice if mod_shop was usable by itself ;-)
[21:54:12] <arjan> will get there eventually
[21:54:21] <arjan> feel free to fork it and make changes! :)
[21:55:02] arjan leaves the room
[21:55:08] <Ilya Rezvov> i have done it already :)
[22:14:53] kaos joins the room
[22:33:03] kaos leaves the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!