Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-09-28 08:05:32

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355
Website

Allow inside admin interface: doWrap, doTag, doLabel

I wanted the plugin to use one my function for public and admin interface, but it was impossible. :(

Fatal error: Call to undefined function doTag() 

Same as doWrap, doLabel

I propose to move function doWrap, doTag, doLabel from file publish/taghandlers.php to lib/txplib_html.php
This will allow them to use the admin interface, too.

All these functions are simple wrapper over the function tag(), which is defined in lib/txplib_html.php


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#2 2012-10-17 16:48:34

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

Re: Allow inside admin interface: doWrap, doTag, doLabel

I opened a ticket for this. Closing this to mark it processed and noted. … or should we move these somewhere? Tag?

Thank you for the suggestion, makss.

Last edited by Gocom (2012-10-17 16:51:05)

Offline

Board footer

Powered by FluxBB