Forums / Extensions / eZ Flow / Drag and Drop items enabling

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

eZ debug

Timing: Jan 18 2025 01:56:00
Script start
Timing: Jan 18 2025 01:56:00
Module start 'content'
Timing: Jan 18 2025 01:56:00
Module end 'content'
Timing: Jan 18 2025 01:56:00
Script end

Main resources:

Total runtime0.2989 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 587.7578180.7813
Module start 'content' 0.00600.0944 768.5391544.7813
Module end 'content' 0.10040.1984 1,313.3203332.7734
Script end 0.2988  1,646.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00401.3374210.0002
Check MTime0.00140.4799210.0001
Mysql Total
Database connection0.00060.211810.0006
Mysqli_queries0.214571.75371990.0011
Looping result0.00220.72191970.0000
Template Total0.270890.620.1354
Template load0.00210.718320.0011
Template processing0.268689.874120.1343
Template load and register function0.00010.032810.0001
states
state_id_array0.00070.227210.0007
state_identifier_array0.00120.407220.0006
Override
Cache load0.00170.5846190.0001
Sytem overhead
Fetch class attribute can translate value0.00150.507230.0005
Fetch class attribute name0.00110.373650.0002
XML
Image XML parsing0.00150.518330.0005
class_abstraction
Instantiating content class attribute0.00000.003650.0000
General
dbfile0.01123.7394260.0004
String conversion0.00000.002130.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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