Tuesday 03 February 2004 9:03:33 pm
Hi Alex , for the events i have created a section in the admin panel events
and added articles festivals as xmas ,easter ,good friday etc .In the design folder i have modified the plain site and named it as SANTOSH and created override templates etc etc as given in "ldg a website tutorial "now for the events folder i have created a template "ull_view_events_folder"The code goes like this--->>
<div class="pagetitle">
Events </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="events_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>
{$:item.object.published|l10n(shortdate)}
</td> </tr>
{* End of loop. *} {/section} </table>
{/let}
<br>
I have cretaed a claass in admin panel events name and event date
and given proper link in the "design\santosh\templates"
Now when i try to diplay it the events name and date is not able to display .
am i going in the right path.
Thnks in advance santosh
|