Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#21 2020-06-22 08:58:47

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,723
Website

Re: Logging form after upgrade

phiw13 wrote #323886:

the closest thing is the select widget just above the textarea on the Write panel. But that uses JQUI stuff.

Thank you for the code. Yeah, that’s a bit more involved to set up than a simple select, but I’m willing to do it that way if necessary because your proposed layout is miles better than the clunky ‘orrible select box.

If Mr Wareham could kindly advise on suitable markup for the side-by-side layout then we can go from there. And if there’s a nifty class available for styling it too, that’d be even better!


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

Txp Builders – finely-crafted code, design and Txp

Offline

#22 2020-06-22 09:08:44

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,116
Website

Re: Logging form after upgrade

Bloke wrote #323888:

Thank you for the code. Yeah, that’s a bit more involved to set up than a simple select, but I’m willing to do it that way if necessary because your proposed layout is miles better than the clunky ‘orrible select box.

I don’t think you need all that JQUI machinery just to style that widget a little. The less JQUI, the better imho.


Where is that emoji for a solar powered submarine when you need it ?

Offline

#23 2020-06-22 09:08:52

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,723
Website

Re: Logging form after upgrade

phiw13 wrote #323881:

I couldn’t test the other change(s) you mention as user management/creation is mostly disabled on the demo site

Yeah, the only thing you can do is search for the user name you were assigned as a login and change your own language from the Users panel.

gaekwad wrote #323887:

there are all kinds of things happening on those demo sites: evidence of fuzzers, XSS attempts, they’re a great source of interest to people who want to break stuff!

I bet! In my daily logwatch report, I had one last week where I could barely even see the scrollbar height. It just went on and on as someone had tried every SIP port for every major protocol to try and exploit VOIP loopholes or use my server as a free call relay. Yealink, Well, autoprovisioning, bootstrap, cfg, defy, phone, …


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

Txp Builders – finely-crafted code, design and Txp

Offline

#24 2020-06-22 09:09:26

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,723
Website

Re: Logging form after upgrade

phiw13 wrote #323889:

I don’t think you need all that JQUI machinery just to style that widget a little. The less JQUI, the better imho.

Absolutely! If we can get away with a simple CSS class/container for it, that suits me perfectly.


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

Txp Builders – finely-crafted code, design and Txp

Offline

#25 2020-06-22 09:13:59

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,723
Website

Re: Logging form after upgrade

Tell you what, I’ll mock it up now with an inputLabel() so we get side-by-side and see if it works. We (Ahem, Phil) can then look at adding some CSS to de-emphasise the select (or advise if we already have it available).

EDIT: Uhh, wait, I’m already using inputLabel() but it’s coming out stacked. Hmmm. Must be missing something.

Last edited by Bloke (2020-06-22 09:17:52)


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

Txp Builders – finely-crafted code, design and Txp

Offline

#26 2020-06-22 09:23:58

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,116
Website

Re: Logging form after upgrade

Bloke wrote #323892:

Tell you what, I’ll mock it up now with an inputLabel() so we get side-by-side and see if it works.

HTML code wise, you don’t need to do anything., Just a little of CSS to align things (display: flex; flex-flow:row wrap and restyle the select as above. PhilWareham can fine tune to taste.


Where is that emoji for a solar powered submarine when you need it ?

Offline

#27 2020-06-22 09:29:05

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,723
Website

Re: Logging form after upgrade

phiw13 wrote #323893:

CSS to align things

Yeah, just looked at your code in the inspector and seen what you’ve done. Sorry. Brain not switched on this morning yet.

Rather than do it inline, I’ll try and find any classes in the design patterns that might help.

Last edited by Bloke (2020-06-22 09:29:28)


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

Txp Builders – finely-crafted code, design and Txp

Offline

#28 2020-06-22 10:09:31

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

Re: Logging form after upgrade

Just seen this thread – I will create and provide an additional class for use on select fields that will remove various parts of the UI chrome. I’ll roll it into 4.8.2 branch and also 4.9.0 master, since they have diverged a bit in last few days.

Offline

#29 2020-06-22 10:42:29

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,723
Website

Re: Logging form after upgrade

philwareham wrote #323896:

Just seen this thread – I will create and provide an additional class for use on select fields that will remove various parts of the UI chrome.

Woot! Thank you.

I’ll roll it into 4.8.2 branch and also 4.9.0 master.

That’ll make merges tricky. Tell you what, I’ll just commit the 4.8.2 branch to dev now, then you can add the CSS to both and it won’t (shouldn’t!) complain in future merges.

EDIT: done. Go for it whenever you’re ready and tweak the class in txp_auth too if you wish.

Last edited by Bloke (2020-06-22 10:48:36)


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

Txp Builders – finely-crafted code, design and Txp

Offline

#30 2020-06-22 10:44:50

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

Re: Logging form after upgrade

Bloke wrote #323899:

That’ll make merges tricky. Tell you what, I’ll just commit the 4.8.2 branch to dev now, then you can add the CSS to both and it won’t (shouldn’t!) complain in future merges.

I have a 4.8.x branch of the admin themes (as the 4.9 themes have been extensively changed) so I’ll just add the code to both theme branches and pull each in accordingly.

Offline

Board footer

Powered by FluxBB