File away please with full details on what this affects. Thanks!
I’m not sure I understand what this [+wf.iterator+]does and what is its matching parameter (i.e. how to specify it in the WF call)? Enlighten me please? Thanks.
Secondly, there is this [+wf.outerid+] which I guess is for inserting an id to the outerTpl. Again, what is its matching parameter? And, is it also applied to the innerTpl?
Thanks.
/k
Quote from: kongondo at Jun 11, 2009, 09:47 AM
I’m not sure I understand what this [+wf.iterator+]does and what is its matching parameter (i.e. how to specify it in the WF call)? Enlighten me please? Thanks.
Secondly, there is this [+wf.outerid+] which I guess is for inserting an id to the outerTpl. Again, what is its matching parameter? And, is it also applied to the innerTpl?
Thanks.
/k
As far as I understand it, wf.iterator is "just" a number that is incremented from item to item, so there is no need for a parameter.
The outer id can not be added also to the innerTpl, because it MUST not. An ID is a unique identificator.
Martin
[+wf.level+] works, but it doesn’t work in the &innerTpl ... this template doesn’t seem to know levels .. why is that?
is WF beta 2.5 phx clashing with ditto’s phx.pre.class..?
When navigating my site, I am getting this error after installed WF2.5 beta (sorry couldn’t test this earlier)
Fatal error: Cannot redeclare class prePHx in C:\wamp\www\modxtests\assets\snippets\ditto\classes\phx.pre.class.inc.php on line 11
How do I deal with this please? Thanks
cheers/k
modx 0963
server wamp
Have a look at my post on page 2, I describe a solution there.
Any news about this error? I just downloaded the snippet, installed and the error showed up after the first click.
Have a look at my post on page 2, I describe a solution there.
Martin
<li class="item[+wf.iterator+]"> some other placeholders here </li>
Looks like it could work. But if you are using unique (!) classes, can you use ID instead? The parameter [tt]&rowIdPrefix=`item`[/tt] will provide each [tt]<LI>[/tt] with an [tt]id="item"[/tt], "item" followed bei the document id.
<li class="item[+wf.iterator+]"> some other placeholders here </li>