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

GMT+2
[00:00:05] Ilya Rezvov leaves the room: Replaced by new connection
[00:00:07] Ilya Rezvov joins the room
[00:08:39] Ilya Rezvov leaves the room
[00:09:01] Ilya Rezvov joins the room
[00:36:09] <kaos> Yeah, I'm trying to get to grips with monads. Looks cool. But that was one of the things I had a hard time to grep with Haskell...
[00:36:17] kaos leaves the room
[01:25:23] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[01:25:23] Marc Worrell joins the room
[02:58:30] Ilya Rezvov leaves the room
[02:58:48] Ilya Rezvov joins the room
[07:28:48] Ilya Rezvov leaves the room
[07:49:55] arjan joins the room
[08:05:25] arjan leaves the room
[08:20:04] arjan joins the room
[08:43:23] Ilya Rezvov joins the room
[08:45:08] arjan leaves the room
[08:47:43] arjan joins the room
[09:12:08] maas.maarten.zeeman joins the room
[10:36:23] kaos joins the room
[11:16:45] arjan leaves the room
[11:19:34] arjan joins the room
[11:31:08] <kaos> Actaully, the short tutorial on monads here https://github.com/rabbitmq/erlando/ explained it a lot better than I've ever seen before... :)
[11:37:01] arjan leaves the room
[11:37:45] arjan joins the room
[11:49:26] kaos leaves the room
[12:20:25] arjan leaves the room
[12:40:10] kaos joins the room
[12:58:52] <Marc Worrell> where shall i put extra js/css for bootstrap funcionality (adding a hide/show toggle etc) Shall we put it in mod_bootstrap/js/modules/ ?
[12:59:25] <Marc Worrell> so that it is together with bootstrap, but not mixing with the bootstrap files
[13:08:35] arjan joins the room
[13:29:09] <kaos> I'd suggest keeping it out of mod_bootstrap/lib/bootstrap/... at least. (not sure of where exactly you proposed to put it...)
[13:29:33] <kaos> that is since the whole structure from bootstrap/... and down is from the release tar ball of bootstrap....
[13:30:11] <kaos> so it's nice to keep it clean you can safely flush it when upgrading to a new bootstrap release... :)
[13:32:05] <Marc Worrell> i was thinking mod_bootstrap/lib/{js,css}
[13:32:19] <Marc Worrell> so not in mod_bootstrap/lib/js/bootstrap/...
[13:45:30] arjan leaves the room
[13:47:08] <Marc Worrell> interesting, we have a collision between the 'image' dispatch rule (for an image) and the category based dispatch rule 'image' (for page urls)
[13:47:35] <Marc Worrell> maybe we need to rename the 'image' dispatch ruleā€¦. would be a shame though
[13:47:54] <Marc Worrell> otherwise we need to make a kind of exception for the category/dispatch-rule lookups
[13:48:15] <Marc Worrell> (in case of 'image')
[14:15:39] arjan joins the room
[14:18:35] arjan leaves the room
[14:21:36] arjan joins the room
[16:47:01] arjan leaves the room
[17:42:27] maas.maarten.zeeman leaves the room
[17:50:03] Ilya Rezvov leaves the room
[18:28:29] arjan joins the room
[18:29:31] <arjan> what do you mean, collision?
[20:15:20] Ilya Rezvov joins the room
[20:18:08] Ilya Rezvov leaves the room
[20:18:32] Ilya Rezvov joins the room
[20:37:04] <kaos> mod_base has a image dispatch rule for images. Where's the image rule for page urls?... (searching...)
[20:45:38] <kaos> uhm.. the collision ought to be the generation of page url based on category, and the category is named image, so if you want to provide a category based page url for the image category, that'll collide with the already existing dispatch rule for images.
[20:46:16] <arjan> ah yeah like that
[20:58:42] <Ilya Rezvov> it is linked with 23:56:31.324 [info] [arcticforum] warning @ m_rsc:634 Failed to get page url path. Is the `page' dispatch rule missing?
[21:05:39] <arjan> Ilya Rezvov: you need to make a dispatch rule named "page"
[21:06:00] <arjan> because otherwise pages you create in the admin dont know on which URL they live
[21:06:22] <Ilya Rezvov> how it can seems?
[21:07:39] <arjan> {page, ["page", id, slug], resource_page, [ {template, {cat, "page.tpl"}} ]},
[21:11:02] <Ilya Rezvov> ok
[21:11:27] <Ilya Rezvov> did it removed from mod_base?
[21:12:05] <arjan> yes
[21:12:17] <arjan> maybe we should move it back in, actually; since it is such a basic thing
[21:12:23] <arjan> it is now in mod_base_site
[21:17:15] <Ilya Rezvov> i just actvie this module, thx :)
[21:17:53] <Ilya Rezvov> i update my old site from 0.6 to 0.9dev
[21:17:58] <Ilya Rezvov> and all ok
[21:18:11] <Ilya Rezvov> only this message
[21:18:50] <Ilya Rezvov> and lang code in url break all search queries :)
[21:19:27] <arjan> heh
[21:19:33] <arjan> you can disable mod_translation
[21:19:40] <Ilya Rezvov> i use it
[21:19:47] <arjan> there is actually a ticket to make that language in the URL optional
[21:19:49] <Ilya Rezvov> my site use 2 langs
[21:19:56] <arjan> ok
[21:20:24] <Ilya Rezvov> i think it usefull thing
[21:20:52] <Ilya Rezvov> but i think no need in lang code for default lang
[21:21:04] <Ilya Rezvov> as option
[21:23:19] <arjan> yes, that makes sense
[21:23:42] <arjan> if that is not too complicated
[21:23:48] <Ilya Rezvov> yeah
[21:24:10] <arjan> you dont want to get a language named "page" because the translation module expects the first url part to be the language :P
[21:24:36] <arjan> language in the subdomain would also be nice
[21:24:41] <arjan> :)
[21:26:11] <Ilya Rezvov> maybe try search both rule
[21:26:29] <Ilya Rezvov> /page/11
[21:26:37] arjan leaves the room
[21:27:11] <Ilya Rezvov> and if rules with langs didnt find - use rule for default lang
[22:59:51] <kaos> +1 for subdomain lang
[23:00:03] kaos leaves the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!