URL ; Don't show one content class inside URL

Author Message

Etienne Loth

Friday 05 August 2011 4:57:32 am

Hello,

I'm working on a new website with 3 top menu then i have arborescence like this :

  • Root
    • Menu Left
      • Item 1
      • Item 2
    • Menu Center
      • Item 1
      • Item 2
      • Item 3
    • Menu Right
      • Item 4

Then i use my node "Menu..." just cause i need to separate my diffĂ©rents item in my 3 diffĂ©rents menus. But if i look my urls i got :  index.php/Menu-Left/Item1 and i would like to hava index.php/Item1 is it possible ?

 

Thanks a lot

Nicolas Lescure

Friday 05 August 2011 9:13:01 am

Hi, and welcome for your 1st post here.

All Items have to be under your root node.

Three easy ways in my opinion :

  • a menu class : a title + object relations to your Items. 
  • 3 different classes for your items
  • Your root class with 3 object relations attributes to build your menus

HTH

 

Etienne Loth

Monday 08 August 2011 2:22:54 am

Thanks a lot !

I thinks i'm gonna use the solution 3 :p

 

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 17 2025 23:57:44
Script start
Timing: Jan 17 2025 23:57:44
Module start 'layout'
Timing: Jan 17 2025 23:57:44
Module start 'content'
Timing: Jan 17 2025 23:57:45
Module end 'content'
Timing: Jan 17 2025 23:57:45
Script end

Main resources:

Total runtime1.3729 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.0059 588.0391152.6406
Module start 'layout' 0.00590.0049 740.679739.4844
Module start 'content' 0.01081.3607 780.1641509.6016
Module end 'content' 1.37150.0014 1,289.76568.1250
Script end 1.3728  1,297.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00510.3682160.0003
Check MTime0.00290.2131160.0002
Mysql Total
Database connection0.00080.058310.0008
Mysqli_queries1.313595.6794570.0230
Looping result0.00060.0438550.0000
Template Total1.329596.820.6647
Template load0.00220.158320.0011
Template processing1.327396.680320.6636
Template load and register function0.00020.017910.0002
states
state_id_array0.00170.121210.0017
state_identifier_array0.00090.067020.0005
Override
Cache load0.00190.1351380.0000
Sytem overhead
Fetch class attribute can translate value0.00060.044820.0003
Fetch class attribute name0.00130.091540.0003
XML
Image XML parsing0.00080.058520.0004
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00200.1466160.0001
String conversion0.00000.000840.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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
6content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.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: 23
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs