Ticket #416 (closed task: ready_for_review)

Opened 2 years ago

Last modified 2 years ago

[views] browsing module

Reported by: peter Owned by: peter
Priority: major Milestone: WLE modules into D6
Component: WLE Version:
Keywords: Cc:
MoSCoW: Must Have Estimated time after impact analysis:
Related to project: none Tested: no
Accepted: no Estimated Hours: 7

Description (last modified by dpovshed) (diff)

Views is a very flexible module. This can be used as a replacement of the WLE's browsing functionality. A module should provide the following:

  • default content type 'video' coded in the module
  • one view with multiple displays such as a page, block and RSS feed
  • view exported and made available in module
  • view should contain a grid, titel, still, sorting on dat

Attachments

ticket416view.png Download (242.4 KB) - added by dpovshed 2 years ago.

Change History

Changed 2 years ago by robert

  • owner set to dpovshed
  • status changed from new to assigned

Changed 2 years ago by dpovshed

Changed 2 years ago by dpovshed

Colleagues,

I am half way done with this. Do you have any special requirements about theming this view? Shall I mimic Peter F. browser, do nothing and leave default or just pass it to our designer to feed his creativity? ;)

Dennis

Changed 2 years ago by peter

Dennis,

I expect the following:

- a page view with a grid (for example 3 x 3)
- a pager
- every item in the grid should be a title + still

The reason that date, duration and author are not added is because:
- a administrator of Drupal can add these field him self by cloning the view and adding these fields (and more) to his liking.
- the field duration is technical metadata that is availalbe with a mediafile. There will be a seperate ticket to include the technical metadata as CCK-fields. This way the administrator is able to enrich the view with the technical metadata fields of his liking.

About theming: I think the default grid view will do. Maybe a little bit of theming is needed to correct issues such as long titles in the grid, alignment of the stills. I do not expect a lot of css-expertise is needed.

Changed 2 years ago by dpovshed

  • owner changed from dpovshed to robert
  • description modified (diff)

Changed 2 years ago by dpovshed

  • status changed from assigned to closed
  • resolution set to ready_for_review
  • description modified (diff)

Changed 2 years ago by dpovshed

  • status changed from closed to reopened
  • resolution ready_for_review deleted

Changed 2 years ago by dpovshed

  • status changed from reopened to closed
  • resolution set to ready_for_review

Changed 2 years ago by dpovshed

  • status changed from closed to reopened
  • resolution ready_for_review deleted

Changed 2 years ago by dpovshed

  • status changed from reopened to closed
  • resolution set to ready_for_review

Changed 2 years ago by peter

  • status changed from closed to reopened
  • resolution ready_for_review deleted

I have tested the module as an end-user and the following I have discovered:

- <not done> default content type 'video' coded in the module
- <almost done> one view with multiple displays such as a page, block and RSS feed
- <done> view exported and made available in module

Currently when I install the view in a fresh Drupal installation then the view will not work because of missing handlers/fields. It misses CCK fields. As mentioned in this thread the metadata CCK fields will be made available in a different ticket #417/#418.

So it is important to stick to simple fields such as title and the still that is available from emfield module. For the view it is also necessary to filter on "node.type == '<name nodetype>'". This is the reason we need to define a default node type in the module using hook_node_info ( http://drupal.org/node/231019)

Changed 2 years ago by peter

  • owner changed from robert to t1mm1
  • status changed from reopened to assigned

Changed 2 years ago by dpovshed

Peter, creation of node type I made in a separate module, called 'mediamosa_videocontent'. Just to keep things separated and also it might have sence to create node type without View.

What I had forgot - to make my 'mediamosa_views_browser' to be dependant from it. Can you please retest, enabling those two modules?

Thanks!
Dennis

Changed 2 years ago by dpovshed

  • owner changed from t1mm1 to peter

one-click installing of a Video Content type is possible. Further disabling/enabling/uninstalling not tested yet, so please reassign ticket back to Pavel after review.

Changed 2 years ago by peter

  • status changed from assigned to closed
  • resolution set to ready_for_review

Tested the view and now it work when installing. This ticket can be reviewed by Robert and Kevin can add a small stylesheet.

Note: See TracTickets for help on using tickets.