Dear friends,
I've try to make a custom insertHtml template for my images using:
http://docs.farcrycms.org:8080/confluence/display/FCDEV30/Insert+HTML+Templates

I've just copied code from there to my dmImage folder. In result under
my "Insert in Body" i can see the template listed. However when i click
the button to insert image into Body it doesnt do anything. When i am
switching back to "default" template everything is fine.
As an editor i am using TinyMCE.
Here is the code:
<!--- @@displayname: Image and caption --->
<cfsetting enablecfoutputonly="yes">
<cfoutput>
<p style="featurepic">
<img src="/images/#stObj.imagefile#" alt="#stObj.alt#" /><br />
#stObj.title#
</p>
</cfoutput>
<cfsetting enablecfoutputonly="no">

file named as: inserthtml_imagewithcation.cfm

Thanks in advance,
Mika


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to