Is It Possible to Modify / Set Custom URL Alias?

Author Message

Chad Paulson

Monday 25 February 2008 12:55:10 pm

Hello again,

I am generating user profiles on account activation. I was wondering if there was a way I could do one of two things.

1) Set a specific url_alias upon node or object creation.

2) Modify the url_alias once the node / object has already been created.

I have looked at the doxygen documentation for eZURLAlias and I am having a hard time determining its purpose. I have also thought utilizing the persistent object's setAttribute method and overriding the default "url_alias", but I thought it would be best if I ran it by the eZ think tank before I tried to do something like that.

Thanks in advance.

Chad

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 15:04:06
Script start
Timing: Jan 18 2025 15:04:06
Module start 'layout'
Timing: Jan 18 2025 15:04:06
Module start 'content'
Timing: Jan 18 2025 15:04:07
Module end 'content'
Timing: Jan 18 2025 15:04:07
Script end

Main resources:

Total runtime0.7732 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.0077 588.0469152.6406
Module start 'layout' 0.00770.0031 740.687539.4766
Module start 'content' 0.01080.7609 780.1641433.3438
Module end 'content' 0.77160.0016 1,213.50788.1250
Script end 0.7732  1,221.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4282160.0002
Check MTime0.00140.1763160.0001
Mysql Total
Database connection0.00210.273110.0021
Mysqli_queries0.731294.5653460.0159
Looping result0.00040.0531440.0000
Template Total0.739695.620.3698
Template load0.00210.273420.0011
Template processing0.737495.370320.3687
Template load and register function0.00010.016010.0001
states
state_id_array0.00090.119110.0009
state_identifier_array0.00100.127920.0005
Override
Cache load0.00170.2219110.0002
Sytem overhead
Fetch class attribute can translate value0.00040.055510.0004
Fetch class attribute name0.00060.071320.0003
XML
Image XML parsing0.00210.267210.0021
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00230.2960160.0001
String conversion0.00000.000940.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs