exponential.earth / exponential / documentation / building an ez publish site / the members page / list of members
These documentation pages are no longer maintained. Please visit the new documentation site.
The member-list page will contain a list of all the club members. Each row in the list will show the name of a member. The following text explains how to create the member list page.
First of all, add the following lines to the CSS file:
.member_list { width: 85%; font-size: 80%; }
<div class="pagetitle"> Current members </div> {* Grab all the child nodes. *} {let children=fetch( content, list, hash( parent_node_id, $node.node_id, sort_by, $node.sort_array ))} <table class="member_list" cellpadding="0" cellspacing="0" border="0"> {* Loop through all nodes that we just fetched. *} {section name=Child loop=$children} {* Output the name as a link to the node containing the member. *} <tr> <td> <a href={$:item.url_alias|ezurl}>{$:item.name}</a> </td> </tr> {* End of loop. *} {/section} </table> {/let}
Try to browse the "Members" page. If everything was done correctly, you'll be able to see a list of members; the page should look something like this:
Comments
comment
Clemens Timmermans
Wednesday 09 February 2005 2:50:14 pm
Would be good if...
Fredrik ohrberg
Wednesday 29 December 2004 3:12:10 am
/Fredrik
...but I suppose it is for learning purposes u left it out ;)