Node with same url_alias as a module

Author Message

James Robertson

Thursday 08 September 2005 8:54:56 pm

I want to be able to have a node called Search, with a url_alias of 'search', at the root of my content tree. However, this conflicts with the name of the search module (which only seesm to provide a stats view anyway) so eZ publish sets the url_alias for my search page to 'search__1'. Can I somehow disable the search module or otherwise override the ural_alias for my node/page?

Alternatively, I would like to map the content/search view to my search node.

James Robertson

Wednesday 21 September 2005 4:06:11 pm

I have resolved this by commenting out 'ModuleList[]=search', under '[ModuleSettings]' in the override module.ini file. Then clearing all caches, renaming my search node to something else, then back to 'search'. This way there is no conflict with the search module name, so the url_alias for my search node can be set to 'search' (instead of 'search__1').

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 19 2025 06:13:52
Script start
Timing: Jan 19 2025 06:13:52
Module start 'layout'
Timing: Jan 19 2025 06:13:52
Module start 'content'
Timing: Jan 19 2025 06:13:52
Module end 'content'
Timing: Jan 19 2025 06:13:52
Script end

Main resources:

Total runtime0.0254 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 589.2734152.6406
Module start 'layout' 0.00760.0032 741.914139.4766
Module start 'content' 0.01080.0126 781.390689.2422
Module end 'content' 0.02350.0019 870.632830.3047
Script end 0.0254  900.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003212.6676140.0002
Check MTime0.00135.1068140.0001
Mysql Total
Database connection0.00166.164910.0016
Mysqli_queries0.003011.965030.0010
Looping result0.00000.066610.0000
Template Total0.00145.610.0014
Template load0.00083.139710.0008
Template processing0.00062.408010.0006
Override
Cache load0.00062.271010.0006
General
dbfile0.003915.311080.0005
String conversion0.00000.039440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs