Thanks - there may also be a typo in the code example for config.php:

$culture = if(!empty($_REQUEST['culture'])) ? $_REQUEST['culture'] :
'en';
$theme = if(!empty($_REQUEST['theme'])) ? $_REQUEST['theme'] :
'classic';

the ternary operator doesn't use an "if" IIRC and may cause problems.


Finally, if you get time please could you also take a look at my post
on the forums regarding dimensions and routing.yml?:
http://www.symfony-project.org/forum/index.php/t/12588/

Much appreciated, and great plugin,
Phil / lazymanc

On 21 Apr, 16:36, Dustin Whittle <[EMAIL PROTECTED]>
wrote:
> Phil,
>
> Yes, that is correct. In the case of configuration files the cascade is
> reversed to that en_corporate takes precedance. I will fix the typo today.
>
> Cheers,
>
> Dustin
>
> On 4/21/08 2:44 AM, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
>
> > Hi, just been getting to grips with the Dimensions plugin and I think
> > i've come across an error in the readme.
>
> > "When symfony looks for a configuration or template file it will
> > insert a new order of precedence: first it will load files from
> > 'en_corporate', then 'corporate', and then 'us'."
>
> > I'm pretty sure the "us" should be "en".
>
> > It's on line 116:
> >http://trac.symfony-project.com/browser/plugins/ysfDimensionsPlugin/b...
> > .0/README#L116
>
> > Cheers,
> > Phil
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to