9di Logo   Search
9di Logo  

Current Articles | Categories | Search | Syndication

CREATE YOUR NEW TAGS

CREATE YOUR NEW TAGS

Note: You should have created and installed your new MEDIATAG module. If for some reason you weren't able to here is the module BEFORE the code was modified. Go ahead and download and install on your local development version of DNN 4.5.3. Download Here

THE TAGS

We want to be able to have the Module Builder Parsing engine grab our values and send them to some custom functions.

To start with create the main tags  and  the sub-tags in a text editor and save.
Use this example:

{MediaPlay} 
  {MediaPlay:Height}{fldMediaHeight}{/MediaPlay:Height}
  {MediaPlay:Width}{fldMediaWidth}{/MediaPlay:Width}
  {MediaPlay:AutoStart}{fldMediaAutoStart}{/MediaPlay:AutoStart}
  {MediaPlay:Loop}{fldMediaLoop}{/MediaPlay:Loop}
 {MediaPlay:playerURL}{FlowPlayerPath}flowplayer.swf{/MediaPlay:playerURL} 
 {MediaPlay:baseURL}{baseURL}{PortalHomeDirectory}{/MediaPlay:baseURL} 
{MediaPlay:Source}{fldMediaUpload}{/MediaPlay:Source}
{/MediaPlay}

 

posted @ Thursday, June 14, 2007 9:07 PM by host

Previous Page | Next Page

COMMENTS

Currently, there are no comments. Be the first to post one!
You must be logged in to post a comment. You can login here