How to list data from class, without node ?!

Author Message

Selmah Maxim

Tuesday 06 December 2005 1:38:29 pm

Hi ...

I have link in the main page called "My Ads", this will list down the user ads as am planing, but ... main problem how to make the template for it ?!
Shall i make blank node as place(template)holder adn override it from ini !?!

Or should i override the error page based on the $site attribute, becuz its give back the requested module ?!

I hope some can understande my problem !!

I wanna create a page where just give a list of the content !

Thanks in advanced.

Łukasz Serwatka

Tuesday 06 December 2005 11:23:15 pm

You can create somewhere in content tree dummy node, and make node override for this node. Then in template list down your ads.

Hope it will help you.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Selmah Maxim

Tuesday 06 December 2005 11:42:01 pm

Thanks ... thats what I had done ...

But will be nice if we can override based the url also ..don`t u think that !?

Łukasz Serwatka

Tuesday 06 December 2005 11:44:32 pm

In Setup->URL Translator you can setup new system url forwarding, and set new name which will point to this dummy node

my_ads -> content/view/full/dummy_noce_id

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 19 2025 06:13:57
Script start
Timing: Jan 19 2025 06:13:57
Module start 'layout'
Timing: Jan 19 2025 06:13:57
Module start 'content'
Timing: Jan 19 2025 06:13:57
Module end 'content'
Timing: Jan 19 2025 06:13:57
Script end

Main resources:

Total runtime0.0174 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 590.4063152.6406
Module start 'layout' 0.00630.0032 743.046939.4766
Module start 'content' 0.00960.0056 782.523489.3672
Module end 'content' 0.01520.0022 871.890634.3047
Script end 0.0173  906.1953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002715.3463140.0002
Check MTime0.00126.7479140.0001
Mysql Total
Database connection0.00095.459810.0009
Mysqli_queries0.002715.726330.0009
Looping result0.00000.115210.0000
Template Total0.00179.810.0017
Template load0.00095.362410.0009
Template processing0.00084.366410.0008
Override
Cache load0.00063.706610.0006
General
dbfile0.00031.614680.0000
String conversion0.00000.056240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs