tips icon image

EE Insider Tips
Sponsored by Mijingo's EE 2 Screencasts

ExpressionEngine mini-howtos created by the EE Insider community.

Tips tagged “Global”

Add a {last_segment} global variable

Posted on June 28, 2010 by Erik Reagan

IMPORTANT UPDATE:
EllisLab has added an official {last_segment} tag as of EE 2.1.1. See info here: http://expressionengine.com/blog/entry/2.1.1_release_what_will_be_there_what_will_not/

—-

Sometimes it is quite handy to pull in the last segment of a URI. EE makes it easy to grab the first segment

Read this tip

Add a dynamic page_uri global variable

Posted on April 14, 2010 by Erik Reagan

For some strange and odd reason, there is no full page_uri global variable built in to EE (that I’ve found at least). You can access each segment with segment variables but there’s not a way to get everything after your domain. We can easily add one by opening our path.php file and adding a global

Read this tip

Quickly test scalability

Posted on June 02, 2009 by jacobgraf

While building a site, I frequently need to add dummy text to test how my site will scale when a user enters a big chunk of text. Instead of constantly heading to http://www.lipsum.com/ to grab some text, copy and paste it into my site and test it out, whenever I create a site, I always create a

Read this tip

Search EE Insider Tips
Sponsored By