Docs Home Install Upgrade Troubleshoot Customize Admins Devs Content Query Templates Commands Skins


The term content can refer to several areas of ccHost. The graphic below shows a high level overview of the some of the inputs, processes and methods of rendering.

Cchost-content.png

User Uploaded Content

User uploaded content refers to the content that your users upload to ccHost. This might be music files, images, font, lesson plans, whatever the administrator has chosen as valid system input.

User content is placed under the <content_directory>/<user_name> directory, where <content_directory> is administered at admin/paths and <user_name> is the log in name of user associated with the content.

Upload vs. File

Upload records represent one or more physical files. There is meta data for the overall upload record and also for each individual file that upload record represents.

In ccHost, users 'Submit an upload' which takes an initial file. That creates an upload record with a single physical file record. User's have the option to 'add', 'replace' or 'delete' physical files in that upload record, or delete the entire upload record which deletes all the physical files and their meta-data records.

All uploaded user content in the system is displayed using the Query API. This is explained in detail in How User Content is Displayed. Admins and developers can extend the system using the query and template system as explained in Custom Query Templates.

User generated topics

User generated reviews and forum posts are stored in the topics database.

All topic content in the system is displayed using the Query API. Admins and developers can extend the system using the query and template system as explained in Custom Query Templates.

Topic Format Commands

When entering a topic you have the option to use ccHost formatting short cuts based on a variation of BBCode tags.

Code Effect
[b]bolded text[/b] bolded text
[i]italicized text[/i] italicized text
[u]underlined text[/u] underlined text
[url]http://example.org[/url] http://example.org
[url=http://example.com]Example[/url] Example
[img=http://mirrors.creativecommons.org/presskit/icons/nc-jp.png][/img] http://mirrors.creativecommons.org/presskit/icons/nc-jp.png
[quote]quoted text[/quote]

quoted text

[quote=fourstones]attributed quoted text[/quote]

fourstones says:

attributed quoted text

[big]Large Text[/big] Large Text
[small]Small Text[/small] Small Text
[up][/up] http://ccmixter.org/ccskins/shared/images/thumbs_up_tiny.gif
[right][b]floated right markup, img tag works here too[/b][/right]Normal markup that wraps around the right text
floated right markup, img tag works here too
Normal markup that wraps around the right text
[query=t=links&tags=hip_hop][/query] (produces query results)
[color=red]Red Text[/color]
(also blue or green)
Red Text

Admin Generated Content

Admin generated content refers to pages authored for the site, generally text and images. Examples might be a credits page, terms of use, the home page, etc.

Pages Authored with Content Manager

As of ccHost 5 admins can use the Content Manager to create pages without having to worry about HTML markup or page file management. Read more about the Content Manager.

Pages Authored Outside ccHost

Administrators can put HTML (PHP) files that they edit outside of ccHost and directly into the system. Read more about pages authored outside of ccHost.