Hi all.
Im not sure if what i want to do it possible, but REALLY hope it is. Basically im in the process of making a CMS system that allows users to create a website 'on the fly' it does this by duplicating a whole load of config files etc to allow the site to run on its own domain name etc. the problem i have is that the 'on the fly website' also needs access to the Cute editor...
After strippnig out as many files as i can, i still have some 550 files (aprox 4.6mb) that would require copying each time a new site is built. This isnt acceptable as it would requre way too much cpu and storage on the server to copy this amount of files each time.
What id like to do ideally is to split the editor in 2. Make it so my system can duplicate the editors .asp files, but then reference everything else from an external and constant path. In theory this would mean id only have to copy the main file and the Dialog and Tag directories.
For example the website running the editor might be on domain www.MyEditor.com but i then want that editor to load the 100's of skin files and .js files from www.CommonDataStore.com/Resources.
Any ideas? Is this possible at all or am i living in a pipe dream? I guess my only other option would to be embed the Editor in an iframe from a remote server, and then when the form is submitted on the main url use javascript to read out the iframes contents and post that way.
Any help would be appreciated....ive tried allsorts of stuff but its all made very problematic by the fact that not all lines of code seem to utilise a single common path variable.
Cheers,
Carl.