This is how I did it in 1.0 First I created a filter I called it. domainWatchFilter.class.php It's job is to get the host name requested, and check the database and get the database site id information. The theme id is them put in a constant for later use.
Then I override the view. with domainWatcherView.class.php in module.yml I specify the view_class as domainWatch. This is where I grab the theme from the database and change the them (by changing the decorator directory name). Not sure if 1.1 is different, but it shouldn't be too different. James On Nov 9, 2008, at 2:29 AM, Mohammad Asif Ali wrote: > > Hi, > > I would like to gather your expert ideas in implementing dynamic > themes in my project. > > Presently my application creates a new blog for every user. Now i want > to give dynamic theme creation.I am managing the themes manually using > the sfdimensions plugin. Each time when i want to add a new theme.. i > have to spend time to cut down the html into different files.. now i > want to make this process automate. > > > I have planned this for dynamic themes. > > 1.User will select a layout from the available layouts. > 2.User will select the layout color (each layout will be available in > more than one color > 3.User will select images (related to his site ( medical, travel, > pets, movies..etc) > > Based on the above 3 inputs i want to generate a theme that will come > up in the user website. > > Is there anyway to achieve joomla like templating in Symfony 1.0 > application? > > > Please share your knowledge on how to design such application. > > > Thanks in advance :-) > > > -Asif > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---
