How to add a 'type'?

  • Nick Hutzler

    Nick Hutzler - 2009-08-25

    I would like to add "Thesis" as a type.  I added a row to the 'types' table using phpMyAdmin.  I then added "Thesis" to $defaultUserTypes, and went to my user preferences and enabled Thesis as an enabled reference type.  However, "Thesis" does not show up under types when I try to add a new entry, or edit and existing entry.  I checked to make sure that "Thesis" was spelled and capitalized the same everywhere.  Does anyone have any suggestions?

    Thanks so much!

    mysql row details:
    type_id = 17
    type_name = Thesis
    type_enabled = true
    base_type_id = 3
    order_by = 17

    • Nick Hutzler

      Nick Hutzler - 2009-08-25

      Nevermind, it works now - just had to log out and then in again =)

    • Matthias Steffens

      Hi Nick,

      > I would like to add "Thesis" as a type

      May I ask why you'd like to add a dedicated "Thesis" type? refbase has full support for theses, and should import, export, and cite theses correctly. Have you experienced something else?

      Note that refbase has no dedicated "Thesis" type. Instead, if the publication is a thesis, you specify the degree type in the 'thesis' field, and set the 'type' to some "whole item" type such as "Book Whole", "Report" or "Manuscript". Personally, I'd suggest that you use "Book Whole" for theses.

      That said, you can add new types, but here's a general disclaimer (from one of the below linked forum threads):

      Note that while you can add new resource types to the refbase 'types' table, support for the newly added resource types must be added in code to correctly enable citation output as well as export and import functionality. This is currently not really straightforward since it requires changes at quite a few places in the code.

      For more information about adding new types, see these forum threads:

      If you're still interested in adding your own "Thesis" type, then please read thru these previous forum threads and see if you can get it working. If you still can't get it working, please let us know again.

      Thanks, Matthias


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks