Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

deprecated {current_page} variable in page tracker (sorry to anyone w…

…ho uses it)
  • Loading branch information...
commit 381831a683dde4e2b1f533de07109d36775b2c74 1 parent 83aaae8
@rsanchez authored
View
34 README.markdown
@@ -26,6 +26,40 @@ Adds many useful global variables and conditionals to use in your templates.
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".
+## Change Log
+
+#### v1.0.6
+
+- removed {current_page} variable in Page Tracker, conflicts with the variable of the same name in paginate tag pair (sorry to anyone who used {current_page})
+
+#### v1.0.5
+
+- fixed bug where if your DB settings were manually altered, this could throw fatal errors
+
+#### v1.0.4
+
+- added {uri_string} variable
+- fixed bug when using {if paginated} and no url segments (like on homepage for instance)
+- added {secure_site_url} variable
+- added Page Tracker variables
+
+#### v1.0.3
+
+- added {if secure} conditional
+
+#### v1.0.2
+
+- added {current_url} variable
+- removed {theme_folder_url} in EE >= 2.1.5
+
+#### v1.0.1
+
+- added {page_offset} and {theme_folder_url}
+
+#### v1.0.0
+
+- initial release
+
## Examples
###Ajax Pagination with graceful degradation using {ajax}
View
4 system/expressionengine/third_party/mo_variables/ext.mo_variables.php
@@ -4,7 +4,7 @@ class Mo_variables_ext
{
public $settings = array();
public $name = 'Mo\' Variables';
- public $version = '1.0.5';
+ public $version = '1.0.6';
public $description = 'Adds many useful global variables and conditionals to use in your templates.';
public $settings_exist = 'y';
public $docs_url = 'https://github.com/rsanchez/mo_variables';
@@ -233,7 +233,7 @@ protected function archive()
protected function page_tracker()
{
$variables = array(
- 'current_page' => 0,
+ //'current_page' => 0,
'last_page' => 1,
'one_page_ago' => 1,
'two_pages_ago' => 2,
Please sign in to comment.
Something went wrong with that request. Please try again.