Using Drupal 7 and Zen I would like to provide a menu selection so that users could choose from a predetermined range of css files to format their page. What do I need to do to provide choice of display please? Thanks in advance Roger
On Fri, Feb 15, 2013 at 1:03 PM, Roger arelem@bigpond.com wrote: Using Drupal 7 and Zen I would like to provide a menu selection so that users could choose from a predetermined range of css files to format their page. What do I need to do to provide choice of display please?
You can create a custom form for the CSS selection and then set a session variable on submitting the form. In preprocess page you can then include the logic to include the corresponding CSS based on the session variable.
Thanks Anoop
|-- | Zyxware Technologies | http://www.zyxware.com |-- | Be the change you wish to see in the world, M. K. Gandhi |--
But, Drupal allows user selection of themes.
You could organize the range of css files as "subthemes" which can be selected individually.
Users get a "role", and in "permissions" one can give that roles the right to administer themes.
That as a first step ... Franz
Am 15.02.13 08:33, schrieb Roger:> Using Drupal 7 and Zen I would like to provide a menu selection so that
users could choose from a predetermined range of css files to format their page. What do I need to do to provide choice of display please? Thanks in advance Roger
Am 15.02.13 08:48, schrieb Anoop John:
On Fri, Feb 15, 2013 at 1:03 PM, Roger arelem@bigpond.com wrote: Using Drupal 7 and Zen I would like to provide a menu selection so that users could choose from a predetermined range of css files to format their page. What do I need to do to provide choice of display please?
You can create a custom form for the CSS selection and then set a session variable on submitting the form. In preprocess page you can then include the logic to include the corresponding CSS based on the session variable.
Thanks Anoop
|-- | Zyxware Technologies | http://www.zyxware.com |-- | Be the change you wish to see in the world, M. K. Gandhi |--