FreeContent For Xoops Tutorial
Using FreeContent to display your own html or php pages in Xoops. Freecontent is Smarty cache, Search and Xoops comments featured. Version 2.1 and up implements a new wrapping method that is XHTML compliant, but you can turn it off via the config.php file if you prefer the old method (set $fc_xhtml_compliance = 'no').
(For latest version of Freecontent go to: http://www.guanxicrm.com)
Beginning from version v2.9.0 Freecontent implements a URL Rewriting function allowing subsequent local urls to be also showed in Xoops, this feature can be disabled by settings in config.php>
| Step1 | upload your html or php content pages under the default content root dir (Xoops_root_dir/modules/freecontent/content). your can change the default content root dir setting in config.php file (variable $fc_content_root_url) directory |
| Step2 | go to Xoops admin panel > freecontent admin > List Contents Provide appropriate path info for adding a new content connection, give a Title -> this will be the name of menu item in the Freecontent Block give a path-> this is where to find your html(php) file, for example, this tutorial file is in tutorial.html (relative to the default content root dir) give a detailed comment (optional but recommended, search will go here!) -> it is purely for your convenience. Select the "hidden option" if you do not want the item to be showed in FreeContent's Menu Block |
| Step3 | Give access rights of FreeContent module and block to your users |
| Step4 | Show the FreeContent Block (make FreeContent Block Visible) |
| Step5 | Click on menu items in your Freecontent Block and enjoy your work ! |
| Step6 | Link back to my site if you appreciate this tool www.wjue.org (Chinese) and www.guanxiCRM.com (English) |