Thats great. Thank you Jake. -----Original Message----- From: Jake Churchill [mailto:[EMAIL PROTECTED] Sent: 01 June 2007 15:27 To: [email protected] Subject: [farcry-dev] Re: Changing the html inserted in to the html editor forfiles.
Your best bet will probably be to just create your own insertHTML template. What is in the config is the default but if you create more than that, you will get a dropdoown under your file insert. the dropdown will have "default" then any that you created. It's very very simple (a couple lines of code). Yours will be slightly more than that. If there's not already a dmFile folder in your project's webskins folder, create it and create a file called insertHTML_<your filename>.cfm. Here's a blog about all this: http://jake.cfwebtools.com/index.cfm/2007/1/12/Farcry-InsertHTML-Templates Jake On 6/1/07, Liz Porter < <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]> wrote: Hi We would like to change the html that is added into page bodies and the like when ineserting files. For eg we'd like to display filesize next to the link created for a file. Can I do this by changing the insertHTML variable in the file section of the admin/config? Or do I need to make changes to files such as the bodyInsertItem.cfm? Or rather recreate bodyInsertItem somewhere on my site and change and use that instead. I have already extended the html type. Any help appreciated. Regards Liz -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by <http://www.mailscanner.info/> MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
