Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Set default admin tab
How do I set the default admin tab that loads? The current default is to load the “write” tab. This is good if you are using txp for a blog but for static sites the best default would be the “articles” tab since you are usually just editing existing pages.
The write tab is also the one that loads when clicking the “content” tab. I would also like to set “articles” as the tab that loads when clicking “content.”
Trying to get things as easy as possible for the site owner.
Offline
Re: Set default admin tab
You might want to take a look at asy_dashboard
After logging in users are presented with a (customisable) welcome page together with a list of the most recent articles.
TXP Builders – finely-crafted code, design and txp
Offline
Re: Set default admin tab
Just took a swing at that but couldn’t get it to work. The plugin is pretty old so I am guessing it doesn’t work with new the new txp version.
Offline
Offline
Re: Set default admin tab
It works for me too. Have you set up the asy_dashboard
form (type=misc)?
TXP Builders – finely-crafted code, design and txp
Offline
#6 2007-09-22 21:39:23
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: Set default admin tab
In your index.php root file replace this line:
79 // $event = (gps(‘event’) ? gps(‘event’) : ‘article’);
with this one
$event = (gps(‘event’) ? gps(‘event’) : ‘list’);
This will make the articles page load on default index.php request.
regards, marios
Hey @iblastoff, that looks really cool. Are the styles of your own ?
Last edited by marios (2007-09-22 21:41:52)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
Re: Set default admin tab
Hey iblastoff, that looks really cool. Are the styles of your own ?
marios, I think you’ll find it is this redesign by smalltransport.
TXP Builders – finely-crafted code, design and txp
Offline
Re: Set default admin tab
That is a REALLY nice admin interface. The best I have seen yet, apart from the original, which I am very attached to….
Steve, what do you have in your asy_dashboard form? I don’t get the same view after creating the form according to the suggestion by Senser in the help text..
Offline
Re: Set default admin tab
The best I have seen yet, apart from the original…
Not sure I agree — it sure looks good but I think that’s about it. On that screenshot there are 13 identical looking buttons of which 3 are highlighted. So tell me, how do you know where you are, and what do you do next?
what do you have in your asy_dashboard form?
The latest articles and comments are two functions in sencer’s plug-in. The rest you can style as you like. I guess steve has added some of the php functions used in the diagnostic tab, a php-date function and a link to logout.
Last edited by jakob (2007-09-23 19:24:26)
TXP Builders – finely-crafted code, design and txp
Offline
Re: Set default admin tab
Hi Jakob,
Agree it looks good and my comment about it being the best yet should be tempered by the fact that I have only seen two Admin interface alternatives – this one and another by Jon Hicks. That one does not work well for me on Safari. Where you are is the same as the normal TXP interface – two buttons highlighted at a time – content/write for example.
I don’t see a Dashboard button now I come to think of it. Where did that go??
Offline
Re: Set default admin tab
Where you are is the same as the normal TXP interface – two buttons highlighted at a time – content/write for example.
Sure. The question was somewhat rhetorical (I know my way around txp). My point was a new user would see 3 (essentially identical) black buttons and 10 white buttons and ask themselves “where do I go from here?” Whilst I’m not the biggest fan of the txp setup and regularly change it, it does at least establish a relationship between the areas — content, presentation, admin — and the actions: write, categories, images…
There have been lots of threads on txp admin facelift, makeover etc. There was even a flickr gallery of ideas for a while, but few have been put out into the wild. It’s one (not so difficult) thing to make one’s own modifications, it’s quite another making one that will work everywhere, with every language, individual setup/plug-in etc.
TXP Builders – finely-crafted code, design and txp
Offline
#12 2007-09-23 23:13:03
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: Set default admin tab
jakob wrote:
bq. Hey iblastoff, that looks really cool. Are the styles of your own ?
marios, I think you’ll find it is this redesign by smalltransport.
I think that’s the nicest one I’ve seen so far.
regards, marios
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline