Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

How to add a 'type'?

Help
2009-08-25
2013-05-28
  • 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 =)

       
    • 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:

      https://sourceforge.net/forum/forum.php?thread_id=3282415&forum_id=218757
      https://sourceforge.net/forum/forum.php?thread_id=1738784&forum_id=218758
      https://sourceforge.net/forum/forum.php?thread_id=1275529&forum_id=218758

      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