El lun, 23-01-2006 a las 19:22 +0100, simon escribió:
> hi devs
>
> i played a bit in lenya 1.4 and i tried to implement the FCKeditor as
> module.
> i would like to propose a change in the lenya-core.
> it would be very nice to have acces to /module/{modulenname}/resources/
> where you can reach different files that the modules using inernaly
> internally. like images or javascripts who are used in the module.
>
> the simples i see so far would be to add
>
> <!-- Enter a module -->
> <map:match pattern="**/modules/*/**">
> <map:mount uri-prefix="" src="lenya/modules/{2}/sitemap.xmap"
> check-reload="true" reload-method="synchron"/>
> </map:match>
>
> to the lenya sitemap.
> but in this case *modules* would be a reserved word.
> but maybe there are some other ways avoiding this problem.
>
You can already reach all module resources like pics.
uri?lenya.module={modulenname}
e.g. path/someCss.css?lenya.module=myModule
This would mount the sitemap of {modulenname} and looking for the uri.
...or did I miss something?
salu2
--
thorsten
"Together we stand, divided we fall!"
Hey you (Pink Floyd)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]