Define Content

for osCommerce Online Merchant v2.2

Define Content is a basic language aware Content Management System (CMS) designed for osCommerce. Its intended to make content management easier for the non-technical shop owner. It allows you to define content areas and then modify them with or without a WYSIWYG HTML editor from the osCommerce admin. Site designers can use this contrib to setup areas the store owner can easily modify with tinyMCE WYSIWYG HTML editor. Define Content is completely language aware in both catalog side and admin side. This means it can be used, for example, to make the header (top banner) change with the language choice of the customer. It can also be used to make an image or any other content change with the language choice of the customer. The contribution allows you to include PHP code in the content so dynamic elements such as the STORE_NAME or STORE_NAME_ADDRESS can be added via PHP tags. For security, and by default, php code is stripped from the Define Content editor page when submitted. The extra step is included to enable PHP code inclusion from the editor. The contribution includes easy file copy directions to integrate tinyMCE cross-browser WYSIWYG editor. tinyMCE is compatible with browsers like Mozilla, MSIE, FireFox, Opera and (partially) Safari. tinyMCE has lots of features. It cleans and verifies your HTML and I've even included a mod to support including PHP code if you wish to optionally enable it. If you already have a preferred WYSIWYG editor integrated into your admin, you can use that, or follow the few included additional steps to setup tinyMCE. Once installed, you can use the tinyMCE cross-browser WYSIWYG editor for any textarea field in your osC admin. This contribution comes with several examples of areas to use it such as: Page Header Page Footer Catalog Main Page content and Greeting areas Contact US Message Support: