Hi all,

I'm using the cf_htmlarea_lite tag (basic textarea HTML formatting if
you haven't come across it before). This app requires an "inc"
subdirectory to be included with a couple of CF tags, some JS files etc.
When you call the tag, you need to specify the location of the inc
directory as an absolute link - ie http://www.site.com/inc/.

My problem is that when the inc directory is below my app's root
directory, the include files don't work - I get a heap of javascript
errors. If it's in a location outside of any  application, on another
server, it's ok, but then if I put it outside of the root dir on my own
server, I can't specify the absolute location of the directory and the
code won't work. I tried putting a basically blank Application.cfm file
in the inc directory so that the main site's Application.cfm doesn't get
called but that didn't seem to help. I really have no clue as to what's
going on there. It's an FB3 app using SES URLs but I don't think that's
making any difference, I have seen this behaviour before on a standard,
non-Fusebox CF app.

Anyway, to get around the problem, I put the main site in a subdirectory
under the root. The include files are in another subdirectory, also
under the root. I have an index.cfm file in the root directory which
cflocates to the main app subdirectory. 

What I want to know is if there is any better way to fix the problem. I
am worried that search engines will not index the site because of the
cflocation on the initial file. Search engine placement is going to be
*really* important to this client.

Anyone have any clue?
Kay.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to