Forums

[resolved] [Plugin: Gloss] Doesn't add definition to database on first submit (3 posts)

  1. Lovedoodle
    Member
    Posted 2 years ago #

    When I try to add a term, the term is added to the database in the appropriate glossary, but the form doesn't save the definition... It only saves the definition after I click edit, paste the definition into the form, and then click save. Is there a fix for this?

    http://wordpress.org/extend/plugins/gloss/

  2. Lovedoodle
    Member
    Posted 2 years ago #

    Nevermind, I found the problem.

    In the glossaryClass.php file the variables are not named correctly for the function insert_term.

    The textarea input field is named "define" not "definition" as indicated on lines 80, 83, and 84.

    Switching the variable named $definition to $define solved the problem for me.

  3. Ruben Sargsyan
    Member
    Posted 1 year ago #

    You can also use the plugin "Explanatory Dictionary" for a glossary.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags