Contributions
osCMS v0.1
This contribution is the very simple but powerful osCommerce Content Management System. It allows to define and modify text on osCommerce shop pages to end-user .
For the first time it can do very simple content management but a lot of userfull features can be added in the next versions.
Anyway I hope osCommerce 3.x will be powerful enough in this field.
This contribution was added because I was unable to find any cms addon I can use. All addons weren't maden in professional way and I just lost the time to try them and nothing more!
Expand All / Collapse All
Hello,
Please ignore the latest two messages made by qzi.umar because these "improvements" does not have any relations to osCMS at all. I tried to remove that packaged but I cannot get a password to my old account.
(No files attached.)
CMS with SiteMap for OsCommerce
This is a fast way to make Content Pages
Great contribution, easy to install, easy to use. All the credit goes to Oleksiy Zubovskyy and to itagtodd (Todd Stewart) for suggesting an improved method for using this contribution.
In this new version you will get:
- Added the functionality for having a status, so you can disable a content item without deleting it
- Added title field and a get_cms_title function, so you can specify a title for each content page
- Fixed one bug that did not allow the edition of the content name
- Updated the Help file with these new features
This is a full package, if you are upgrading from v0.1 or v0.1.1 there are upgrade instructions at the end of the INSTALL file (assuming you did not change the contribution scripts).
If you are happy with version 0.1.1 and just want to fix the bug, then here are the instructions for fixing the bug:
Edit file catalog/admin/cms_content.php
**** Find
if (($action == 'new')||($action == 'edit')) {
$content_text = array();
**** Replace with
**** Find
if (($action == 'new')||($action == 'edit')) {
$cID = tep_db_prepare_input($HTTP_GET_VARS['cID']); // 20080305 bug fix: $cID was undefined, name was not being shown
$content_text = array();
If you find problems, first of all, please accept my apologies, and second report them to me (my contact information is at the end of the INSTALL file), or even better, if you can fix them, consider uploading the new version.
Freddy
Great module. The INSTALL file has "<?php echo tep_get_cms_content('IndexPageMainText'); ?>" to use the CMS content. I found
<?php
if (isset($HTTP_GET_VARS['content'])) {
echo tep_get_cms_content($HTTP_GET_VARS['content']);
} else {
echo tep_get_cms_content('IndexPageMainText');
};
?>
more useful, then I can link reference any of my CMS content into the main page.
This is almost the same package but a bit smaller because all "*~" files where removed. I used 'joe' to modify files and it did autobackups. I forgot about them and I was unable to see them with 'mc' when finished INSTALL and deleted these files. This files caused questions and bugfixes but they don't exist and everything was in INSTALL file. Please, read INSTALL file carefully.
Sorry for my mistake :)
PS: now I am h0b0s2. website said my account was not validated or suspended and I have no idea this is a bug or not :D
in the datbase_tables.php file its has :
define('TABLE_CONTENT_IMAGES', 'content_description');
when it should be:
define('TABLE_CONTENT_IMAGES', 'content_images');
This contribution is the very simple but powerful osCommerce Content Management System. It allows to define and modify text on osCommerce shop pages to end-user .
For the first time it can do very simple content management but a lot of userfull features can be added in the next versions.
Anyway I hope osCommerce 3.x will be powerful enough in this field.
This contribution was added because I was unable to find any cms addon I can use. All addons weren't maden in professional way and I just lost the time to try them and nothing more!
Note: Contributions are used at own risk.