Alex,

1) APC - check!
2) Enabled ysfDimensionsPlugin in ProjectConfiguration::setup()
3) Changed parent class for ProjectConfiguration (extends
ysfProjectConfiguration), frontendConfiguration (extends
ysfApplicationConfiguration)
4) Updated dimensions.yml with valid dimensions
5) Update ProjectConfiguration::configure to set dimensions

You can only chain different dimensions together (ie: culture/theme/
host). This is done by creating a directory that follows the chain
(en_classic_mysite, en_classic, en). You do not nest the directories,
just combine the dimensions with an underscore. To see the valid
dimensions look in the debug toolbar settings for dimension.
Otherwise, please reply with your ProjectConfiguration, dimension
configuration, and snippet from logs.

Cheers,

Dustin

On Jun 24, 2:51 am, "a...@speedypin.com" <a...@speedypin.com> wrote:
> Hi All
>
> Has anyone been able to use this with multiple dimensions extending
> the view or controller?
>
> I have installed ysfDimensionsPlugn from the 1.2 branch,
>
> i)It requires apc, so I installed that.
> ii) I then set up my dimensions and edited the project and app
> bootstrap php class as mentioned in the readme.
>
> iii)I then set a config variable and over wrote its value in the
> app.yml config file of one  dimension then two dimensions together.
> <-- So far so good.
>
> Here's what I can't crack, is it a bug? -->  iv) I then tried
> extending the controller and view, this is where I ran into trouble,
> and after 4 hours of just trying to solve this, after it wouldn't work
> as the readme stated and swapping directory names around, nesting
> directories it seems I can't get this to work with multi dimensions
> like step 3 and the config values, it only respected my language
> dimension, (as I had a directory called 'en' inside my template, it
> would pull from their if a view existed) It seems it only worked as
> one dimension for views and controllers, [unless i was witnessing
> default I18N handling or something]
>
> Has anyone been able to use this with multiple dimensions extending
> the view or controller,  typical dimensions (and what I want) is the
> language (en, es, fr) and site (for white-labeling/multi-sites)?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to