Dynamo

Developer

Rob Sanchez

3rd Party (Free)

60 downloads (last 90 days)

MIT License Download v1.0.2

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Module

Tags

Makes Dynamic Parameters play nice with Pagination.

http://expressionengine.com/user_guide/modules/channel/dynamic_parameters.html

Until now, it was impossible to have your dynamic parameters persist when using pagination. To alleviate this, Dynamo takes your dynamic parameters and stores them in the database, and assigns a search_id, which can be used in to retrieve your filtered results, without having to perform another POST request with your parameters.

For more on filtering content with dynamic parameters, see this great tutorial: http://eeinsider.com/articles/filtering-content-with-dynamic-parameters/

Download

Download from GitHub

Installation

  • Copy the /system/expressionengine/third_party/dynamo/ folder to your /system/expressionengine/third_party/ folder

Form

Use this form to submit your dynamic parameters. It will add your search parameters to the database, and redirect you to your results template with the search_id. As of version 1.0.1, you can also submit arrays (like category[], for instance) which will automatically be converted into the pipe delimited format that entries parameters accept.

{exp:dynamo:form return="site/entries"}
    <input type="text" name="search:your_custom_field">
    <select name="limit">
        <option value="10">10</option>
        <option value="20">20</option>
        <option value="50">50</option>
    </select>
    <select name="category[]" multiple="multiple">
        <option value="1">Dogs</option>
        <option value="2">Cat</option>
    </select>
    <input type="submit">
{/exp:dynamo:form}

Form Parameters

return
This is the location of your dynamo:entries template. The search_id will be added as the last segment.


return="site/entries"

search_id
If you are displaying a form on your results page, and wish to show the submitted values.


{exp:dynamo:form return="site/entries" search_id="{segment_3}"}
    <input type="text" name="search:your_custom_field" value="{search:your_custom_field}">
    <select name="limit">
        <option value="10"{if limit == 10} selected="selected"{/if}>10</option>
        <option value="20"{if limit == 20} selected="selected"{/if}>20</option>
        <option value="50"{if limit == 50} selected="selected"{/if}>50</option>
    </select>
    <input type="submit">
{/exp:dynamo:form}

Entries

Use this tag in your results template to display the matching channel entries. It uses the same variables and parameters as a channel:entries tag, with the addition of the search_id parameter to fetch your matching results.

{exp:dynamo:entries channel="entries" dynamic_parameters="search:your_custom_field|limit" search_id="{segment_3}"}
    <a href="{entry_id_path=site/entry}">{title}</a>
    {paginate}<p>Page {current_page} of {total_pages} pages {pagination_links}</p>{/paginate}
{/exp:dynamo:entries}

Form on Results Page

{exp:dynamo:form return="site/entries" search_id="{segment_3}"}
    <input type="text" name="search:your_custom_field" value="{search:your_custom_field}">
    <select name="limit">
        <option value="10"{if limit == 10} selected="selected"{/if}>10</option>
        <option value="20"{if limit == 20} selected="selected"{/if}>20</option>
        <option value="50"{if limit == 50} selected="selected"{/if}>50</option>
    </select>
    <input type="submit">
{/exp:dynamo:form}

{exp:dynamo:entries channel="entries" dynamic_parameters="search:your_custom_field|limit" search_id="{segment_3}"}
    <a href="{entry_id_path=site/entry}">{title}</a>
{/exp:dynamo:entries}

Download Dynamo

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.0.2 Dec 19, 2010

Dynamo Links

This entry was created December 20, 2010, 12:32 pm.
This entry was last updated April 20, 2012, 4:58 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

3 Reviews:

spotd 05.02.12

spotd
Rating - {addon_rating_average}

Agreed, EE should bring this onboard for the next big release. Brilliant addon for giving your clients better search features without losing pagination!

Portnull 09.30.11

Portnull
Rating - {addon_rating_average}

aaaand one of those “should-be-default” addons again. good one.

Exp:resso 08.10.11

Exp:resso
Rating - {addon_rating_average}

Dude. You’re a lifesaver. Dynamic parameters are pointless without this