MACROMEDIA CONTRIBUTE 3-DEPLOYING CONTRIBUTE User's Guide Page 75

  • Download
  • Add to my manuals
  • Print
  • Page
    / 142
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 74
Include Asset
Components User's Guide
75
ForceReference Example
The Sample site project, which gets installed with Collage, includes a sample file that uses
this component. This file is
/WebSite/Component_Demo/ForceReference.html
and its
location in Collage is shown below:
The ForceReference.html file contains this code:
<nexus:component classid="nexus/components/ForceReference"
code="$nexusComponents" dependency="/WebSite/Component_Demo/
deploy.txt">
</nexus:component>
If any changes are made to deploy.txt, the ForceReference.html page will be deployed,
regardless of what changes were made. However, changes to ForceReference.html will not
force the deploy.txt file to be deployed.
Include Asset
Use the Include Asset component to do one of the following:
Find an asset in the current project and copy it into the asset that contains the
component. This allows you to reuse standard content snippets without having to
paste them into multiple files.
Display the content of specific contribution fields from contribution assets. In this way,
you can easily reuse the content of contribution fields without having to copy and
paste that content into multiple assets.
Page view 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 141 142

Comments to this Manuals

No comments