Adding Metadata per page

Author Message

Tony Wood

Wednesday 10 October 2007 9:44:06 am

Hi Andre,

I should add, the reason I dislike the selection datatype is due to the long term effects of using it.
for example if you need to reorder your list then all your metadata entries are screwed.

So to recap.
1. Deleting a selection - All ok :)
2. Adding a selection to the end of the list - All ok :)
3. Adding a selection to the middle of a list - All bad :(
4. Reordering selections - All bad :(

so we either have a new type of selection class for metadata or we fix the current selection task to allow for re-ordering.

What do you think?

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

André R.

Thursday 11 October 2007 1:11:26 am

I agree, I have also always disliked it to.
Thats why I used enhancedselection recently, and since the project are going to go live on ezp 4.0 next month I needed to port it to php5.

To be able to port it I had to sync it with ezselection, so replacing ezselection with enhancedselection in ez publish is within reach now..

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Tony Wood

Thursday 11 October 2007 1:34:44 am

ok, thanks.

I think ezselection should be deprecated or at the very least a warning for folks in the manual.

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Dario Betti

Monday 03 December 2007 1:29:59 am

Hi, which is the best way to implement folksonomies in an ezPublish powered site?

I want on every pages to let users:

- mark it with one or more tags, separated by commas

- insert new tags or select existing tags, that could be suggested/completed dinamically by Ajax

- display the tags cloud

Any suggestions?

Dario

Tony Wood

Monday 03 December 2007 5:09:11 am

Hi Dario,

For folksonomies you would have to use "Keywords" as they are the only datatype capable of storing uncontrolled language.

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

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 22:27:28
Script start
Timing: Jan 18 2025 22:27:28
Module start 'layout'
Timing: Jan 18 2025 22:27:28
Module start 'content'
Timing: Jan 18 2025 22:27:29
Module end 'content'
Timing: Jan 18 2025 22:27:29
Script end

Main resources:

Total runtime1.4761 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0042 588.3359152.6250
Module start 'layout' 0.00420.0022 740.960939.8750
Module start 'content' 0.00631.4683 780.8359601.7344
Module end 'content' 1.47460.0014 1,382.570318.3125
Script end 1.4760  1,400.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.1977160.0002
Check MTime0.00120.0827160.0001
Mysql Total
Database connection0.00040.027010.0004
Mysqli_queries1.411595.6262640.0221
Looping result0.00090.0596620.0000
Template Total1.449698.220.7248
Template load0.00210.144320.0011
Template processing1.447598.062820.7237
Template load and register function0.00010.008810.0001
states
state_id_array0.00070.048510.0007
state_identifier_array0.00140.093020.0007
Override
Cache load0.00200.1333370.0001
Sytem overhead
Fetch class attribute can translate value0.00080.054230.0003
Fetch class attribute name0.00190.130880.0002
XML
Image XML parsing0.00160.106630.0005
class_abstraction
Instantiating content class attribute0.00000.0014100.0000
General
dbfile0.00100.0705290.0000
String conversion0.00000.000540.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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs