Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2025-12-22 06:43:38

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

Re: Feedback: Textpattern CMS 4.9.0 released

Bloke wrote #341935:

Does height="0" shut it off, albeit temporarily?

Yes.


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

Offline

#32 2025-12-22 06:52:33

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

Re: Feedback: Textpattern CMS 4.9.0 released

Phew. So at least there’s a workaround. That’s similar to 4.8.8 then, which is kinda good in terms of consistency (less boat rocking for existing tags) but more verbose than I would like.

There has to be some middle ground approach somehow which satisfies both goals of allowing valueless widths and heights to output the stored image dimensions, but ignore the stored information if the attribute is not provided.

Ideas welcome.


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

#33 2025-12-22 07:21:55

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

Re: Feedback: Textpattern CMS 4.9.0 released

I reverted the above mentioned changeset does fix the problem with that more complex srcset above. The single image code:

  • with valueless height: no image displayed, html height has the intrinsic height (DB value)
  • without the height: no html height attribute added.
  • height=‘0’: no height attribute added.

(daydreaming) Me would love to see a magic solution were the width and height attributes reflect the dimensions of the thumbnail actually used.I thought theguardian.com did that but that does not appear to be the case


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

Offline

#34 2025-12-25 04:59:48

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,388
Website GitHub Mastodon Twitter

Re: Feedback: Textpattern CMS 4.9.0 released

Firstly, many thanks for all the work that has been carried out for this release. Also, season greetings and wishing for a more peaceful 2026.

In the download page, under the Upgrading heading:

Replace the three files in your main installation directory (index.php, css.php and .htaccess) and everything in your /textpattern/ directory (and the /rpc/ directory if you utilise RPC features), except /textpattern/config.php, with the corresponding files in the current release distribution.

As far as I can see the htaccess is the same as it was before. Am I missing something?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#35 2025-12-25 08:03:51

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

Re: Feedback: Textpattern CMS 4.9.0 released

Those are generic instructions. .htaccess hasn’t changed so ignore it if you like.


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

#36 2025-12-25 16:33:19

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,388
Website GitHub Mastodon Twitter

Re: Feedback: Textpattern CMS 4.9.0 released

Bloke wrote #341972:

Those are generic instructions. .htaccess hasn’t changed so ignore it if you like.

Thanks! Maybe we should take htaccess out of the generic instructions as some might replace their document which may include rules important for their site.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#37 2025-12-25 18:53:48

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

Re: Feedback: Textpattern CMS 4.9.0 released

colak wrote #341973:

Maybe we should take htaccess out of the generic instructions

I’ve tweaked the upgrade wording. Is that better?


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

#38 2025-12-25 22:18:19

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

Re: Feedback: Textpattern CMS 4.9.0 released

Bloke wrote #341974:

I’ve tweaked the upgrade wording. Is that better?

The same warning applies to /textpattern/admin-themes/ – users could have custom themes, custom stylesheets or custom scripts in there. Potentially blowing away /textpattern/plugins/ is also tricky (plugins will be added again after log in, but users could have uninstalled plugins left for eventual later use).


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

Offline

#39 2025-12-25 22:52:35

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

Re: Feedback: Textpattern CMS 4.9.0 released

phiw13 wrote #341975:

The same warning applies to /textpattern/admin-themes/ – users could have custom themes, custom stylesheets or custom scripts in there.

True. It’s already complicated to describe, and (pretty much) the only people affected are Transmit users because that defaults to Replace instead of Merge.

If we make the instructions more explicit in this regard (using “merge” instead of “replace”) then I think we’re covered, and it’s simpler to read than explaining not to destroy any customised stuff.

Last edited by Bloke (2025-12-25 22:53:15)


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

#40 2025-12-25 23:02:00

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

Re: Feedback: Textpattern CMS 4.9.0 released

I’ve tweaked the wording again. Is that clearer?


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

#41 2025-12-25 23:51:33

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

Re: Feedback: Textpattern CMS 4.9.0 released

Much better now!


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

Offline

#42 2025-12-26 03:15:00

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,388
Website GitHub Mastodon Twitter

Re: Feedback: Textpattern CMS 4.9.0 released

phiw13 wrote #341978:

Much better now!

+1


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#43 2025-12-26 17:22:55

mistersugar
Member
From: North Carolina
Registered: 2004-04-13
Posts: 171
Website

Re: Feedback: Textpattern CMS 4.9.0 released

I’ve upgraded to 4.9.0. Very much appreciate the hard work and dedication that went into this. I’ve renewed my monthly GitHub contribution.

Two things I’ve noticed this morning:

- With Admin-side theme Hive, on Presentation > Pages for example, the listing of all pages has moved from the left sidebar to the right sidebar. Wasn’t expecting this. Suspect RTFM applies to me and I’ve just not paid attention to the development discussion.

- I wanted to check an old style that I’m sure I was able to see in 4.8 but when I select that style in the Theme dropdown field, it immediately changes to ‘Invalid argument’. Others of my previous styles are selectable. How can I troubleshoot this?

EDIT: From Themes, I’m getting the following

Fatal error: Uncaught Error: Call to undefined method Textpattern\Skin\Skin::main() in 
/home/azuiker/apps/chronicles/textpattern/vendors/Textpattern/Skin/Skin.php:1529 Stack trace: #0 
/home/azuiker/apps/chronicles/textpattern/vendors/Textpattern/Skin/Skin.php(1075): Textpattern\Skin\Skin->getEditForm() #1 
/home/azuiker/apps/chronicles/textpattern/vendors/Textpattern/Skin/Skin.php(1060): Textpattern\Skin\Skin->render() #2 
/home/azuiker/apps/chronicles/textpattern/include/txp_skin.php(31): Textpattern\Skin\Skin->admin() #3 
/home/azuiker/apps/chronicles/textpattern/index.php(220): include('/home/azuiker/a...') #4 {main} thrown in 
/home/azuiker/apps/chronicles/textpattern/vendors/Textpattern/Skin/Skin.php on line 1529

Last edited by mistersugar (2025-12-26 17:46:37)


—-

Anton aka mistersugar – ‘yumi stap storian’ – antonzuiker.com

Offline

#44 2025-12-26 17:42:24

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

Re: Feedback: Textpattern CMS 4.9.0 released

mistersugar wrote #341983:

the listing of all pages has moved from the left sidebar to the right sidebar.

That’s by design to mimic the Write panel.

when I select that style in the dropdown field, it immediately changes to ‘Invalid argument’.

That’s odd. Do you mean when assigning styles on the Sections panel? Hmm.

I wonder if it’s theme related? Do you see any error messages if you put the site in debugging mode? Anything in the html source or the browser Inspector that might give us a clue?

Edit: ah. Just spotted your edit with the error message shown.

Last edited by Bloke (2025-12-26 17:43:19)


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

#45 2025-12-26 17:47:29

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

Re: Feedback: Textpattern CMS 4.9.0 released

Try switching theme on the pages/forms/styles panel and saving any asset to “store” the current theme, then try again from the Sections panel. Not sure why it wouldn’t have your pref stored for the current theme in use.


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