EE2 Extension that adds some Global Variables about the current page.
Switch branches/tags
Nothing to show
Pull request Compare This branch is 11 commits behind green-egg-media:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Current (ExpressionEngine 2 Extension)

Current is small extension for ExpressionEngine 2 that grabs some useful information about the current page and adds them as global variables.


Drop the ‘current’ folder inside of your third_party directory. Activate the extension through the Add-Ons → Extensions menu.


Current creates some global variables you can use to look cool.


The current URL of the page. Ex:


The total number of URL segments. Ex: For, it would be ‘2’.


Returns the last URL segment. Ex: For For, it would return ‘windchimes’.