Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#151 2012-01-29 22:00:44

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,459
Website GitHub

Re: smd_admin_themes: Manage, edit, switch and share admin-side themes

D’oh v0.31 / and smd_crunchers v0.11. Forgot to copy across a function from admin themes to crunchers. Sorry about that.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#152 2012-07-17 07:14:34

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: smd_admin_themes: Manage, edit, switch and share admin-side themes

Last build (3968) with Hive admin theme.
Impossible to edit the style or script files in the smd_admin_theme.
No problem with the classic/remora.
Files are correcly listed.

Offline

#153 2012-07-17 08:14:34

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,565
Website GitHub Mastodon

Re: smd_admin_themes: Manage, edit, switch and share admin-side themes

@jpdupont

Not surprising since this plugin hasn’t been updated for Textpattern 4.5 yet. I think Stef’s waiting for me to write a few more bits of CSS first. It will happen soon.

Offline

#154 2012-07-17 08:17:18

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: smd_admin_themes: Manage, edit, switch and share admin-side themes

Thanks Phil !

Offline

#155 2012-07-17 09:18:23

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,459
Website GitHub

Re: smd_admin_themes: Manage, edit, switch and share admin-side themes

I do have an update available that I did a few months ago that fixes a few bits n bobs. It primarily expands subdir support (which is what is affecting jpdupont and Hive) and has detection of more types of file. Just tinkering with the layout to make it look prettier under 4.5.0, which brings me to…

philwareham wrote:

I think Stef’s waiting for me to write a few more bits of CSS first. It will happen soon.

Ah yeah, have you decide on a decent name for the class="plugin-help" on plugin prefs pages yet? Still not convinced the layout’s quite right as it’s not picking up the paragraph styles / edit-label / edit-value things and they’re being smooshed together / overlapping with the latest css files.

Last edited by Bloke (2012-07-17 09:19:05)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#156 2012-07-17 09:27:15

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,565
Website GitHub Mastodon

Re: smd_admin_themes: Manage, edit, switch and share admin-side themes

Yeah, I’ll be sorting that today. I’m getting rid of .plugin-help and using a more universal .text-column and .plugin-column for a start. They will both be the same width, difference being .plugin-column one can accept form elements like in .txp-edit without them squishing together.

Last edited by philwareham (2012-07-17 09:27:47)

Offline

#157 2012-07-17 09:43:29

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: smd_admin_themes: Manage, edit, switch and share admin-side themes

What is the best way to work?
In the next 2 months, I have to make or update 5 sites.

  • Work with the svn version and thus test the 4.5 beta and my usual (10) plugins,
  • or develop with the 4.4.1 upgrade and at the very end upgrade to 4.5 ?

Is there a place where you can report plugins that do not work with 4.5?

Offline

#158 2012-07-17 10:40:18

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,559
Website GitHub Twitter

Re: smd_admin_themes: Manage, edit, switch and share admin-side themes

Hi

I try the plugin with the build of last night r3971and get some error message on smd_admin_them tab (related t an out array!!) but that havent stopped using it, i try to adapte a remora them to an RTL langage (arabic in my case).

Cheers

Offline

#159 2012-07-17 15:19:44

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,459
Website GitHub

Re: smd_admin_themes: Manage, edit, switch and share admin-side themes

Dragondz wrote:

I try the plugin with the build of last night r3971and get some error message on smd_admin_them tab

Easy, tiger! I’ve been without an internet connection for half the day so I wasn’t able to carry on tweaking the plugin. I see Phil’s put (most of) the class changes in core, so I’m back on the case now.

Last edited by Bloke (2012-07-17 15:26:40)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#160 2012-07-18 00:51:30

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,459
Website GitHub

Re: smd_admin_themes: Manage, edit, switch and share admin-side themes

OK, anyone running SVN or a nightly of 4.5.0 can try the v0.32 beta. Please let me know how it fares, thanks.

Last edited by Bloke (2012-07-18 00:51:51)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#161 2012-07-18 07:00:15

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: smd_admin_themes: Manage, edit, switch and share admin-side themes

Thanks Stef

Offline

#162 2012-07-18 07:42:33

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,651
Website

Re: smd_admin_themes: Manage, edit, switch and share admin-side themes

Bloke wrote:

OK, anyone running SVN or a nightly of 4.5.0 can try the v0.32 beta. Please let me know how it fares, thanks.

She works fine, overall. I’ve only done some very light editing, mind you.

You may want to add some styling for the smd_popup blocks. When the theme display grid has 2 rows or more, there is some ugly, annoying overlap (when you click on the ‘base’ link), like this screenshot (taken with the Hive theme).

At the minimum:

.smd_popup { position: relative; z-index:1; /* make sure smd_popup is on top*/ }

and add a background-color for readability.

The background-color is a bit of a problem as it may clash with a theme’s color scheme. Don’t worry about about Sandspaces (beta update soon available) though, I’ve already added some workaround code to deal with it ;-).


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#163 2012-07-18 08:20:12

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,459
Website GitHub

Re: smd_admin_themes: Manage, edit, switch and share admin-side themes

phiw13 wrote:

You may want to add some styling for the smd_popup blocks. When the theme display grid has 2 rows or more, there is some ugly, annoying overlap

Ah yes, that’ll be Phil and his fixed-width input boxes. Well spotted. The previous version was inline because the box was shorter. To make a short input box work well with HIve I have to remember to add a corresponding class as well as the actual size itself to override the default fixed widthness. Humbug. It also happens (at least in English, but it’ll be dependent on string length) with the Export popups. Sometimes the [Go] link is on the row below the radios when I actually intended it inline. Probably not much I can do about that though.

Part of me wants to do what you suggest and put a background colour on, but as you say, which one to pick? Hey, maybe there should be a design pattern rule for it so I can just apply a class :-) Phil?

Another (small) part of me wants to stop it wrapping altogether with some non-breaking-space stuff, but that might look horrible in some languages or font sizes and is probably not good practice.

Last edited by Bloke (2012-07-18 08:25:43)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#164 2012-07-18 08:27:35

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,565
Website GitHub Mastodon

Re: smd_admin_themes: Manage, edit, switch and share admin-side themes

Stef, let’s liaise on this via email. I can suggest some of that code for you that’ll make this plugin render better in 4.5 (all themes)

Offline

#165 2012-07-18 08:29:04

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,459
Website GitHub

Re: smd_admin_themes: Manage, edit, switch and share admin-side themes

philwareham wrote:

I can suggest some of that code for you that’ll make this plugin render better in 4.5 (all themes)

Woot, thanks! I need all the help I can get in the visual / layout / design department.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB