Hi  Andreas

Thanks for the mail.
I am trying to achieve exactly the same functionality which you mentioned
ie.:

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

But some reason I am not able to apply it. Say if I want to apply a
javascript as fallback how I can achieve that? Right now I am using it as:

<script language="javascript" src="/modules/example/javascript/test.js">
</script>

I have tried fallback://modules/example/javascript/test.js as well.

but I think this is not the right way.

Regards
Sac


On Wed, Oct 14, 2009 at 6:30 PM, Andreas Hartmann <[email protected]>wrote:

> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Regards
Sachin Sharma

Reply via email to