
187
ADOBE GOLIVE CS2
User Guide
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.)
2
Place the image file in this folder: Adobe/GoLive CS2/Modules/Diagram Objects.
3
Restart GoLive. To be available from the objects toolbox, the custom object must be in the Diagram Objects folder
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.
2
Open the defaults.agldex file in the DocumentStore folder and copy an existing <example></example> specifi
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),
mime
is the
appropriate mime type,
ext
is the extension you specified for the object,
group
is the appropriate group in the
defaults.agldex file (
markup
,
css
,
media
, or
misc
),
display name
is the file name you specified (to be used in the user
interface if the next three items are set to
yes
),
context
is
no
unless you want the file to be listed in the site context
menu,
menu
is
no
unless you want the file to be listed in the File > New Special menu,
sort
specifies the sort order
for the display name in menus, and
file url
is the name of your sample file (
dialog
is not used at this time).
3
Edit the copy of the specification and place it in the appropriate group in the defaults.agldex file.
4
Restart GoLive. To be available as a sample file, the file must be in the examples folder and defined in the
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.
Summary of Contents for GOLIVE CS2
Page 1: ...Chapter 1 Copyright User Guide...
Page 251: ...ADOBE GOLIVE CS2 242 User Guide...