Skip to content

Instantly share code, notes, and snippets.

@davejlong
Created August 23, 2010 19:42
Show Gist options
  • Save davejlong/546157 to your computer and use it in GitHub Desktop.
Save davejlong/546157 to your computer and use it in GitHub Desktop.
Mura CMS Display Object Searches within the current section.
Gist has been moved into Mura plugin at http://github.com/davidlong03/more-dspobjects.
<cfoutput>
<form name="selectDate" method="post" action="?display=search">
<input type="hidden" name="searchSectionID" value="#$.content('contentid')#" />
<input type="hidden" name="display" value="search" />
<input type="hidden" name="newSearch" value="true" />
<input type="hidden" name="noCache" value="1" />
<fieldset>
<legend>Search in #$.content('menutitle')#</legend>
<ol>
<li>
<input type="text" name="keywords" />
<input type="submit" value="Go" />
</li>
</ol>
</fieldset>
</form>
</cfoutput>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment