Has anyone done any work with tinyMCE and its template plugin?  I’m having a
hard time getting this set up.  I have the init altered to provide the
button and load the template files.  I’ve modified the default popup.htm to
be popup.cfm and modified some content inside there.  Now, I’m wondering how
to actually get an insert.  I’ve got a directory /tinymcetemplates where I
will store all the templates.  So far I have one (listtemplate.cfm).  I’ve
got this in my .init()

 

template_templates : [

{

title : "List - Menu",

src : "listtemplate.cfm?listclass=list",

description : "Unordered List"

}

]

 

Here are the contents of listtemplate.cfm:

 

<cfparam name="url.listclass" default="">

 

<cfoutput>

<div class="mceTmpl">

<ul class="#url.listclass#">

      <li>Item 1</li>

      <li>Item 2</li>

      <li>Item 3</li>

</ul>

</div>

</cfoutput>

 

 

How do I get that into my editor???

_____ 

Jake Churchill 
CF Webtools 
11204 Davenport, Ste. 200b 
Omaha, NE  68154 
HYPERLINK "http://www.cfwebtools.com"http://www.cfwebtools.com 
402-408-3733 x103 

 


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007
5:38 PM
 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285899
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to