You Are Here: WebCrimson Home > Webcrimson Support

WEBCRIMSON SUPPORT



Using Editing Interface: Page Template Settings

There are five separate sections in the Settings for your Single Entry Template:

  1. Basic Settings
  2. Single Entry Pages
  3. Date Formatting Options


1. Basic Settings

There are five Basic Properties that you can view or configure in this section:

  • Name of Template
  • Description
  • Location
  • Type of Template
  • Source of Content

Name

This is the name of the Template.  It will appear in your Templates menu pulldown off of the Editing Interface, so make sure that you pick an intuitive name.

Description

This is the description of your Template, largely for Internal use.

Location

This is the location of the folder where you'd like to output the files generated by this template.

If you'd like to put the pages generated by WebCrimson into the main folder of your webhost, leave Location set to "Top Level".  If you'd like to put the pages into sub-folders, feel free to use any of the sub-folders you've created already... or even create "New Folders" using the grey button.

Type

This non-editable field displays the type of template. In this case, it should say "Single Entry".

Content

Every Single Entry Template draws on an underlying database.  This field displays the name of that database. 

Like the Type field just above it, this field is also not editable.

2. Single Entry Pages

There's only one real setting for the Single Entry Pages to configure: the format for naming the files generated by this template.

File Name

As you publish each entry in your database, each page published will need a separate name.  WebCrimson simplifies this process by automatically creating a unique filename for each page generated by this template, according to the settings you put in this field.

For example, each entry is given a unique ID in the WebCrimson database.  You can use this unique ID in your filename by putting the text "%u" in this field.

So for example, if you put in:

  • %u.html

That would generate files with names like this:

  • 1492.html
  • 1394.html

You can also use text together with variables.  So for example, this text:

  • press%u.html

would generate file names like this:

  • press1421.html
  • press1391.html

There's a whole range of variables available to use in this field, including:

  • %t
    • the data type
    • EX: Weblogs, PressReleases, Jobs, Articles, Companies...
  • %p
    • the name you gave to your template
    • EX: Fronttemplate
  • %d
    • the file's publication date
    • EX: 20020820
  • %n
    • the text of your primary field. 
      • For example, the primary field for a Weblog is the Entry field.
      • For an Article, it's the Title field.
    • A maximum of 50 characters will be used from the field, with spaces pulled out. 

You can combine the variables in this field.

For example, you could combine the date and the unique ID tag like this:

  • %d-%u.html

This would generate file names like:

  • 20020820-1421.html
  • 20020817-1391.html

One final note: if a user specifies a file name in the database, that file name will automatically override the automatic filenames generated by this field.

5. Date Formatting Options

This section contains the Date Formatting Options for your entire template.

Date/Time

Using special tags in your templates, you can display each of the Time Fields associated with your data entries.

Select a date/time format for each of the Time Fields that you want to display:

  • 8:14 pm
  • 8:14:06 pm
  • 8:14 PM
  • 8:14:06 PM
  • 20:14
  • 20:14:06
  • 3/6/2002 8:14 pm
  • 3/6/2002 8:14:06 pm
  • 3/6/2002 8:14 PM
  • 3/6/2002 8:14:06 PM
  • 3/6/2002 20:14
  • 3/6/2002 20:14:06
  • March 06, 2002 8:14 PM
  • Wednesday, March 6, 2002
  • Wednesday, March 6
  • wednesday, march 6
  • March 6, 2002
  • march 6, 2002
  • Wednesday
  • wednesday
  • 03/06/2002
  • 03/06/02
  • 3/6/02
  • 3.6.2002
  • 3.6.02
  • 02.03.06
  • 06/03/02
  • 6.3.02
  • 06-03-02
  • 20020306
  • 2002/03/06
  • 02/03/06
  • 2002-03-06
  • March 2002
  • 2002



Back to Top


Back to
WebCrimson Support