MACROMEDIA CONTRIBUTE 3-DEPLOYING CONTRIBUTE Betriebsanweisung Seite 29

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 142
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 28
Data Field Macro Reference
Components User's Guide
29
You can use this value to generate a link to the asset, for example:
<a href="$node.url">
The
$node.url
macro generates the relative path to an asset. If you want to generate
the absolute path to an asset, use the following syntax instead:
$node.absurl
You can also generate a URL to the HTML versions of contribution assets, or to alternate
versions of HTML files which are generated using different contribution layout files. Use
the following syntax to generate this URL as a relative path:
$node.detailsurl
Or the following syntax to generate this URL as an absolute path:
$node.absdetailsurl
To link to the HTML versions of contribution assets, or to any asset which is generated
using a layout file, the component must include a
layout
property, which determines
which contribution layout file will be used to generate the HTML. See page 52 for details.
Contribution Field
If the asset is a contribution asset, you can use the following syntax to display the content
from a contribution field in the asset:
$node.contribution("field_name")
For example, if the field name is Title, you can use this syntax to display the content from
the field:
$node.contribution("Title")
Formatting Date Fields
Data field macros which display time and date information can include an optional
parameter which formats the time and date. This option is appended to the macro as
follows:
$type.macroname
(
"date format"
)
For example:
$node.createdate("yyyy.MM.dd G 'at' hh:mm:ss z")
Will display the date an asset was created in the following format:
2002.08.10 AD at 13:09:22 PDT
To define the date format, you can use any of the following symbols according to the
pattern rules in the following table:
NOTE
The
$node.absurl
macro is not supported by the NavMap component.
Seitenansicht 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 141 142

Kommentare zu diesen Handbüchern

Keine Kommentare