Resource:metaSearch


Resource:metaSearch is to be used in conjuction with Resource:reader

Just edit the template for Resource:reader and create the following form

<form id="metaSearch" >
<input name="contentType" value="the content type you want to search" type="hidden" />
<input name="limit" value="1" type="hidden" />
Search <input name="id" value="" />
</form>

Note:

  1. You can add more hidden fields to limit the search
  2. The visible fields should have names corresponding to metadata names defined for the particular content types

To display search results, just add the following tags to wherever you want to show the returned values:

<span id=\\\'meta_{metadata name}\\\' > </span>

For example,

<span id=\\\'meta_createDate\\\' > </span>
Comment
Title
Comments