Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-02 18:10:09

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Dynamic Variable in Plugin Help

Is it possible to have a dynamic variable in the help text of the plugin ?

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#2 2008-02-02 18:44:03

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Dynamic Variable in Plugin Help

In theory yes, but I believe because help docs are opened in plugin event that restricts code of plugin been loaded, than maybe no. Just thought afterall :)

But I could be wrong as i haven’t checked does txp actually strip any code as security feature – if not then yes, it’s possible. Only produce that I remember is admin plugin killing with big cruel axe.

Cheers!

Last edited by Gocom (2008-02-02 18:47:49)

Offline

#3 2008-02-02 19:17:18

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Dynamic Variable in Plugin Help

Not possible server-side, because the plugin help isn’t parsed. Javascript may be possible. Haven’t tried it though.

Offline

#4 2008-02-02 19:20:44

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: Dynamic Variable in Plugin Help

Thanks.

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

Board footer

Powered by FluxBB