Drag and Drop items enabling

Author Message

Eric Rosenfield

Wednesday 28 January 2009 1:58:37 pm

Hi,
I have a site (1) with items in a block, manually added. I have another site (2), with a block with dynamically added items. On site 2, I can drag and drop the items (in the admin) to reorder them in the block. On site 1, I cannot drag and drop the items. Both sites seem to be running 4.0.1 and eZ Flow 1.0.0, and I can't find anything in the block.ini that would tip me off to what the trouble is (except that one has dynamic items and one has manual items).

How do I enable the dragging and dropping of items to reorder them in the list on a manual block?

Eric Rosenfield

Wednesday 28 January 2009 2:17:37 pm

Update: I CAN drag and drop some items. Some of the items have grey backgrounds, some of them have blue ones. If I can figure out how to make the blue ones grey, then I'm in business.

Eric Rosenfield

Wednesday 28 January 2009 2:32:35 pm

Okay, so when items are rotated out of the block then they are orderable.

The question is how do you best reorder items that are already in the block? Any suggestions?

Bin LIU

Friday 30 January 2009 1:36:29 am

see http://ez.no/developer/forum/extensions/ez_flow/change_the_priority_in_the_list_valid_of_block_manual

I did it for ezflow 1.0

Now I think it is Implemented in ezflow 1.0-1 and ezflow 1.1-0 (next version).

I hav'nt used the ezflow1.1

So you can compare the files in the article. easy to understand

I hope it can help you

=== Lagardère Active ===

Fetch random
http://projects.ez.no/la_fetch_random
LA Static Cache
http://projects.ez.no/lastaticcache
LA Bookmarks (jquery)
http://projects.ez.no/labookmark
LA Calendar (jquery)
http://projects.ez.no/lacalendar

My site ez
http://lingping.info

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

Main resources:

Total runtime0.1573 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0093 591.6719152.6250
Module start 'layout' 0.00930.0048 744.296939.4453
Module start 'content' 0.01410.1417 783.7422539.7031
Module end 'content' 0.15580.0014 1,323.445312.1563
Script end 0.1572  1,335.6016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00452.8557160.0003
Check MTime0.00161.0375160.0001
Mysql Total
Database connection0.00201.275010.0020
Mysqli_queries0.098662.7119620.0016
Looping result0.00080.5193600.0000
Template Total0.111971.120.0559
Template load0.00311.998720.0016
Template processing0.108769.129720.0544
Template load and register function0.00020.148910.0002
states
state_id_array0.00281.778110.0028
state_identifier_array0.00201.269720.0010
Override
Cache load0.00271.6877190.0001
Sytem overhead
Fetch class attribute can translate value0.00070.423420.0003
Fetch class attribute name0.00120.756750.0002
XML
Image XML parsing0.00050.347820.0003
class_abstraction
Instantiating content class attribute0.00000.007150.0000
General
dbfile0.00090.5661150.0001
String conversion0.00000.008340.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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/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: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs