Add Text or HTML Content
The application has pre developed templates for content such as About Us, Contact Us etc.
Under the MANAGE CONTENT title in the middle column of the admin home page, click on "Manage Site Content" to view and add various content types. The information provided within this section will be dynamically displayed on the front end of the application to all visitors. By default, the content titles are displayed at the bottom (footer) of all pages:
Default Links: Home | About Us | Contact Us | Privacy | Terms of Use etc.
How To Add New Content & Articles.
1. Content Title: Provide the title of the content being displayed. This will be the title displayed at the very top of the page when the related link is clicked. Example: When a visitor clicks on "About Us" this field may contain: About ABC Company - Company Slogan. 2. Content Type: From the drop down box select the content type that the above Content Title should be related to. Example: The above title constitutes "About Us" content, therefore select About Us from the drop down.
3. Main Content Body: Add content as regular text or by using the HTML WYSIWYG Editor. If the HTML Editor does not display there is an error occurring and by default, a textarea will be displayed. The HTML Editor is similar to Microsoft Word, in that images can be uploaded and text can be bolded, underlined, resized and various fonts/colors can be assigned.

4. Additional URL (optional): Especially ideal for articles to reference the contributing URL or website in which the content orginated or for additional reference visit: http://www.domain.com
5. Activation Status: Content must be activated to be displayed to visitors.
Developer* - Add Additional Content Templates
Website developers can add unlimited content types. The current default list is available in the .cfm file located in root/appGlobalFeatures.cfm. This file is then called as a cfinclude in the Application.cfm file. The format is a list as displayed below.
!--- ADMINISTRATIVE CONTENT TYPES ---
cfset APPLICATION.CONTENTLIST="1|Article,2|About Us,3|Contact Us,4|Terms,5|Privacy and Security,6|Frequently Asked Question,7|Help,8|Sitemap,9|Billing Acceptance Agreement,10|Main Home Page,11|Advertiser Articles,12|Buyer Articles,13|Advertiser Login Content,14|Buyer Login Content,15|New Advertiser Content,16|New Buyer Content"
Add to the list using the following syntax: ,17|Content Title,18|Content Title ... The new list values will then be pulled into the back office "Manage Site Content" section automatically.
The above listed values are related to ColdFusion files in the root directory of the application as follows:
mnhome.cfm = Main Page
mnabout.cfm = About Us
mncontact = Contact Us
mnterms = Terms and Conditions
mnprivacy.cfm = Privacy and Security
mnfaqs.cfm = Frequently Asked Questions etc.
- To create a new content type file simply open, for example, mnabout.cfm and then save it as mnnewname.cfm. In the cfquery change the ContentType to equal the ID of the next available number that was assigned in the list (Example: 17). Then...
- Open index.cfm and go to approximately line 290 and add a new cfcase value for the new content page. Use the same syntax of the values currently available.
- Then make the link available throughout the application as desired by using the following code as a hyperlink: index.cfm?page=newcase. Also copy and paste the latter code in the top of the new file replacing the cflocation reference (approximately line 4).
- Save and upload new and updated files to the root directory.
|