URL translator and PathPrefix

Author Message

Gwenal Le Bihan

Thursday 26 November 2009 7:08:41 am

Hello,

I use a PathPrefix but it seems to be uncompatible with the user of url translator that seem to only work if I set the PathPrefix to null or if I add my url_translator to The PathPrefixExclude Varibles in site.ini.

Wildcards are working but not url translator. Am i missing something?

ps : i tried to use wildcards instead but my goal was to create several links to differents sitemap for ex

sitemap > content/view/sitemap/200

sitemap_second_site > content/view/sitemap/2000

but because "sitemap" is contained in "sitemap_second_site", the second wildcard won't work..

Sylvain Gogel

Tuesday 08 December 2009 1:37:22 pm

Got same issue, multiple siteaccess with different rootnode. I did not find any way to

have

  • site1.ecedi.loc/sitemap point to content/view/sitemap/120
  • site2.ecedi.loc/sitemappoint to content/view/sitemap/144

If you got a solution, i'm interested

My only solution is to create a module that implement a sitemap view that account the siteaccess rootNode. Quite heavy for such a simple feature

--
http://www.ecedi.fr
Agence Web, Créa/Conseils, Accessibilité
eZPublish, Drupal, Zend, Symfony

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

Main resources:

Total runtime0.5280 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.0234152.6250
Module start 'layout' 0.00680.0036 741.648439.4453
Module start 'content' 0.01030.5161 781.0938521.0781
Module end 'content' 0.52650.0015 1,302.17198.1641
Script end 0.5279  1,310.3359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.6414160.0002
Check MTime0.00140.2724160.0001
Mysql Total
Database connection0.00170.320510.0017
Mysqli_queries0.480390.9717540.0089
Looping result0.00060.1102520.0000
Template Total0.490192.820.2451
Template load0.00230.444920.0012
Template processing0.487892.386620.2439
Template load and register function0.00030.052810.0003
states
state_id_array0.00120.226910.0012
state_identifier_array0.00120.218620.0006
Override
Cache load0.00190.3568190.0001
Sytem overhead
Fetch class attribute can translate value0.00080.154520.0004
Fetch class attribute name0.00120.220330.0004
XML
Image XML parsing0.00070.141520.0004
class_abstraction
Instantiating content class attribute0.00000.001730.0000
General
dbfile0.00080.1565160.0001
String conversion0.00000.001840.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
3content/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
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs