1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Content Types and Fields/Handlers

Discussion in 'XenForo Suggestions' started by xf_phantom, Jun 22, 2013.

  1. xf_phantom

    xf_phantom Well-Known Member

    It would be nice if we could manage the types & typehandlers via an UI in the ACP and xf would add them to the addon xmlfile just like the templates, phrases,template modifications.......

    This would reduce problems like http://xenforo.com/community/threads/cant-deals-with-report-handler.49977/, we wouldn't need to use phpmyadmin or any other sql client for CRUD & debugging while the development and it would reduce the necessary addon install code :D^
    Alfa1, Xon, cclaerhout and 4 others like this.
  2. digitalpoint

    digitalpoint Well-Known Member

    It would be nice if there was an interface under the developer area to manage content types rather than injecting them directly into the database, then making sure you rebuild content type caches manually.

    In addition, I think content type fields should have an addon_id... because you can do things with existing content types as part of an addon, but only the content type as a whole is linked to an addon.

    For example, I have an alert handler for threads, I have search handlers for users, reports and conversations... but those content types aren't created by the addon, rather they just have addon-specific handlers.

    Also, I don't think content types (or their associated fields) are part of the addon import/export process. It would be nice if they were rather than the whole manual database insert/delete.
    Alfa1, Daniel Hood, Bob and 1 other person like this.
  3. xf_phantom

    xf_phantom Well-Known Member

  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    I've merged them.
    xf_phantom likes this.
  5. Chris D

    Chris D XenForo Developer Staff Member

    Until this sort of feature is core (@Mike) I have developed and released this add-on:

    I'd love to eventually see content types managed in the ACP as I've created here, but in addition stored and installed via the add-on XML rather than still being added via query. But even this add-on takes some of the pain away from that by creating the SQL code for you. You just have to add them accordingly to your add-on install controller.
    Alfa1 likes this.

Share This Page