Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2023-04-19 02:38:30

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

TXP 4.9-dev: txp:linklist and labeltag

The <txp:linklist /> seems to ignore the labeltag attribute. It works fine for some other tags tested (e.g <txp:category_list />).
PHP 8.2 and 8.1, tested on localhost and the demo server.

Input:

<txp:linklist wraptag="ul" break="li" label="Elsewhere:" labeltag="h3" />

Actual output – uncle, where is my h3 ? And what is that <br> doing there?

Elsewhere:
<br>
<ul>
<li>………</li>
</ul>

Expected output – the “Elsewhere:” string inside the h3

<h3>Elsewhere:</h3>
<ul>
<li>………</li>
</ul>

The same construct works fine with Textpattern 4.8.8.

Last edited by phiw13 (2023-04-19 08:53:53)


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

Offline

#2 2023-04-19 08:44:34

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

Re: TXP 4.9-dev: txp:linklist and labeltag

That’s annoying, labeltag looks broken in all tags moved to separate classes. Will investigate, thanks for the report.

Offline

#3 2023-04-19 09:28:02

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

Re: TXP 4.9-dev: txp:linklist and labeltag

Should be fixed, at least temporarily.

Offline

#4 2023-04-19 23:18:33

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

Re: TXP 4.9-dev: txp:linklist and labeltag

etc wrote #335340:

Should be fixed, at least temporarily.

Yes! This works fine now. TY.


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