Re: How to make choice between resources of internal and external modules?

Andreas Hartmann <[email protected]>
Newsgroups gmane.comp.cms.lenya.user
Message-ID <[email protected]>
sac sha schrieb:
> Hi All
> 
> I want to use fallback functionality for my javascripts, css and other 
> resources. What I want to do is to use my internal modules css if 
> available, global modules(with the same name) css otherwise.
> I am trying to get it through fallback but not able to get it.

Fallback between different module versions is not yet supported. 
Actually it should not be possible to deploy multiple modules with the 
same name.

At the moment fallback works only for publications, i.e.

            $CHILD_PUB/lenya/modules/navigation/ …
overrides  $PARENT_PUB/lenya/modules/navigation/ …
overrides  $LENYA_HOME/src/modules/navigation/ …


In most cases you can use publication templating for a quite flexible 
fallback setup.


Sorry … As always, patches and ideas are very welcome :)


-- Andreas


-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.