url alias datatype !

Author Message

Marvix Marx

Tuesday 09 January 2007 11:24:00 am

Hi ,,

Since its really problem the nice url in multi languages, I think with datatype could be solved,
the idea came from Wordpress, in the post there is something called "Post Slug", and this slug can be url alias.

So, if some how we can add datatype to the class and we can fill it with what ever as url alias we be really helpful !

Kristof Coomans

Tuesday 09 January 2007 10:56:16 pm

Hi Marvix

You can use another text line attribute and change the object name pattern to use it as the name for your object, the url alias is constructed from the name. The big con of this solution is your object name, but you can solve this by showing another attribute in the templates in place of the name.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Marvix Marx

Wednesday 10 January 2007 3:44:49 am

You RIGHT....

You had solve my problem at :http://ez.no/community/forum/install_configuration/is_it_possible_to_browse_by_node_id

didn`t think about this idea ^^

Thanks alot !

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 10:53:51
Script start
Timing: Jan 18 2025 10:53:51
Module start 'layout'
Timing: Jan 18 2025 10:53:51
Module start 'content'
Timing: Jan 18 2025 10:53:52
Module end 'content'
Timing: Jan 18 2025 10:53:52
Script end

Main resources:

Total runtime0.5784 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.0053 588.9453152.6094
Module start 'layout' 0.00530.0030 741.554739.4141
Module start 'content' 0.00840.5686 780.9688530.4063
Module end 'content' 0.57690.0015 1,311.37508.1875
Script end 0.5784  1,319.5625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.5202160.0002
Check MTime0.00130.2269160.0001
Mysql Total
Database connection0.00100.167210.0010
Mysqli_queries0.530991.7753570.0093
Looping result0.00050.0880550.0000
Template Total0.538793.120.2693
Template load0.00180.313320.0009
Template processing0.536992.812520.2684
Template load and register function0.00020.038010.0002
states
state_id_array0.00090.158210.0009
state_identifier_array0.00080.136920.0004
Override
Cache load0.00150.2536160.0001
Sytem overhead
Fetch class attribute can translate value0.00070.123420.0004
Fetch class attribute name0.00090.153840.0002
XML
Image XML parsing0.00060.097220.0003
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00070.1272160.0000
String conversion0.00000.004740.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs