Site:Frontend:URLParameters
MetrixAdmin (Talk | contribs) m |
MetrixAdmin (Talk | contribs) m |
||
Line 14: | Line 14: | ||
Example: http://www.example.com/?page=contact_us | Example: http://www.example.com/?page=contact_us | ||
+ | |||
+ | === sort === | ||
+ | |||
+ | The sort variable specifies how your context results should be sorted. Different choices are available depending on the context referenced. | ||
+ | |||
+ | Available sorts include: Release Date, Release Date (#2), Release Date (#3), Event Date, Join Date, Title, Creation Date, Id, Canonical Id, # of Views, # of Comments, # of Favorites, # of Ratings, Summed Rating Score, Average Rating Score, Attendance, Decision Date, Activity, Online Status, then Average Rating, Random | ||
+ | |||
+ | Sorts can also be done by custom fields. | ||
+ | |||
+ | === order === | ||
+ | |||
+ | The order variable allows you to choose how you want your sorting to appear. This variable has 2 possible values: desc (descending order) and asc (ascending order). Normally this variable is omitted from the URL since it is controlled within the context, but for your convenience it is available to change on the fly. |
Revision as of 12:43, 1 October 2011
Contents |
Introduction
URL Parameters allow you to manipulate the page via the URL. Listed below are explanations on the internal variables that can be referenced.
hdf
Although this parameter doesn't perform any filtering, it is extremely important to remember because it shows you what hdf keys are available to be referenced, which means it is extremely handy in debugging something within the page.
Example: http://www.example.com/?hdf
page
The page variable directly maps to a particular page within your site.
Example: http://www.example.com/?page=contact_us
sort
The sort variable specifies how your context results should be sorted. Different choices are available depending on the context referenced.
Available sorts include: Release Date, Release Date (#2), Release Date (#3), Event Date, Join Date, Title, Creation Date, Id, Canonical Id, # of Views, # of Comments, # of Favorites, # of Ratings, Summed Rating Score, Average Rating Score, Attendance, Decision Date, Activity, Online Status, then Average Rating, Random
Sorts can also be done by custom fields.
order
The order variable allows you to choose how you want your sorting to appear. This variable has 2 possible values: desc (descending order) and asc (ascending order). Normally this variable is omitted from the URL since it is controlled within the context, but for your convenience it is available to change on the fly.