Adobe GOLIVE CS2 User Manual page 196

Hide thumbs Also See for GOLIVE CS2:
Table of Contents

Advertisement

To create a new custom object and add it to the Diagram set of the objects toolbox
1
Save an image using the following file name convention: myfilename-myextension.gif, where myfilename is the
name that appears in the objects toolbox tool tip and is the default extension that is used in the file names of the
created objects. (If you do not include a default extension and the preceding hyphen, .html is used.)
Place the image file in this folder: Adobe/GoLive CS2/Modules/Diagram Objects.
2
Restart GoLive. To be available from the objects toolbox, the custom object must be in the Diagram Objects folder
3
when GoLive starts.
To specify a sample file for a custom object
1
Create a default sample file in the Adobe/GoLive CS2/Settings/DocumentStore/examples folder. The default
sample file is used to create a file when you submit the object, unless you specify another file in the Object Inspector.
Open the defaults.agldex file in the DocumentStore folder and copy an existing <example></example> specifi­
2
cation in this file. Example specifications have this format:
where
ident
is the file name you specified for the custom object (without the hyphen and extension),
appropriate mime type,
ext
defaults.agldex file (markup, css, media, or misc),
interface if the next three items are set to yes),
menu,
menu
is
no
unless you want the file to be listed in the File > New Special menu,
for the display name in menus, and
Edit the copy of the specification and place it in the appropriate group in the defaults.agldex file.
3
Restart GoLive. To be available as a sample file, the file must be in the examples folder and defined in the
4
defaults.agldex file when GoLive starts.
To add a custom object to a diagram
1
Drag the object from the Diagram set of the objects toolbox to the design view. You can add a custom object to an
empty area of the design view, or drag it over an existing page, section, or other custom object to add it as a parent,
sibling, or child of the existing object.
2
In the Object tab of the Object Inspector, do any of the following:
Enter a design name for the object in the Name box. This name appears in the design view as the label for the object
only if Design Name is selected in the Display tab of the View palette. Otherwise the label is its file name or page
title.
Select Create From to specify that a file will be created when the object is submitted, and then select Stationery,
Template, or Sample. You must specify a stationery, template, or sample file in order to create a file for the custom
object. To use a stationery or template file, choose the file from a menu. To use a sample file other than the default
file in the DocumentStore folder, drag from the pick whip to the sample file. The sample file must be located on
your computer.
Specify a file name and target folder for the file to be created when the object is submitted.
To edit a custom object
Do any of the following:
Change settings for the object in the Object tab of the Object Inspector.
Change the sample file in the Adobe/GoLive CS2/Settings/DocumentStore/examples folder.
is the extension you specified for the object,
display name
context
file url
is the name of your sample file
group
is the appropriate group in the
is the file name you specified (to be used in the user
is
no
unless you want the file to be listed in the site context
(dialog
ADOBE GOLIVE CS2
mime
is the
sort
specifies the sort order
is not used at this time).
187
User Guide

Advertisement

Table of Contents
loading

Table of Contents