Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Monday 03 October 2005 8:09:02 am - 5 replies
Kristof Coomans
Monday 03 October 2005 10:43:10 am
Can you post the code you've tried to use?
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org
Franck T.
Tuesday 04 October 2005 12:12:41 am
Hello Kristof.This was my original full view:
{let children=fetch( content, list, hash( parent_node_id, $node.node_id, sort_by, $node.sort_array ))} <table class="in_departement"> {section name=Child loop=$children} <tr> <td> <a href={$:item.url_alias|ezurl}>{$:item.name}</a> </td> </tr> {/section} </table> {/let}
I turn it into this:
{let children=fetch( content, list, hash( parent_node_id, $node.node_id, sort_by, $node.sort_array ))} <table class="employees"> {section var=emp loop=$children} {section show=$emp.class_identifier | eq('Employee')} <tr> <td> <a href= {$emp.url_alias|ezurl}> {$emp.name|wash} </a> </td> </tr> {/section} {/section} </table> <hr /> <table class="services"> {section var=serv loop=$children} {section show=$serv.class_identifier | eq('Service')} <tr> <td> <a href= {$serv.url_alias|ezurl}> {$serv.name|wash} </a> </td> </tr> {/section} {/section} </table> {/let}
... but it return nothing !
Wednesday 05 October 2005 11:30:26 pm
No idea? Really...?
Thursday 06 October 2005 7:07:05 am
All characters of a class identifier are lowercase. Your check however assumes that the first character is uppercase.
Thursday 06 October 2005 12:11:42 pm
Arrrghh...What I call a killing detail !!Thanks Kristof. You're simply the best !
You must be logged in to post messages in this topic!