# Customize the admin UI

**URL:** <https://www.ruby-forum.com/t/customize-the-admin-ui/110493>\
**Category:** Radiant CMS\
**Created:** [July 26, 2007, 9:02pm UTC](https://www.ruby-forum.com/t/customize-the-admin-ui/110493 "2007-07-26T21:02:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sylvain\_gibier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@sylvain\_gibier](https://www.ruby-forum.com/u/sylvain_gibier)\
**Post date:** [July 26, 2007, 9:02pm UTC](https://www.ruby-forum.com/t/customize-the-admin-ui/110493/1 "2007-07-26T21:02:36Z")

</div>

Hi,

May be already answered in some posts.  
Radiant Gem - 0.6.1

Ok - i have 5 different sites using Radiant - with their own database.  
Now two customers want to have their own header/stylesheet on the admin  
UI -  
what’s the best way to customize the admin pages - per radiant projects  
?

Hope it’s clear enough.

Sylvain

---

<div class="post-metadata">

**Author:** ![sylvain\_gibier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@sylvain\_gibier](https://www.ruby-forum.com/u/sylvain_gibier)\
**Post date:** [July 26, 2007, 9:10pm UTC](https://www.ruby-forum.com/t/customize-the-admin-ui/110493/2 "2007-07-26T21:10:18Z")

</div>

I have an extension that I’ve developed for doing just this. I am  
waiting to get clearance from my employer to release it under an MIT  
license. Let me see if I can push them on this.

-James

---

<div class="post-metadata">

**Author:** ![sylvain\_gibier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@sylvain\_gibier](https://www.ruby-forum.com/u/sylvain_gibier)\
**Post date:** [July 26, 2007, 9:21pm UTC](https://www.ruby-forum.com/t/customize-the-admin-ui/110493/3 "2007-07-26T21:21:19Z")

</div>

You could also directly edit the CSS in the public/stylesheets directory  
to fit your needs. If you want to change the actual elements in the  
page, you might have to override parts of the templates.

Sean

---

<div class="post-metadata">

**Author:** ![sylvain\_gibier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@sylvain\_gibier](https://www.ruby-forum.com/u/sylvain_gibier)\
**Post date:** [July 26, 2007, 9:36pm UTC](https://www.ruby-forum.com/t/customize-the-admin-ui/110493/4 "2007-07-26T21:36:20Z")

</div>

Without good backups (which we all have, right?) an upgrade of  
Radiant could clobber some installations when you do rake  
radiant:update:\*. I think the extension is a little more resilient  
since it pushes the customizations out of the way of these scripts  
and makes them recoverable after an update. But editing the CSS and  
such directly is certainly a simple approach.

-James

---

<div class="post-metadata">

**Author:** ![sylvain\_gibier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@sylvain\_gibier](https://www.ruby-forum.com/u/sylvain_gibier)\
**Post date:** [July 26, 2007, 9:38pm UTC](https://www.ruby-forum.com/t/customize-the-admin-ui/110493/5 "2007-07-26T21:38:20Z")

</div>

While we’re discussing the admin UI, a friend of mine pointed out an  
issue (which is now annoying me as well as I upload a hole bunch of  
pages by hand). Why is it that if I am three deep in the admin tree  
(really anything in any folder), that when I hit save, it closes all  
folders again and brings me back to the root level in the admin  
area. It would be much nicer, if it would leave the tree open to the  
location I was editing last. Usually when using the software, I am  
located at location x in the tree, uploading a bunch of pages to that  
area. I hate having to click open all of the folders again every  
time I need to create a new page.  
-Mark

---

<div class="post-metadata">

**Author:** ![sylvain\_gibier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@sylvain\_gibier](https://www.ruby-forum.com/u/sylvain_gibier)\
**Post date:** [July 26, 2007, 9:45pm UTC](https://www.ruby-forum.com/t/customize-the-admin-ui/110493/6 "2007-07-26T21:45:21Z")

</div>

Freeze your installs.

---

<div class="post-metadata">

**Author:** ![sylvain\_gibier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@sylvain\_gibier](https://www.ruby-forum.com/u/sylvain_gibier)\
**Post date:** [July 26, 2007, 9:41pm UTC](https://www.ruby-forum.com/t/customize-the-admin-ui/110493/7 "2007-07-26T21:41:30Z")

</div>

Sean C. wrote:

> You could also directly edit the CSS in the public/stylesheets directory  
> to fit your needs. If you want to change the actual elements in the  
> page, you might have to override parts of the templates.
> 
> Sean

Override - ok. how? As all the pages are shared with the different  
radiant projects (sites) in the gem db.

cheers
