Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-03-02 07:37:17

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,088
Website

Publish button on Content > Write pane

Would it be too much to ask to have the main ‘Publish’ button directly wrapped inside a block element?
Something like:

<p><input type="submit" value="Publish" name="publish" class="publish" tabindex="4"></p>

Background: on the theme I use, I move said button with position:absolute to the very top of the page. With the ajaxy saving of the form, the spinner is appended inside a span after that button, and that is much more trouble to position relative to the Publish button. If that button is wrapped in a block element, I can just position that block and have the spinner follow automatically (and thus keeping both together).

tia.


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

Offline

#2 2012-03-02 07:49:16

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,088
Website

Re: Publish button on Content > Write pane

Fwiw, here is a patch to do just that.


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

Offline

#3 2012-03-02 08:37:40

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

Re: Publish button on Content > Write pane

+1 for this. Might be good to put a class attribute on that <p> tag too.

I’ve submitted some issues for other minor improvements to the admin side…

Issue 139

Issue 138

Issue 135

Last edited by philwareham (2012-03-10 12:35:59)

Offline

#4 2012-03-13 10:01:13

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,324
Website Mastodon

Re: Publish button on Content > Write pane

phiw13 wrote:

Fwiw, here is a “patch

So there you have it. Sorry I forgot your commit props.

Offline

#5 2012-03-13 11:56:38

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,088
Website

Re: Publish button on Content > Write pane

wet wrote:

Fwiw, here is a “patch

Thank you.


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

Offline

Board footer

Powered by FluxBB