Open topic with navigation
Subsite Directories and Content
For each subsite within a site, the following directories are automatically created in the subdirectory of the subsite. For example, if a site had a products subsite, then the following directories would be created under the [siteroot]\products\ directory.
- customcf - The customcf directory is used to contain ‘public’ custom ColdFusion Element source modules. Developers who will create custom script modules should be given the appropriate FTP access to this directory. All Read and Write security permissions should be assigned appropriately through the file system. Any module uploaded into this directory can be specified to be included via the Custom script Element. Therefore, if you have sensitive Custom ColdFusion modules that should NOT be run by any individual, do not place them in this ‘public’ directory. Instead, create a new directory, and specify the ColdFusion mapping to this new directory when specifying which module to invoke in the Custom ColdFusion module.
- images - This directory contains the uploaded images for pages within the subsite.
- menuoverride – This directory is used to contain the customized CFM modules used to override the rendering of the menu Element. Only if the menu rendering is overridden should there be files in this directory.
- presentation - The presentation directory contains uploaded Microsoft PowerPoint files and associated subdirectories for PowerPoint presentation Elements within this site.
- templates - The template directory contains the site’s base level templates as well as the template preview images that appear in the template gallery. Developers that create the base template ColdFusion script modules should be given the appropriate FTP access to this directory. CommonSpot provides no mechanisms for uploading CFM scripts into this directory. All Read and Write security permissions should be assigned appropriately through the file system.
- upload – This directory contains public copies (readable by anonymous users) of any Word, Excel, PDF, PowerPoint, etc. documents uploaded for the subsite.
Note: The root of a site is considered a subsite, so these directories will also appear in the root subdirectory of the site (in addition to those directories listed in the previous section).
CommonSpot also copies several encrypted code modules into each subsite when the subsite is first created. These modules include:
- admin.cfm – Provides direct access to the subsite administrator page.
- createpage.cfm – Provides a means of creating the first page within a subsite.
- login.cfm – Provides a means for the user to login, if one is not provided directly by the site.
- logout.cfm – Provides a means for the user to logout, if one is not provided directly by the site.
- loader.cfm – A module used by CommonSpot to load the proper application space for the subsite. For more information, see the Dialog Loader section of the Event Hooks chapter in the CommonSpot Developer’s Guide.
- upload.cfm – Provides a means for safely uploading a document/page into the current subsite, based on the user’s upload rights. Users can only upload modules if explicit permissions have been granted for the current subsite. If ‘restricted upload’ permissions were granted, the user is only allowed to upload CFM modules that are "safe", that is, those that do not contain possible malicious code, such as CFFILE, CFREGISTRY, CFDIECTORY, etc.
Related Links
You can download PDF versions of the Content Contributor's, Administrator's, and Elements Reference documents from the support section of paperthin.com (requires login).
- What's New in CommonSpot 6.0
- CommonSpot 6.0.0 Menu Quick Reference
- Developer's Guide
- Template Developer's Guide
- Style Sheet Reference Guide
- Shared Database Configuration Guide
- Replication vs Shared Database Guide
- Static Content Generation Guide
- Performance Recommendations Guide
For technical support:
http://www.paperthin.com/support/
Open topic with navigation