CORE allows you to completely customize customise the look and feel of a conference. To do this, set the 'custom layout' option in the conference manager. When this option is set all stylesheets, graphics and javascript will be loaded from a separate directory
TODO: explain concept of "CORE", "other content", and "navigation".
Custom layout
Use the following steps to create a custom layout. It is advised that you use the copy commands and then proceed by editing these.
- Create layout script. This template file contains all the (X)HTML markup for your layout.
Use the following command to copy the CORE layout file.Code Block $ cp -r application/layouts/scripts/core application/layouts/scripts/<abbreviation>
...
Let's assume that your conference has the abbreviation myconf.
1. Stylesheets, images, javascript
All of the publicly accessible files for your layout should be stored in a subdirectory of public/includes
.
This folder must have the following structure:
Code Block |
---|
...
includes/
css
gfx
js
|
Use the following command to copy the CORE includes folder.
You can start by copying the supplied 'democonf' folder:
Code Block | ||||
---|---|---|---|---|
| ||||
Code Block | ||||
$ cp -r public/includes-templates/coredemoconf public/includes/<abbreviation>myconf |
...
2. (X)HTML templates
Copy the 'democonf' layout directory as a starting point:
Code Block |
---|
...
chrisdev-reviewers.phtml
cp -r application/layouts-templates/scripts/democonf application/layouts/scripts/myconf
|
3. Activate the layout
To to this, select the custom layout
option for your conference in the conference manager.
Different navigation
It is possible to change the navigation buttons.
1. Configuration file
Create a navigation configuration file in application/config/navigation/
.
The name should be <abbreviation>.php, so in this case that would be application/config/navigation/myconf.php
.
You can start by copying the supplied democonf configuration file:
Code Block |
---|
cp application/configs-templates/navigation/democonf |
Custom navigation
To change the default CORE navigation, set the 'custom navigation' option in the conference manager and:
- create file in /config/navigation with name: <abbreviation>.php
Code Block |
---|
$ cp application/configs/navigation/core.php application/configs/navigation/chrisdevmyconf.php |
- create script folder based on abbreviation in conference settings.
- create includes folder in public/includes based on abbreviation
...
CORE Directory
...
Contents
...
public/includes/conf_abbr
...
Support files, documents, CSS, icons, pictures, javascript
For TNC2011 links should be to /includes/tnc2011/css/...
etc
Your navigation file should always return an array. The syntax of the array elements can be found in the Zend docs.
2. Activate navigation
Select the custom navigation
option in the conference manager.
The example config uses different content as well, so read on.
Extra content
For new content you need to add a new module.
You can copy the "webdemo" module:
Code Block |
---|
cp -r application/modules-templates/webdemo application/modules/web
|
E-mail templates
CORE allows you to send automatically generated emails. For example, the submit feature allows you to send an email to all reviewers of certain papers. This e-mail is generated from two templates. A dynamic template which is generated by CORE and a static template which can contain text, like signature, disclaimers etc. The static e-mail template will be appended to the CORE generated e-mail template.
The name of the static e-mail template is always: abbreviation-<action>.phtml,
so for example myconf-reviewers.phtml
is located in: application/modules/core/views/emails/
...
application/modules/web/views/scripts
...