Get! Set! Go!

Developer

Metadaptive - Tom Davies

3rd Party (Free)

9 downloads (last 90 days)

MIT License Download v0.9b

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)

Plugin

Tags

Get! Set! Go! makes manipulating/outputting query strings in your EE templates easier. Set new parameters and unset existing ones at will, and GSG will output consistent paths in your templates to your requirements.

What?

Get! Set! Go! makes manipulating/outputting query strings in your EE templates easier.

How?

If the URL of your current page has a query string on page load like this:

http://example.com/group/template/search?category=fruit&order=product_price+asc&count=10

A GSG tag like this:

{exp:get_set_go unset="category" count="20" }

Would produce the following output:

/group/template/search?order=product_price+asc&count=20

Why?

Search addons like Solspace Super Search can make use of query strings/GET params for bookmarkable/indexable results pages, but outputting html links to allow the user to modify the current query string can be an ugly, messy business.

GSG makes it easy to output paths in your templates that derive from the current query string (or POST array, translated to GET format) but differ in arbitrary ways. Set new parameters and unset existing ones at will, and GSG will output consistent paths in your templates to your requirements.

Example use cases include “results per-page” links, search result filters etc - basically anywhere that you want to manipulate the current page’s query string and output it back to your template.

Parameters

unset=“foo|bar|baz”: An optional, bar delimited list of keys to remove from the generated query string.

use=“get|post|both”: Should the starting query string be built from $_GET, $_POST, or the merged contents of the two. Defaults to “get”.

format=“url|uri|relative_uri|query_string|string”: What format should be used for the output? Select from (full) URL, site relative URI, page relative URI, query string (with trailing “?”), or string (just the url encoded .string, no trailing “?”). Defaults to “query_string”

Requirements

EE 2.5.x (2.5.3 & 2.5.5 tested)

How stable is this thing?

I’m using it in production on a relatively decent sized site without issue, but given the relatively limited testing it’s had in it’s short life so far, it should probably be considered beta quality for now.

Bugs & Improvements

For all bug reports please open a new issue on GitHub. Patches/pull requests welcome!

Download Get! Set! Go!

EE Support Downloads Add-On Version Release Date
Not Specified Download 0.9b Feb 11, 2013

This entry was created February 12, 2013, 9:11 am.
This entry was last updated February 12, 2013, 9:17 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.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!