ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Add a new template type

September 17, 2012 11:20am

Subscribe [2]
  • #1 / Sep 17, 2012 11:20am

    garda

    35 posts

    Is there a way to create new template types? I would like to generate json content that’s going to be fetched by a js script. So i’d like to generate a .json file with application/json mime type.
    Thanks,

    Vincent

  • #2 / Sep 19, 2012 12:51pm

    Shane Eckert

    7174 posts

    Hey garda,

    Thanks for your question!

    There is no automatic way within the ExpressionEngine Control Panel to do this, but there is a hook to create them.

    I hope this help!

    Is there anything else I can help with?

    Cheers,

  • #3 / Sep 26, 2012 2:57pm

    garda

    35 posts

    Hi Shane, that’s perfect, thanks for the link!

    Vincent

  • #4 / Sep 26, 2012 2:59pm

    Shane Eckert

    7174 posts

    Hey garda,

    Glad to help!!

    If you need anything else, please just let me know by opening a new thread.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases