Code: Alles auswählen
tool_category (Class)
--- WE_ID = 7
--- tool_category_name
tool (Class)
--- WE_ID
--- tool_category => tool_category (Object)
URL... /index.php?cat=/tool_category/7
<we:setVar to="global" nameto="tool_cat_id" from="request" namefrom="cat" />
<we:condition name="condition">
<we:conditionAdd field="tool_category" var="tool_cat_id" compare="="/>
</we:condition>
PHP echo: = <?php echo $condition; ?>
Result: = ( (tool_category = '/tool_category/7') )
<we:listview type="object" rows="5" order="tool_category" desc="false" classid="3" condition="\$condition">
......
</we:listview>
Michael.