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.

eZ debug

Timing: Jan 18 2025 21:03:23
Script start
Timing: Jan 18 2025 21:03:23
Module start 'layout'
Timing: Jan 18 2025 21:03:23
Module start 'content'
Timing: Jan 18 2025 21:03:23
Module end 'content'
Timing: Jan 18 2025 21:03:23
Script end

Main resources:

Total runtime0.8404 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.9063152.6250
Module start 'layout' 0.00650.0031 740.531339.4453
Module start 'content' 0.00960.8271 779.9766539.2031
Module end 'content' 0.83670.0036 1,319.179712.1641
Script end 0.8403  1,331.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00470.5555160.0003
Check MTime0.00260.3036160.0002
Mysql Total
Database connection0.00120.144910.0012
Mysqli_queries0.782893.1433570.0137
Looping result0.00050.0628550.0000
Template Total0.804095.720.4020
Template load0.00220.258120.0011
Template processing0.801895.406920.4009
Template load and register function0.00020.021910.0002
states
state_id_array0.00100.117010.0010
state_identifier_array0.00170.206620.0009
Override
Cache load0.00150.1838460.0000
Sytem overhead
Fetch class attribute can translate value0.00070.079620.0003
Fetch class attribute name0.00130.149340.0003
XML
Image XML parsing0.00060.077020.0003
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00190.2235160.0001
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs