Creating Multiple Outputs

NEWS & TIPS

  • Site Access Keys
  • Top: Alt+t
    Previous: Alt+,
    Next: Alt+.
    Up: Alt+;
    (Note: use Ctrl on the Mac)

Creating Links Between Outputs

Once you've created multiple outputs for your content, you'll need a way to allow site visitors to select their desired version. To do this, Cascade Server has special system attributes that can be added to templates to create links between the outputs.

To add output links to a template:

  1. Go to the Home area and browse to the desired template.
  2. Click the Edit tab.
  3. Create a standard HTML anchor tag without any attributes for your desired configuration. In order for the system to find the desired configuration, we use the system-page-output attribute with the name of our target matching the target used in the designated configuration. In the XML field, find the place you want the links to appear and insert the following code (modified for the names of your own targets/outputs):

    This code represents three link tags, each with a special system attribute that points to a unique target used by the chosen configuration set. The system will automatically remove this attribute and will insert in its place a correct href attribute.
  4. Click the Submit button to save the template.

Additional Notes

The value of the attribute is the name of the target and should not be confused with the name of the particular configuration. The special system-page-output attribute is only valid for page configurations that are contained within the same configuration set (i.e. an XML configuration from another configuration set has to be linked in a different manner).

If you don’t know where the code should go, just put it after the opening <body> tag. Additionally, these link values can also go into a block or stylesheet in a template region so that only certain pages make them available (e.g. press releases).

Videos

Last modified on Mon, 14 Jan 2008 13:04:43 -0500

Comments


Top / Previous / Up / Table of Contents