|
A Cms in 5 minutes
|
Get your design in a CMS in 5 minutes Minute 1 - installation The first thing you do is to download and install the Corinis CCM. If you have problems or questions, check out the wiki. When tomcat started you are ready. Minute 2 - prepare the jsp Create a cms.jsp in your webroot (or give it some other name). Put following code into it: <%@ taglib uri="/corinisTags" prefix="corinis" %> Open it in your webbrowser, and your cms works already! Minute 3 - Create your template Login to the amdinistration pages (http://localhost/corinis) go to Cms->Templates and create a new template. <html> You could already put some styles or whatever you want into it. As you can see the template is xhtml, with a few extra tags. Minute 4 - Change the template of the root document and edit your content ![]()
You can then edit your content (Document/Edit), save it and send it life (Document/QM and Document/Life). You now have the new content with your own template in the cms (look at the jsp page you created) Minute 5 - Navigation You can now add a navigation by putting following code in the jsp (right after the <corinis:cms/>): <corinis:cmsfunction="getFileManagerComplete"xsl="inline"> Now look at what happened and change the code, with fancier styles and more. Or you can read more in the howto section. |