|
Showing posts with label contrexx. Show all posts
Showing posts with label contrexx. Show all posts
Contrexx Theme CreationView Comments1. Introduction: Before start creating the Contrexx themes, one must get familiarized with the file structure that is being followed in Contrexx cms. All the theme file will be placed inside the 'themes' folder in the project folder. After the fresh installation, one could see four folders inside the themes folder. Each folder symbolize a theme. 2. Layout and Design: To view the list of themes and its related files login in to admin panel and get into Administration → Layout & Design. In the overview section you can see the list of themes that are included in that project. The active theme is mentioned as '(Default)' in that list. 3. Create a New Theme: Start Creating a new theme from Administration → Layout & Design → New Theme. Here you create a theme from the already exsisting theme file. If you already have a Theme folder, just copy that folder to 'themes' folder inside your contrexx installation. Then select the 'use exsisting directory in the backend' and you can see the folder name that you copied in the themes folder. Select that theme and click 'Create' button. So that a new theme will be installed. Or else you can create a new theme from scratch or from the template already in your contrexx installation. To create a new theme from scratch give the name for your theme in 'New name of directory' and if you want theme from template, select those from the select available at the right side. Or else leave it as default and click create. 4. Activate the New Theme: Now Click on the Activate tab, placed above this table. There you can see a list of languages and their corresponding selected themes. You can see four types of templates there.
If you have chosen a exsisting template you can see the new design in the front end or else you will get a error in the front end stating 'Variable placeholder 'CONTENT_FILE' not found'. In the later sections we can see why this error occurs. 5. Placeholders: The placeholders plays a major role in the template creation. There are some must know predefined place holders such as
These placeholders includes the corresponding content to this file. For example the NAVBAR_FILE includes the navigation bar to the file where ever it is used. 6. Index.html The Whole Template gets included in the index.html file only. It contains the header and the footer information. NAVBAR_FILE is included in the header. Here the CONTENT_FILE is a compulsory palceholder. Because that is the only while includeds the contents to the template. If you are in the home pahe home.html is included or if you are in the sub pages, corresponding subpage content from content.html is included through this CONTENT_FILE. CONTENT_TITLE and CONTENT_TEXT fetches the corresponding page's content and title from the content manager in the sub pages. 7. Content Manager: In the Content manager section you can create new pages and add contents to those pages and on saving that, all the changes will be reflected in the front end dynamically through the placeholders that we have used. 8. Stylesheets: The style.css is the main stylesheet file that is linked to index.html file. The general styles of the html entities can be written in this file. And style for home page contents, subpage contents, navigation bar, sub navigation bar can be written seperately in home_layout.css, content_layout.css, navbar.css and subnavbar.css respectively and these stylesheets can be imported in the styles.css file. 9. info.xml After succesfully creating the theme edit the info.xml file which will contain the information about the author, company and version of the theme. These things can be seen in the import/export section in the administration → Themes. Fresh Installation of contrexx CMSView Comments
1. Introduction:
Contrexx is a powerful Open Source Web Content Management System (WCMS) which will assist you in the creation, administration and maintenance of contents for the inter-net or intra-net. It's a completely web-based system with an easy-to-use WYSIWYG editor and intuitive user interface. Contrexx is very flexible, by adding modules you can customize the CMS according to your individual demands and it requires no technical knowledge or previous training. ![]() 2. Pre – Installation: Installation of contrexx cms requires a working web server such LAMP, XAMP or WAMP. If have you got a correctly configured web server continue downloading the source package from Contrexx – Download. Unzip the downloaded source zip to DocumentRoot(Generally DocumentRoot means '/var/www/') of your web server. Rename the unzipped folder to contrexx. By Default, all the installation files comes inside of /contrexx/CMS_FILES, move all those files to the /contrexx (this step is optional). 3. Installation: Now point your browser to the location where you unzipped the files. In my case it is http://192.168.2.58/gowri/Project/contrexx/. Now you can see a installation welcome screen. On the next screen you will be asked for the license agreement. On agreeing those things you will be redirected to System requirement check page. If your web server satisfies all the requirements. You will be allowed to the next configuration step.4.Configuration: In the configuration step you will be asked for the databse name and the mysql username and password for creating a database and required tables with data for the project. In the hostname field give our hostname, localhost in general. Then provied the name for the database in the next field, if you have already created a database uncheck the 'create database' and provide the name or else check it and make sure no other database exsist in the server with same name. Table prefix is the text that u need to have before every table name of the database that is going to be created. In the next fields give the username and password for the MySQL server. If you want FTP connectivity check the 'use FTP' field and provided the correct details or else leave it blank.5.Installation warning: At this stage of installation, most of the time you will be prompted with a long list of file permisssion errors. If u get such screen dont get scared, just change the premissions for the installation folder. You can even do this step before starting the installation process.To change the permission just run this command: sudo chmod -R -f 777 {folder's physical location from root}; After changing the permission, proceed to the next step by clicking the Next button at the last of the error list. 6. Database Creation: Now you can see a screen just like the below one, giving the confirmation of creating all the database tables. In the next step you will be asked for the administrator's email id.7. Administrator's Account Here you will be prompted to provide the admin username and password. On correctly providing those thing the final success screen comes. Giving the backend and frontend urls. 8. Installation successDefault Front End for visitors: ![]() Admin Panel: ![]() For more information about the Installation of Contrexx CMS: http://www.contrexx.ch/wiki/de/index.php?title=Contrexx_Manual:Contrexx_Installation_Guide
Subscribe to:
Posts (Atom)
About UsCategories
Followers |







