displaying the event dates

Author Message

santosh kumar

Monday 02 February 2004 11:29:32 pm

i have added events for a website where ,the events are festivals listed in table .The table should display the festival name and the date of the festival
Ex xmas 25thdecember
For that i have created a class event and added attributes
event name and event date .
but it is not displaying the date when i create the list of content objects xmas,easter etc etc ......
please let me know I have gone thru the tutorial "Building the website ".
thanks
santosh

Alex Jones

Tuesday 03 February 2004 6:18:34 am

Santosh, could you post the code that you are using so we can see what might be causing the problem?

Thanks,

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

santosh kumar

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.