How can I do a Directory Listing of ebsites with Ez?

Author Message

F J

Monday 23 May 2011 8:04:53 am

Hi,

I need to do a specific task with Ez Publish but I don't have a clue on how to do it.

What I need to do is a list of Websites(Website directory). I will need to add basically two kinds of data:

- Website Name
- URL of the website

Then, when I click in the website link it will redirect to a page where I have the IFRAME with the link(URL of the website).

Can someone give me a clue about how to do this with Ez Publish? I'm a beginner.

Best Regards,

Nicolas Pastorino

Tuesday 24 May 2011 11:12:23 am

Hi FJ, 

Building off the reply you already got on stackoverflow : you will find the default link template there :

extension/ezwebin/design/ezwebin/override/templates/full/link.tpl

if you installed eZ Website Interface during the installation wizard, or there in other cases : 

design/base/override/templates/full/link.tpl

Depending on the way you set eZ Publish up (cf the 2 cases above), reproduce the same directory structure in your custom design extension to the link.tpl template file, copy the latter from its original location and edit it to match you needs.

Let us know how things go, 
Cheers, 

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

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 10:38:38
Script start
Timing: Jan 18 2025 10:38:38
Module start 'layout'
Timing: Jan 18 2025 10:38:38
Module start 'content'
Timing: Jan 18 2025 10:38:39
Module end 'content'
Timing: Jan 18 2025 10:38:39
Script end

Main resources:

Total runtime0.6137 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 588.0625152.6406
Module start 'layout' 0.00810.0039 740.703139.4844
Module start 'content' 0.01200.6000 780.1875531.3438
Module end 'content' 0.61200.0016 1,311.53138.1250
Script end 0.6136  1,319.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5718160.0002
Check MTime0.00140.2273160.0001
Mysql Total
Database connection0.00240.389610.0024
Mysqli_queries0.563391.7916550.0102
Looping result0.00050.0853530.0000
Template Total0.574293.620.2871
Template load0.00220.361220.0011
Template processing0.571993.195520.2860
Template load and register function0.00010.022810.0001
states
state_id_array0.00180.293310.0018
state_identifier_array0.00180.293920.0009
Override
Cache load0.00180.2965230.0001
Sytem overhead
Fetch class attribute can translate value0.00110.187320.0006
Fetch class attribute name0.00140.226130.0005
XML
Image XML parsing0.00050.088220.0003
class_abstraction
Instantiating content class attribute0.00000.001330.0000
General
dbfile0.00080.1328160.0001
String conversion0.00000.001940.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 8

Time used to render debug report: 0.0002 secs