Hi,
I have observed somethings strange working with a call of getResources and CB, probably the issues is due to getResources, but maybe somebody know somethings more here.
The case:
- we have a resource
footer
included in all our resource via the call
[[!getResources? &parents=`-1` &resources=`[[*footerpage]]` &tpl=`@INLINE [[+content]]` &processTVs=`1` &includeContent=`1` &includeTVs=`1`]]
- the resource
footer
use CB for his composition - in the CB layout of this resource I include a chunk
[[$address]]
- that
chunk
use a couple of TVs as[[*cf.entityname]]
,[[*cf.telephone]]
, …
The results:
- if we access directly to the resource
footer
everything is ok - if we access to any page that include the
footer
we have a lot of fun! - case: the TVs are inside the
chunk
nothing work, the TVs have his “default value” - case: the TVs are outside the
chunk
is working
a little more of funny:
- in case we use some MODX modifier like
[[++switcher:is='On':then='[[++valueToDisplay:default='complexity']]']]
on the value of the system settings inside thechunk
that is inside the CB layout, the modifier fails.
So… somebody have some suggestions?
Have a nice day