templates not created for custom module

Discussion in 'Developers' Forum' started by pma_, Apr 14, 2011.

  1. pma_

    pma_ New Member

    According to http://docs.ispconfig.org/development/interface/ some templates should be autocreated but I don't see any. Could you please explain when are they created?

    And similar question I deleted table for my custom module, how to recreate one?

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The templates get created automatically when you first call the edit or list file. I just did this yesterday on a install, so I'am sure that it works.
  3. pma_

    pma_ New Member

    Started to work, problem was in folders permissions.

    But I have one more question what is a source of labels for form? I have form without any label.

    EDIT: sorry, I see they are from lng file.

    Can I force data table recreation?
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes. But you will have to delete the data table and thetemplate file, as the db and template creation script checks if the template exists and if not, creates the template and runs the database creation afterwards.

Share This Page