Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#121 2023-12-22 08:07:12

etc
Developer
Registered: 2010-11-11
Posts: 5,235
Website GitHub

Re: [phw_sandSpace], an admin theme for TXP CMS 4.7, 4.8 and 4.9-dev

Thanks, will test. I didn’t specifically mean blinking, just making the message more noticeable.

Another small quirk: stick the preview to the right browser border, narrow it a good deal and then widen again. Its content stays narrow (FF), see below

Offline

#122 2023-12-22 09:57:04

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

Re: [phw_sandSpace], an admin theme for TXP CMS 4.7, 4.8 and 4.9-dev

Another small quirk: stick the preview to the right browser border, narrow it a good deal and then widen again. Its content stays narrow (FF), see below

I can’t reproduce that at the moment, but if might depend partly on what kind of content is loaded in the pane (e.g. a <pre /> with a long unbreakable string). I will see if there is some way to improve that.

JQUI some times does very weird things with those dialog panels, esp regarding positioning after even a small change in window geometry configuration.


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

Offline

#123 2023-12-22 10:42:57

etc
Developer
Registered: 2010-11-11
Posts: 5,235
Website GitHub

Re: [phw_sandSpace], an admin theme for TXP CMS 4.7, 4.8 and 4.9-dev

phiw13 wrote #336207:

I can’t reproduce that at the moment, but if might depend partly on what kind of content is loaded in the pane (e.g. a <pre /> with a long unbreakable string).

It’s not reproducible with Hive. Here is the text:

<txp:section />
<img id="hey" src="x" onerror="alert(1)" />

!http://localhost/textpattern/images/576.jpg(VP_E23.jpg)!

<style>img{position:fixed;}</style>
<iframe srcdoc="hello"></iframe>
<script>alert('XSS')</script>
<!-- comments welcome -->
<![CDATA[some stuff]]>

Permitting the @style@ attribute brings in risks of click-jacking, etc. CSS property values can render a page non-functional or be used to deface it. Except for URLs, dynamic expressions, and some other things, htmLawed does not completely check style values. It does provide ways for the code-developer implementing htmLawed to do such checks through the @$spec@ argument, and through the hook_tag parameter (see section 3.4.8 for more). Disallowing style completely and relying on CSS classes and stylesheet files is *recommended*.

JQUI some times does very weird things with those dialog panels, esp regarding positioning after even a small change in window geometry configuration.

This yes. I have searched for a native replacement, but have not found a (very) lightweight one.

Offline

#124 2023-12-25 02:08:32

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

Re: [phw_sandSpace], an admin theme for TXP CMS 4.7, 4.8 and 4.9-dev

@ Oleg

Ok, with a type of content as the one you give as sample, I can reproduce that, and as i suspected, having a long unbreakable string in the article (in a@bc.@) article masks it.

I’ll fix that, thanks for the report.

If you want to fix it locally, create a custom.css as documented in the readme and add:

.ui-dialog .ui-dialog-content {
	box-sizing: border-box;
	min-width: 100%;
}

(force) reload the page.

JQUI has a bit of problems understanding flexible layouts (flexbox) and my overriding of the script-set width on the dialog.

I have searched for a native replacement, but have not found a (very) lightweight one.

In theory, the HTML dialog element is designed for that. Not sure how much scripting is needed to do what the Preview or Tagbuilder or the Pophelp dialogs need. And there might be an issue with slightly older browsers.


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

Offline

#125 2023-12-25 09:42:24

etc
Developer
Registered: 2010-11-11
Posts: 5,235
Website GitHub

Re: [phw_sandSpace], an admin theme for TXP CMS 4.7, 4.8 and 4.9-dev

phiw13 wrote #336224:

In theory, the HTML dialog element is designed for that. Not sure how much scripting is needed to do what the Preview or Tagbuilder or the Pophelp dialogs need. And there might be an issue with slightly older browsers.

Theoretically, it’s a good candidate, but making it draggable/resizeable/stickable requires few hundred lines of JS code.

Offline

#126 2024-01-26 08:28:55

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

Re: [phw_sandSpace], an admin theme for TXP CMS 4.7, 4.8 and 4.9-dev

Sandspace 4.9.0 beta6 – fine-tuning, bug fixes and more(updated for the most recent dev commits).

Of note, the return of the warning sheet (are you sure ?) when pressing the logout button. Now CSP friendly.

>> download


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

Offline

#127 2024-01-26 09:58:52

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,468
Website GitHub

Re: [phw_sandSpace], an admin theme for TXP CMS 4.7, 4.8 and 4.9-dev

I love this theme. Thank you for keeping it updated and improving it.


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

#128 2024-01-27 02:26:04

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

Re: [phw_sandSpace], an admin theme for TXP CMS 4.7, 4.8 and 4.9-dev

Bloke wrote #336470:

I love this theme. Thank you for keeping it updated and improving it.

Thank you 🙏.


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

Offline

#129 2024-02-01 06:01:22

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

Re: [phw_sandSpace], an admin theme for TXP CMS 4.7, 4.8 and 4.9-dev

Some fine tuning for the updated plugins panel:

>> download: Sandspace 4.9.0-dev b7


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

Offline

#130 2024-02-01 09:19:35

etc
Developer
Registered: 2010-11-11
Posts: 5,235
Website GitHub

Re: [phw_sandSpace], an admin theme for TXP CMS 4.7, 4.8 and 4.9-dev

Nice, but stay tuned for a next round :-)

Offline

#131 2024-02-02 00:01:21

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

Re: [phw_sandSpace], an admin theme for TXP CMS 4.7, 4.8 and 4.9-dev

etc wrote #336550:

Nice, but stay tuned for a next round :-)

Don’t work toooo hard, I’be on away for the next week or so… that new year calls.


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

Offline

#132 2024-02-29 02:52:04

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

Re: [phw_sandSpace], an admin theme for TXP CMS 4.7, 4.8 and 4.9-dev

Sandspace 4.9.0-dev beta 8 now ready with assorted fine-tuning and bug fixes. I reverted the animation on the message pane introduced a few months ago; favourite tester and user really did not like it.

Note also: the return of the optional upload preview widget for files and images which has somehow mysteriously disappeared out of the Sandspace package (see readme for usage). As is this is still a proof of concept; some – random thoughts about that upload preview widget:

  • only show when more than image/file is selected
  • not available on the respective Edit panels (replace file or image)
  • optional a way to delete one of the selected items

All of that work goes beyond my available energy, time and code foo. Suggestions & code welcome.

>> Download beta 8

Last edited by phiw13 (2024-02-29 02:52:36)


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