Embed Tag Cloud

Author Message

Lukasz Piech

Wednesday 31 October 2007 1:28:55 pm

Ok Probably another stupid question but still -

How to display Tag Cloud resluts embedded i.e in the Main Page in 3.10?

Thanks

Łukasz Serwatka

Wednesday 31 October 2007 3:06:49 pm

Hi Łukasz,

The easiest way is to create custom tag with one parameter subtree_node_id, for example:

<custom name="tag_cloud" subtree_node_id="2" />

Then in template for custom tag use eztagcloud() operator where you will pass $subtree_node_id variable.

 

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Lukasz Piech

Thursday 01 November 2007 2:19:21 pm

Sorry to ask,,,,but i am not a programmer :)

Can you elaborate step by step ? Thanks

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 16:20:45
Script start
Timing: Jan 18 2025 16:20:45
Module start 'layout'
Timing: Jan 18 2025 16:20:45
Module start 'content'
Timing: Jan 18 2025 16:20:46
Module end 'content'
Timing: Jan 18 2025 16:20:46
Script end

Main resources:

Total runtime0.8494 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.0056 587.7891152.6094
Module start 'layout' 0.00570.0028 740.398439.4297
Module start 'content' 0.00840.8396 779.8281531.3203
Module end 'content' 0.84800.0014 1,311.14848.3516
Script end 0.8494  1,319.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3882160.0002
Check MTime0.00140.1643160.0001
Mysql Total
Database connection0.00070.084710.0007
Mysqli_queries0.804794.7385570.0141
Looping result0.00040.0526550.0000
Template Total0.822396.820.4111
Template load0.00190.222520.0009
Template processing0.820496.581120.4102
Template load and register function0.00020.021210.0002
states
state_id_array0.00060.073210.0006
state_identifier_array0.00130.157020.0007
Override
Cache load0.00160.1842160.0001
Sytem overhead
Fetch class attribute can translate value0.00090.103620.0004
Fetch class attribute name0.00110.127640.0003
XML
Image XML parsing0.00080.099620.0004
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00070.0804180.0000
String conversion0.00000.001040.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs