Copied to clipboard

Flag this post as spam?

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


  • John Hudiel 32 posts 102 karma points
    May 02, 2018 @ 16:37
    John Hudiel
    0

    Different Template Buttons in TinyMCE3

    Hi Guys,

    I have successfully duplicated the template button for the MCE. However, both buttons seems to be getting their template from one source even though i already fix the config to different locations.

    See lines of code below.

    In tiny MCE config:

    <umbracoAlias>Templates</umbracoAlias>
    <icon>images/editor/template.gif</icon>
    <tinyMceCommand value="" userInterface="true" frontendCommand="template">template</tinyMceCommand>
    <priority>19</priority>
    </command>
    
    <command>
    <umbracoAlias>blogtemplates</umbracoAlias>
    <icon>images/editor/template.gif</icon>
    <tinyMceCommand value="" userInterface="true" frontendCommand="blogtemplates">blogtemplates</tinyMceCommand>
    <priority>19</priority>
    </command>
    

    In the config key:

     <config key="templates">/App_Plugins/TinyMceTemplates/templates-config.html</config>
      <config key="blogtemplates">/App_Plugins/TinyMceTemplates/blogtemplates-config.html</config>
    

    Can someone point me in the right direction? Will really appreciate the help

Please Sign in or register to post replies

Write your reply to:

Draft