Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Plugins help oddity when editing a plugin (bug?)
TXP 4.9-dev latest, PHP 8.2 & 8.3
- Install a (recent) plugin
- Verify that its help panel displays correctly
- Edit the plugin, e.g add some comment (
/* … */
) at the beginning. Save - try to view the help file again.
Actual result: all you see is a blob of raw Textile markup & help text. Screenshot of a fragment of that blob: dev.l-c-n.com/_b/pat_speeder_help.png.
Example plugin used: pat_speeder or kuo_webp.
With older plugins – or plugins installed a long(er) time ago(?)- the plugin help link disappears from the panel.
I think this is fairly recent – well “fairly” in Textpattern time, the kuo_webp plugin is dated to mid February ‘24 and I don’t remember touching or using it since
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Plugins help oddity when editing a plugin (bug?)
I suspect l.707 of txp_plugin.php
is to blame. If you modify the help itself, it gets textiled.
Offline
Re: Plugins help oddity when editing a plugin (bug?)
Ack, mea culpa. But how to fix it? We need a fallback if there’s no Textiled help file. Hmmm.
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
Re: Plugins help oddity when editing a plugin (bug?)
FWIW – and as a workaround – if I edit the plugins’s .php
file directly on the file system with my text-editor and then, back in the Plugins panel, choose “Update from drive”, then the issue does not happen.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline