WordPress.org

Ready to get started?Download WordPress

Forums

TDOMF - Allowable Tags (4 posts)

  1. ClickyB
    Member
    Posted 6 years ago #

    I have installed and configured the TDOMF plug-in successfully and have used widgets to create my "submit a post" page.

    My users will not understand the "Allowable Tags" so I would like to reduce the available tags and add simple instructions for each one.

    I've done this using a text widget but had to use "& lt ; and & gt ;" around each example.
    When I save the form format it looks ok (...ish) but EVERY TIME I edit it the "& lt ; and & gt ;" are parsed into tags again so I have to remember to go through and change them all back before I save it.

    I was hoping to be able to alter the "submit a post" page template to add these explanations and remove the "extra" tags (the ones I don't want users to use) but the template isn't available for editing like standard wordpress templates are (in "Presentation/"Theme Editor").

    I can go through all the pages in the plug-in directory, find the one "responsible" and edit it - but it would be really useful if that option was available in TDOMF admin and even better if the form included a link to "pop" a window explaining the tags.

    Is there an easier way or would you consider adding one of these options?

  2. the_dead_one
    Member
    Posted 6 years ago #

    I've done this using a text widget but had to use "& lt ; and & gt ;" around each example.
    When I save the form format it looks ok (...ish) but EVERY TIME I edit it the "& lt ; and & gt ;" are parsed into tags again so I have to remember to go through and change them all back before I save it.

    I'll look into this. Probably something to do with htmlentities. It's not the only issue apparently it doesn't handle foreign characters too well either.

    I was hoping to be able to alter the "submit a post" page template to add these explanations and remove the "extra" tags (the ones I don't want users to use) but the template isn't available for editing like standard wordpress templates are (in "Presentation/"Theme Editor").

    There is no templates. Hwoever you can control the "allowable tags" from within the widget control form. Is there an issue in using the "Post Content" widget control page?

    I can go through all the pages in the plug-in directory, find the one "responsible" and edit it - but it would be really useful if that option was available in TDOMF admin and even better if the form included a link to "pop" a window explaining the tags.

    Most of the widgets can be found in the tdo-mini-forms/widgets directory. You don't need to go through all the files. However it is a nice idea to have an editor inside TDOMF admin to edit and add widgets. I have a lot on my TODO list for widgets but I'll add that one too. I can't promise when I'll get around to implementing it though.

    As for a popup window, well, in principal that's just another version of the text widget that pops out a window when clicked instead of just displaying the text. I like the idea, again it'll go on the TODO list.

    Why not just use the Quicktags and modify the quicktag javascript to not include the tags you don't want (it does it automatically based on the allowable tags option).

    FYI I was hoping to attempt to integrate TinyMCE into the post content area. This would eliminate all the worry about allowable tags and providing information on how to use them.

    Is there an easier way or would you consider adding one of these options?

    I'm afraid you won't see any of them this side of christmass. There are a number of big features I'd like to implement but I can't get started on them because I'm bogged down in support requests and bug fixing. So I can't provide any sort of time-line for any feature. All I can say, it'll be done, when it'll be done. :)

  3. ClickyB
    Member
    Posted 6 years ago #

    Thanks "TDO" :)

    One thing I didn't understand:

    "There is no templates. Hwoever you can control the "allowable tags" from within the widget control form. Is there an issue in using the "Post Content" widget control page?"

    The only "widget control form" I could find is at:
    admin.php?page=tdomf_show_form_menu plus the two TDOMF widgets which appear on the normal wp-admin/widgets.php page... I don't see anything there which will allow me to edit the tags; maybe I'm misunderstanding what you mean?

  4. the_dead_one
    Member
    Posted 6 years ago #

    On your "admin.php?page=tdomf_show_form_menu", where you drag and drop your widgets to create your form, you can edit options for many of the widgets. The Content widget has a field for "Allowable Tags" which you can reduce or add to. If you enable QuickTags, it won't include the disallowed tags too.

    Also, with the dev version of the plugin, I fixed your issue with the text widget. It was to do with "htmlentities".

Topic Closed

This topic has been closed to new replies.

About this Topic