Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kate 267 posts 610 karma points
    Sep 18, 2010 @ 16:27
    Kate
    0

    tinyMce template plugin

    I have been following this artikel http://our.umbraco.org/wiki/how-tos/enabling-the-%27template%27-plugin-for-tinymce to get the templates to work in the editor and it works fine.

    But how do I make more than one template?

    In the text-editor where I pick the template is the name of the templates in a dropdown, but where do the name come from.

    I thorght it came from this line (title : "Two Column",)

    <config key="entity_encoding">raw',template_templates:[
          {
          title : "Two Column",
          src : "/home/TwoCol.aspx",
          description : "Two Column layout"
          }],
          template_popup_height : '400
    </config>

    but when I changes it here, nothing happens. Can anybody explain that?

     

    /Kate

  • Kate 267 posts 610 karma points
    Sep 26, 2010 @ 09:22
    Kate
    0

    It is working now

    To make 2 templates I did this:

    <config key="entity_encoding">raw',
          template_templates:[
          {
          title : "Two Column",
          src : "/home/TwoCol.aspx",
          description : "Two Column layout"
          },
          {
          title : "Blockquote",
          src : "/home/Blockquote.aspx",
          description : "Blockquote"
          }],
          template_popup_height : '400</config>

     

    And to save it after making changes to the tinyMceConfig.config I had to resave the web.config file

     

     

Please Sign in or register to post replies

Write your reply to:

Draft