Hippo CMS

Label: backend

Content with label backend in Hippo CMS (See content from all spaces)
Related Labels: slide, picker, hints, templates, communityapps, layout, binary, widget, mysql, datetimefield, style, css, template, validity, validity-test, internationalization, check, repository, editor, more »

Add a poll picker to CMS templates
business logic: <! in pickers > <picker id="activePolls" class="GenericPicker"> <arg><!CDATA'/editing/dialogs/listpicker/keyvaluepairs?editor=cforms&single item=true&source=cocoon://extensions/projectspecific/activePollsAsNodelist'> </arg> </picker> <! in sources > <source id="allPolls" type="nodetree">cocoon ...
Other labels: templates, poll, picker, communityapps
Configuring the Hippo Repository binary distribution to use a MySQL backend
Download and install Hippo Repository (see Getting Started Tracks). # Install MySQL 4.1 (if you have not done so already). # Create a database, e.g. 'slide': create database slide; # Create a user, e.g. 'slideuser' (replace 'password' with a better ...
Other labels: hippo, repository, slide, mysql, binary
Internationalizing backend templates with I18N
Defining the location of the I18N catalogue In types.xml, add an i18n child element to the resource element defining your document type. Within the i18n element, write the absolute path to the directory containing your i18n catalogue files. <resource name ...
Other labels: templates, internationalization, i18n
Layout reference
Widget reference Checkbox widget A single checkbox to set a 'true' or 'false' value in the XML document. Add a boolean element to your schema: <xs:element name="tobeornottobe" type="xs:boolean"/> Add a checkbox widget to your layout: <checkbox ...
Other labels: editor, template, widget, widgets, reference, layout, datetime, datetimefield
Styling backend templates with CSS
Defining the location of the CSS file in types.xml In your types.xml file, add a 'css' child element to the 'resource' element defining your document type. Within the element, write the absolute URI where the CSS file can be found (it can be on the filesystem ...
Other labels: templates, style, css
Template editing tips
CForms editor support html elements in layout files since version 6.04.xx (rev. 4093). More control over the styling of your backend templates! HTML elements must be in the xhtml namespace ({{http://www.w3.org/1999/xhtml}}). An example: <layout xmlns ...
Other labels: templates, hints, tips, validity, check, validity-test