Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Admin Side Theming! (r3149)
I think, a plugin author should strive to cater for the classic theme. Alternative themes will probably rely on ids and classes introduced there, so a plugin should fit nicely into any theme without any special adoptions.
Offline
Re: Admin Side Theming! (r3149)
@wet – yup that’s what I was thinking, but I remember when I wrote admin side plugins I would have to keep searching the source code to see what ids and classes to use. I was just suggesting defining the classes and ids used in the classic theme so devs understands when to apply them.
Offline
Re: Admin Side Theming! (r3149)
Offline
Offline
Re: Admin Side Theming! (r3149)
Finally got to play around and do some damage.
I successfully ported a version of phwiw’s admin facelift v2 theme. You can grab it here
Enjoy!
Last edited by mrdale (2009-03-26 06:25:26)
Offline
Re: Admin Side Theming! (r3149)
Offline
Re: Admin Side Theming! (r3149)
OK, silly me (rvm_maintennance). Should work now…
Offline
Re: Admin Side Theming! (r3149)
Theming deeper areas..
Is it possible to address other areas like the way plugins are listed, through the theme file. for example, I don’t really like the way that the plugins page’s new “edit” and “help” buttons make the trs use up more vertical space. I’d like to add a class each to those so I can style ‘em differently.
Would I just replace the whole function plugin_list
? from the txp_plugin.php file with one in my theme.php?
Last edited by mrdale (2009-03-26 15:39:29)
Offline
Re: Admin Side Theming! (r3149)
Updated to svn (r3164), activated Remora theme – i’m impressed! Thanks! It’s very handy to have direct access to covered options.
Last edited by the_ghost (2009-03-26 16:11:15)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: Admin Side Theming! (r3149)
mrdale wrote:
Theming deeper areas..
Is it possible to address other areas like the way plugins are listed
No. This is not in the scope of the current theming procedure. But you might suggest elements which would benefit from additional classes and the like, and those could go into core.
Offline
Re: Admin Side Theming! (r3149)
Why don’t you just hand your list of affected elements over?
Offline
Re: Admin Side Theming! (r3149)
Sure, I’ll go through a standard txp install and make a wish list
stand by…
Update isn’t a bit of a waste of time for me to go through and specifically request items to be classed and idd? I mean i’m happy to do it, but if you really want to encourage themeing of the whole UI, can’t you just go through and class or id everything that people would want to target and style.
For example, on the articles page (or in fact any list based page like images,plugins,files,links, etc…), you could just class every th and td with a semantic class, (one or two already do) then a theme could switch off/on style with widths, do whatever they’d like.
Another example, on the write page, you could give ids to things like the P-tags that surround the inputs and you could easily switch off, alter those items in style individually.
makin, sense?
Last edited by mrdale (2009-03-26 17:48:09)
Offline