Embedding the admin section

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
webguyatwork
Posts: 1
Joined: Wed Nov 01, 2006 2:41 pm
Location: Bourbonnais, IL
Contact:

Embedding the admin section

Post by webguyatwork »

I just learned of S9Y last week and started trying it out on my offline site and I have to say it's very cool. Of course I went straight for the embedded option to put the blogs right into my current site, so my question involves embedding.

My users log into my website with an existing username and password, then click a link to get into their blog admin. This link (I figured out this morning) has to submit a form that is already populated with their username and password in order to seamlessly log into S9Y. Once the user is in, they get the normal-looking admin page with all the sidebar links. I'd like to change those links around so they only have "New Entries" and "Edit Entries". Since those are the only 2 functions that they really need, I'd like to move them to the top of the page and give more room on the side for the blogs to fit.

Is this somehow done through template files for the admin area? I looked through all of the admin directories for the existing templates and did not see any tpl files in any of them. My last resort would be to disable the sidebars completely and just hard-code the links into my own template (the one that includes the blog admin "ob_get_contents" output).

Suggestions?
The human body is a miracle. Protect it with all natural products to enhance your energy, mental clarity, and joint comfort. Be better at every age! Visit http://richmondb.agelesslife.com for details.
azel
Regular
Posts: 265
Joined: Thu Apr 21, 2005 4:28 am
Contact:

Post by azel »

I believe you can configure that under "Manage users". You can set what rights users have/don't have such as Administrate Categories, Administrate Plugins, and so on.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

It's true what azel said; additionally, the admin is currently not templated (because of various reasons, also technically). So the HTML code is found in serendipity_admin.php on what do display.

You could also use CSS for the backend to hide specific links?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply