Browse files

add some comments about modifying tag params

  • Loading branch information...
1 parent f7ae763 commit 57b5f9ce25ef25cab7091a1da66d07cda84e3f48 @iainurquhart committed Dec 30, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 system/expressionengine/third_party/nested/libraries/nested_entries.php
View
6 system/expressionengine/third_party/nested/libraries/nested_entries.php
@@ -24,6 +24,12 @@ function __construct() {
* @return string
*/
public function entries() {
+
+ // we can do a bunch of stuff here to modify the nested:entries tag too,
+ // for example fetch child entries of the parent entry in Taxonomy *cough*
+
+ // $this->EE->TMPL->tagparams['fixed_order'] = $child_ids;
+ // $this->EE->TMPL->tagparams['limit'] = '1';
return parent::entries();

0 comments on commit 57b5f9c

Please sign in to comment.