What to put in a href in the menu

Author Message

Bjørn Kaarstein

Saturday 24 May 2003 2:52:08 pm

Hi.

I have some trouble understanding how to manage the hrefs in EzPublish.

Normally, I create a folder for each subsite on the website, (MainPage, Info, Contact etc...), and create a dynamic menu with a fetch and a loop.

In plain HTML, you would be linking to the file mainpage.htm, info.htm, etc... In EzPublish, the only way I have found, is to link to full_node_xx to display the contents of the folders I've created. I have created override templates for each folder(subsite). , which contains the necessary HTML and fetching to make it display correctly. In pagelayout.tpl, I call page_mainarea.tpl.

This works fine on small sites, but when linking like this, I can't find a way to take advantage of full_class_xx in order to display all instances of one class the same way, because what is displayed is a specific nodenumber, (i.e. content/view/full/19) and therefore the node-override is used instead of the class-override...

Any enlightening would be greatly appreciated.

Regards Bjørn Kaarstein.

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 11:02:18
Script start
Timing: Jan 18 2025 11:02:18
Module start 'layout'
Timing: Jan 18 2025 11:02:18
Module start 'content'
Timing: Jan 18 2025 11:02:19
Module end 'content'
Timing: Jan 18 2025 11:02:19
Script end

Main resources:

Total runtime1.1104 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 589.0547152.6250
Module start 'layout' 0.00510.0067 741.679739.4453
Module start 'content' 0.01181.0971 781.1250399.7969
Module end 'content' 1.10890.0015 1,180.92198.1563
Script end 1.1104  1,189.0781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2839160.0002
Check MTime0.00140.1249160.0001
Mysql Total
Database connection0.00080.073810.0008
Mysqli_queries1.070796.4213460.0233
Looping result0.00050.0459440.0000
Template Total1.071596.520.5357
Template load0.00210.186220.0010
Template processing1.069496.305120.5347
Template load and register function0.00020.016110.0002
states
state_id_array0.00170.154310.0017
state_identifier_array0.00080.067620.0004
Override
Cache load0.00170.1540100.0002
Sytem overhead
Fetch class attribute can translate value0.00120.104810.0012
Fetch class attribute name0.00050.046810.0005
XML
Image XML parsing0.00030.031110.0003
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00070.0663100.0001
String conversion0.00000.000740.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs