Tuesday 26 October 2010 2:52:43 pm - 2 replies

Introduction

This extension is designed for the Content Management System eZPublish. Its aim is to provide a simple system that will allow users to get short urls of an article, a folder, a video or any content.

» Read full blog post

Author Message

Peter Keung

Wednesday 27 October 2010 10:52:42 pm

Cool. You could make the URLs even shorter by omitting "view" in the URL, since there's only one view in your module (define your $ViewList['view'] array as the 'function' element in the $Module definition).

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

Nicolas Pastorino

Thursday 28 October 2010 1:57:10 am

Very nice and useful one Maxime !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

You must be logged in to post messages in this topic!

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

Main resources:

Total runtime0.1230 sec
Peak memory usage4,096.0000 KB
Database Queries66

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 588.4063152.6875
Module start 'layout' 0.00620.0036 741.093839.5313
Module start 'content' 0.00980.1116 780.6250651.6953
Module end 'content' 0.12150.0015 1,432.320318.3984
Script end 0.1230  1,450.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00342.8030160.0002
Check MTime0.00131.0971160.0001
Mysql Total
Database connection0.00100.796710.0010
Mysqli_queries0.066854.2810660.0010
Looping result0.00060.5037640.0000
Template Total0.089272.520.0446
Template load0.00191.508620.0009
Template processing0.087471.006920.0437
Template load and register function0.00010.116310.0001
states
state_id_array0.00252.038020.0013
state_identifier_array0.00121.005430.0004
Override
Cache load0.00151.1894100.0001
Sytem overhead
Fetch class attribute name0.00141.133950.0003
Fetch class attribute can translate value0.00040.313020.0002
class_abstraction
Instantiating content class attribute0.00000.008150.0000
XML
Image XML parsing0.00100.780420.0005
General
dbfile0.00191.5504230.0001
String conversion0.00000.006640.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.tplforum_topic/full.tplextension/community_design/design/suncana/override/templates/forum_topic/full.tplEdit templateOverride template
3content/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
2content/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: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs