Custom URLFilters working on Fuji ?

Author Message

Sébastien Antoniotti

Wednesday 27 October 2010 2:58:19 am

Hi !

Has someone succeded to run urlfilters (like gpnu extension project) on Fuji ?

I just spent 1 hour to review my settings without success =(

Knowing that the same extension works on a 4.1...

eZ Publish Freelance
web : http://www.webaxis.fr

Sébastien Antoniotti

Tuesday 05 April 2011 9:32:44 am

UP because I get the same problem on another project : no way to call the DPGNU filter on Fujii !

EDIT :

Ok, so

1) the array is now named FilterClasses[] instead of Filters[]

2) there is an native filter (eZURLAliasFilterAppendNodeID) who does the same job as DPGNU and he is managed via [AppendNodeIDFilterSettings] into site.ini

eZ Publish Freelance
web : http://www.webaxis.fr

Luis Delgado

Tuesday 19 April 2011 7:00:47 pm

"

UP because I get the same problem on another project : no way to call the DPGNU filter on Fujii !

EDIT :

Ok, so

1) the array is now named FilterClasses[] instead of Filters[]

2) there is an native filter (eZURLAliasFilterAppendNodeID) who does the same job as DPGNU and he is managed via [AppendNodeIDFilterSettings] into site.ini

"

Sebastien...

Im having the same issue... Cant make it work. The extension is too simple but Im just unable to make it work...

Have you had success?

Cheers

GOOD 4 ALL

Sébastien Antoniotti

Wednesday 27 April 2011 1:19:15 am

Hi Luis,

I succeed (on a 4.4) by using this settings into the override/site.ini :

[AppendNodeIDFilterSettings]
ApplyOnClass[]
ApplyOnClass[]=actu

So instances of "actu" class gets the node_id at the end of their url_alias.

This is native with 4.4 and you don't need any extension.

Cheers

eZ Publish Freelance
web : http://www.webaxis.fr

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 05:08:57
Script start
Timing: Jan 18 2025 05:08:57
Module start 'layout'
Timing: Jan 18 2025 05:08:57
Module start 'content'
Timing: Jan 18 2025 05:08:58
Module end 'content'
Timing: Jan 18 2025 05:08:58
Script end

Main resources:

Total runtime0.5877 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.0391152.6406
Module start 'layout' 0.00530.0030 740.679739.4844
Module start 'content' 0.00830.5772 780.1641555.6797
Module end 'content' 0.58550.0021 1,335.843812.1406
Script end 0.5876  1,347.9844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.6573160.0002
Check MTime0.00170.2917160.0001
Mysql Total
Database connection0.00070.116410.0007
Mysqli_queries0.528189.8554600.0088
Looping result0.00050.0873580.0000
Template Total0.556794.720.2783
Template load0.00220.382320.0011
Template processing0.554494.335520.2772
Template load and register function0.00010.018710.0001
states
state_id_array0.00100.176610.0010
state_identifier_array0.00080.137520.0004
Override
Cache load0.00200.3319360.0001
Sytem overhead
Fetch class attribute can translate value0.00060.102820.0003
Fetch class attribute name0.00130.220060.0002
XML
Image XML parsing0.00250.429120.0013
class_abstraction
Instantiating content class attribute0.00000.002780.0000
General
dbfile0.00350.6012220.0002
String conversion0.00000.001740.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 7

Time used to render debug report: 0.0001 secs