asset macros broken out into individual files
This commit is contained in:
parent
9eb30a4fed
commit
69cd257beb
8 changed files with 126 additions and 43 deletions
|
|
@ -149,38 +149,10 @@ Chances are if you like assets to be configured a certain way, then you'll find
|
|||
lastUpdated => 1111984345,
|
||||
},
|
||||
|
||||
'asset fields title' => {
|
||||
message => q|Common Asset Fields|,
|
||||
lastUpdated => 1100463645,
|
||||
},
|
||||
|
||||
'asset macros title' => {
|
||||
message => q|Asset Macros|,
|
||||
lastUpdated => 1104544909,
|
||||
},
|
||||
|
||||
'asset macros body' => {
|
||||
message => q|<P>These macros are used to access Assets on your site.</P>
|
||||
<P><B>^AssetProxy</B>();<BR>
|
||||
<B>^AssetProxy</B>(<i>Asset URL</i>);<BR>
|
||||
This macro is used to render an Asset and display it inline according
|
||||
to its template. Any Asset can be displayed, including Navigations,
|
||||
images, links to files for downloading, snippets or for displaying
|
||||
content from another part of the site on this page.
|
||||
|
||||
<P><B>^FileUrl</B>();<BR>
|
||||
<B>^FileUrl</B>(<i>Asset URL</i>);<BR>
|
||||
This macro is used to return a filesystem URL to an Asset that isn't in the database (file, image, snippet) identified by its Asset URL.
|
||||
|
||||
<P><B>^RandomAssetProxy</B>();<BR>
|
||||
<B>^RandomAssetProxy</B>(<i>Asset URL</i>);<BR>
|
||||
This macro works similarly to the ^<B>AssetProxy</B>(); macro except instead of displaying the
|
||||
Asset, it picks a random Asset from the descendents of the Asset whose URL is supplied as the
|
||||
argument.
|
||||
</p>
|
||||
|,
|
||||
lastUpdated => 1104545608,
|
||||
},
|
||||
'asset fields title' => {
|
||||
message => q|Common Asset Fields|,
|
||||
lastUpdated => 1100463645,
|
||||
},
|
||||
|
||||
'asset' => {
|
||||
message => q|Asset|,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue