This project is read-only.

Module layout!

Topics: Writing modules, Writing themes
Oct 5, 2011 at 4:40 PM

I want to change the layout for the widgets at dashboard to make it from right to left (change the css) for some reason , how can I do it without changing the original module ( like change it from my Own module ) , If there are any Ideas I would be thankful..

Oct 5, 2011 at 8:46 PM

You can make a theme that overrides the admin theme, but in order for that to work, it must include a IThemeSelector that gives your theme a higher priority than the built-in one when in the admin.

Oct 5, 2011 at 10:22 PM

already did that and now I have changed all the layouts I wanted for the dashboard but still I have to modify the css files for modules like Orchard.Widgets and that for now requires modifying the original css for such modules ,I guess there is a better way to modify the layout of Widgets module from the theme I have created for the dashboard like overriding views ... right ?

Oct 5, 2011 at 10:58 PM

I would include a separate CSS file, from your layout, for rtl.

Oct 5, 2011 at 11:24 PM

I got the Idea, Thanks Bertrand always helpful (y)