Extension

EE 1
EE 2
Mo’ Variables

Developer

Rob Sanchez - Barrett Newton

3rd Party (Free)

Download v1.0.2

Compatibility

  • LG Addon Updater
  • Multi Site Manager
  • Stand Alone Entry Form

Requirements

  • jQuery for the Control Panel

Tags

Add more early-parsed, global variables to your EE installation.

  • Ajax Detect Conditional: {if ajax}
  • GET: {get:your_key} or {embed:get:your_key}
  • GET and POST: {get_post:your_key} or {embed:get_post:your_key}
  • POST: {post:your_key} or {embed:post:your_key}
  • Cookies: {cookie:your_key} or {embed:cookie:your_key}
  • Reverse Segments: {rev_segment_1}, {rev_segment_2}, etc.
  • Segments Starting From X: {segments_from_1}, {segments_from_2}, etc.
  • Pagination Detect Conditional: {if paginated}
  • Archive Detect Conditional (detects presence of year, month, date in URI): {if archive} {if yearly_archive} {if monthly_archive} {if daily_archive}
  • Theme Folder URL: {theme_folder_url}
  • Current Page URL: {current_url}

For the get, post, get_post, and cookie variables, you can use the {embed:xxx:your_key} syntax, which will prevent unparsed tags when there is no key matching “your_key”.

Download Mo’ Variables

EE Version Downloads Add-On Version Release Date
2.+ Download 1.0.2 2011-02-09 01:00 AM

Mo’ Variables Links

Hooks Used

If the add-on is an extension, and ties into ExpressionEngine's core files, it will use ExpressionEngine hooks. We are listing any hooks the add-on uses for developers to have an easier time locating other add-ons that they can reference for their own work.

  1. sessions_end

This entry was last updated November 10, 2011, 11:03 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!

1 Review:

audiopleb 03.21.12

Rating - {addon_rating_average}

I use this add-on on every single site i do. It’s magic, just like it’s developer - Rob “The Wizard” Sanchez.