Update...
I changed from popup.htm to popup.cfm. I have a template inside of
/tinymcetemplates/listtemplate.cfm like you suggested. How do I get the
contents of that into the editor. 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>
_____
Jake Churchill
CF Webtools
11204 Davenport, Ste. 200b
Omaha, NE 68154
http://www.cfwebtools.com
402-408-3733 x103
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jake Churchill
Sent: Thursday, August 09, 2007 3:50 PM
To: [email protected]
Subject: [farcry-dev] Re: tinyMCE woes
Excellent idea. Now I'm just working on getting it working. I have the
template plugin running and the button added to the editor. I'm getting a
bunch of errors though about initialization parameters and the default popup
for the templates is confusing me. How do I make my templates listed in the
config available? Is there any good tutorials out there. The wiki at
moxiecode.com got me a start but I need a big more info.
_____
Jake Churchill
CF Webtools
11204 Davenport, Ste. 200b
Omaha, NE 68154
http://www.cfwebtools.com
402-408-3733 x103
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of bsmith
Sent: Wednesday, August 08, 2007 8:41 PM
To: farcry-dev
Subject: [farcry-dev] Re: tinyMCE woes
instead of having your users select the classes to apply to the lists,
you could come up with some templates.
probably the easiest way would be to have a template file with the
class as a parameter:
<ul class="#listclass#">
<li>Example 1</li>
<li>Example 2</li>
<li>Example 3</li>
</ul>
and then adding each class into your tinyMCE config using a parameter:
template_templates : [
{
title : "List - Menu",
src :
"/tinymcetemplates/listtemplate.cfm?listclass=menu",
description : "Menu (unordered list)"
},
{
title : "List - Sub-menu",
src :
"/tinymcetemplates/listtemplate.cfm?listclass=submenu",
description : "Sub-menu (unordered list)"
}
]
Just an idea.
B.
On Aug 9, 3:06 am, "Jake Churchill" <[EMAIL PROTECTED]> wrote:
> I have a site that I'm transferring to farcry and the layout/css design is
> beautiful. However, they do a lot of things with unordered lists. All of
> the unordered lists have classes associated with them. They want to be
able
> to select the UL tag in tinyMCE and apply a style. I've got the styles in
> the dropdown working fine but I can't select the UL tag. It just applies
> the class to all child LI elements. I'm using FC 3.0.2 so I tried
FCKEditor
> and you can't select it there either. It doesn't apply the styles to the
LI
> elements, it just surrounds everything with a SPAN.
>
> Does anyone know of a fix or workaround to this that doesn't require
hacking
> up or re-writing the already beautiful code?
>
> _____
>
> 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.8/941 - Release Date: 8/7/2007
> 4:06 PM
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007
5:38 PM
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
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007
5:38 PM
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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---