EE 1
EE 2
Mo’ Variables

Developer

Rob Sanchez

3rd Party (Free)

309 downloads (last 90 days)

Download v1.1.4

Compatibility

Requirements

  • jQuery for the Control Panel

Categories

Extension

Tags

Editor's Pick
Each month the devot:ee staff picks an add-on that's especially well thought out, well built, and useful. They're add-ons that we love and think you will too!

Mo’ Variables was chosen in October 2012.

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

  • Ajax Detect Conditional: {if ajax}, {if not_ajax}
  • Secure SSL/HTTPS Conditional and Variable: {if secure}, {if not_secure}, {secure_site_url}
  • GET: {get:your_key}
  • GET and POST: {get_post:your_key}
  • POST: {post:your_key}
  • Cookies: {cookie:your_key}
  • Page Tracker: {last_page_visited}, {one_page_ago}, {two_pages_ago}, {three_pages_ago}, {four_pages_ago}, {five_pages_ago}
  • Reverse Segments: {rev_segment_1}, {rev_segment_2}, etc.
  • Segments Starting From X: {segments_from_1}, {segments_from_2}, etc.
  • Pagination Detect Conditional and Page Offset: {if paginated}, {if not_paginated}, {page_offset}
  • Archive Detect Conditional (detects presence of year, month, date in URI): {if archive}, {if yearly_archive}, {if monthly_archive}, {if daily_archive}, {if not_archive}, {if not_yearly_archive}, {if not_monthly_archive}, {if not_daily_archive}
  • Current Page URL: {current_url}, {uri_string}
  • Early-parsed Member Variables (for use as tag paramters): {logged_in_member_id}, {logged_in_group_id}, {logged_in_username}, {logged_in_screen_name}, {logged_in_email}
  • Early-parsed Member Group Conditionals: {if in_group(1|2|3)}, {if not_in_group(1|2|3)}

Download Mo’ Variables

EE Version Downloads Add-On Version Release Date
2.+ Download 1.1.4 2013-05-10 10:26 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. template_fetch_template
  2. template_post_parse

This entry was created February 9, 2011, 7:52 pm.
This entry was last updated May 24, 2013, 10:27 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!

4 Reviews:

Ryan Masuga 05.24.13

Ryan Masuga
Rating - {addon_rating_average}

Once you get used to using this and having all these variables available, you might wonder how you got along without it. Super handy, simple…a default install.

Hung Le 10.31.12

Rating - {addon_rating_average}

Love the Page Tracker’s & Current Page URL’s variables. Super handy!

abed 10.02.12

Rating - {addon_rating_average}

Awesome add-on.

Note on using get:* in conditionals (useful for query string stuff). Use {if get:var}{if:else}{/if} for !empty/empty. “{get:var}” == “” is like $_GET[‘var’] == “” instead of empty, “{get:var}” != “” is like !empty($_GET[‘var’]).

johnwbaxter 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.