Developer forum

Forum » Ecommerce - Standard features » RE: Documentation for Media DB

RE: Documentation for Media DB

Conor McKeown
Reply

I am working on products that have the downloadable files associated with them implemented using the mediadb module. My question is: how are the products in the catalog tied to entries in the Media DB module? i.e the following code:

<!--@LoopStart(MediaDBLoop)-->
<div class="media-group">
  <h2><!--@GroupName--></h2>
  <!--@LoopStart(Files)-->
  <div><!--@Translate(ProductDownload,"Download",global)-->: <a href="<!--@DownloadUrl-->"><!--@MediaFileName--></a> <!--@If(FileSize>0)--><small>(<!--@FileSize-->)</small><!--@EndIf--></div>
  <!--@LoopEnd(Files)-->
</div>
<!--@LoopEnd(MediaDBLoop)-->

Gives me lovely HTML. But how is the product finding the files corresponding to it?

Also : Where can I find documentation on this module?

 


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Conor

Media DB and Ecommerce are not related, so I think it must be a specific implementation on your site that does something to relate the 2. I would need a link to help you on that.

You can find the manual here: http://manual.dynamicweb-cms.com/Dynamicweb-On-line-Manual/Modules/Media-Database.aspx

And the template reference here: http://templates.dynamicweb.com/TemplateTags/Dynamicweb-template-tags/Module-tags/Media-Database.aspx

BR Nicolai

 

You must be logged in to post in the forum