I like this module, so i have to port it :)

My work was done on http://gitorious.org/views_bonus/views_bonus-7

This needs testing and review

Comments

lpalgarvio’s picture

subscribring

servantleader’s picture

subscibing

jucallme’s picture

subscibing

pcambra’s picture

suscribe

jucallme’s picture

BenK’s picture

Subscribing and will test the patch...

BenK’s picture

Title:Port module to drupal7» Port module to Drupal 7

Changing title slightly so it's easier to find in the queue...

BenK’s picture

Status:Needs review» Needs work

Thanks for the initial patch! :-) I started testing the views_bonus_export sub-module. In particular, I'm trying to create an XML feed. The XML feed is successfully created, but I'm getting the following warning at the top of my views:

Warning: Missing argument 2 for drupal_add_http_header(), called in /Users/benkaplan/git/drupal-rc1/sites/all/modules/views_bonus-HEAD/export/views_bonus_export.module on line 112 and defined in drupal_add_http_header() (line 959 of /Users/benkaplan/git/drupal-rc1/includes/bootstrap.inc).
Notice: Undefined variable: value in drupal_add_http_header() (line 966 of /Users/benkaplan/git/drupal-rc1/includes/bootstrap.inc).
Notice: Undefined variable: value in drupal_add_http_header() (line 975 of /Users/benkaplan/git/drupal-rc1/includes/bootstrap.inc).

I'm also experiencing quite a few AJAX errors... did something change in the Views AJAX implementation since this patch? Does it need to be re-rolled? I'm getting errors like this:

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /admin/structure/views/ajax/display/nodetest/feed_1/style_options
StatusText: OK

Any ideas?

--Ben

mgifford’s picture

@dereine any word on the errors that @BenK found? Also, any word on when this will be a dev release?

Btw, happy new year!

bigdave’s picture

Subscribing

combicart’s picture

Subscribing

bumathan’s picture

Subscribing

mattbk’s picture

Subscribing.

hexabinaer’s picture

Has anyone read at least a line of intent in one of the other issues?
Any alternatives?

dawehner’s picture

Instead of complaining about a missing alternative it seems to be better to help with porting it.

WilliamV’s picture

I comply and await a 7-dev version.

hexabinaer’s picture

Sorry dereine, I know you're doing a great job - didn't intend to complain.
I would help but it'll still take months to develop my development skills ;-) Let me know if I can help elsewise.

mgifford’s picture

Issue tags:+D7 porting

Has anyone tried creating a first rough patch by using http://drupal.org/node/75371/git-instructions and Coder?

Danny_Joris’s picture

subscribing

klonos’s picture

subscribing...

wpanssi’s picture

subscribing...

helmo’s picture

subscribing

mori’s picture

subscribing and testing ;-)

Seraphin42’s picture

Subscribing

klonos’s picture

Title:Port module to Drupal 7» Port Views Bonus Pack module to Drupal 7
Issue tags:+port to d7
rmiddle’s picture

Subscribing

seanberto’s picture

.

mgifford’s picture

I'll test the next patch.

artatac’s picture

sub

marcusx’s picture

subscribing

hgurol’s picture

subscribing

RobLoach’s picture

Views Data Export should be where all the export stuff from Views Bonus goes in Drupal 7. So, where does that leave the scope of Views Bonus in Drupal 7?

  • Audio Playlists
  • Lineage nested taxonomy summary
  • Additional Panels

Are there any other modules that do these things for Views 3 in the Drupal 7 world? I'd love to offload some of Views Bonus Pack into other modules.

hunziker’s picture

Hi Rob,

I have build a PDF export module for Views. At the moment I working on a Drupal 7 Version of the module.

I'm not sure if you want to use this, but you can set a link to the module. The module is not small, because the generation of PDF is not that easy. But the approach of creating HTML and then turn the HTML into a PDF is not perfect, because you cant use PDF specific features (as embedding other PDF or vector graphics) and the rendering of HTML to PDF is typically very resource intensive.

cesareaugusto’s picture

subscribe

zaraza’s picture

subscibing

likewhoa’s picture

Title:Port Views Bonus Pack module to Drupal 7» Port Views Bonus Pack to Drupal 7

Subscribing

DamienMcKenna’s picture

Subscribe.

ced.cornez’s picture

StatusFileSize
new6.72 KB

Hi all,

I just ported the "panels" part of this module to D7, here is the patch.

Hope it helps...

infines’s picture

I know SwfTools does playlists, in its current 6.x beta and is getting a rewrite of all functionality. I'd personally love to see a Fluid Grid option, with the jQuery masonry plugin, since the current maintainer for that module is MIA.

infines’s picture

MPeli’s picture

Would it be possible to create a dev version? Thanks.

webankit’s picture

+1

nzcodarnoc’s picture

subscribing

Floop’s picture

Subscribing. Dev version would be nice indeed.

ambereyes’s picture

subscribe

bryancasler’s picture

subscribe

Kreapix’s picture

subscribe...

likewhoa’s picture

Kreapix stop subscribing and start following. look at top of thread.

Katrina B’s picture

I'm interested in being able to use the Panels part of the Views Bonus Pack in D7. I see there's a patch -- but I'm not quite clear: What do I apply the patch to?

klonos’s picture

Hey Katrina, you'll need to apply the patch in #38 above against the latest 6.x-dev version of the module. This hasn't been updated for one year so I'm sure the patch will apply cleanly. In case it doesn't, here's how you apply patches manually.

Besides the "official" tutorials, there's also:

HowTo: How to apply a patch to a contributed module - Beginner's version (Windows)
Apply patches on Windows
Apply patches on Mac OS

PS: I must have answered this question a couple of dozen of times now. Please "push" so that #1308382: Add a "how to apply this patch" link next to uploaded patches. is accepted and implemented in d.o.

Katrina B’s picture

This is what I get when I try to run the patch:

patching file views-bonus-panels-threecol-term.tpl.php
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file views-bonus-panels-threecol-term.tpl.php.rej
patching file views_bonus_panels.info
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file views_bonus_panels.info.rej
patching file views_bonus_panels.module
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 13 (offset -1 lines).
Hunk #3 succeeded at 43 (offset -1 lines).
1 out of 3 hunks FAILED -- saving rejects to file views_bonus_panels.module.rej
patching file views_bonus_panels.views.inc
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file views_bonus_panels.views.inc.rej
patching file views_bonus_plugin_style_panels_threecol.inc
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file views_bonus_plugin_style_panels_threecol.inc.rej
patching file views_bonus_plugin_style_panels_threecol_stack.inc
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file views_bonus_plugin_style_panels_threecol_stack.inc.rej
patching file views_bonus_plugin_style_panels_threecol_term.inc
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file views_bonus_plugin_style_panels_threecol_term.inc.rej
patching file views_bonus_plugin_style_panels_twocol.inc
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file views_bonus_plugin_style_panels_twocol.inc.rej
patching file views_bonus_plugin_style_panels_twocol_stack.inc
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file views_bonus_plugin_style_panels_twocol_stack.inc.rej
klonos’s picture

I thought so...

The patch was created back in June and a lot has changed since then. In fact I just noticed that the patch in #38 is not a complete port of the module, but rather the Panels support part of it. If you don't use Panels, then I'm pretty sure you don't need it. Instead, you should try the patch in #0. This was created even earlier (2 years ago), so whichever patch you end up applying it's most likely that you'll have to do it manually as I've already pointed in #50 (and still its most likely that things won't work).

Anyways, from the update in the project's description it seems that the maintainers have decided to split this module's functionality in various different modules/projects for D7:

- They seem to endorse using Views data export for the views export feature and in fact that project has a 7.x version available.
- For the Panels support part you'll have to try the patch in #38 along with the one in #0. I'm not aware of any alternatives.
- The lineage nested taxonomy summary feature wasn't even ported from 5.x to 6.x. You can follow this issue #1012064: Drupal 7 version for Lineage? in the Taxonomy Lineage project's issue queue (especially post #16 that sums the status). People seem to suggest Taxonomy Block there as an alternative or even Views tree.
- The Audio: Playlists feature seems to be postponed due to #393306: audioplaylist for drupal 6. I don't know any D7 alternative either.

This module's maintenance status is set to "Minimally maintained" and its development status to "Maintenance fixes only". The last commit was years ago and its usage statistics seem to be "stalled". Generally speaking, I'd be looking for alternatives if I were you.

Katrina B’s picture

All I really want is the ability to use Panels layouts in Views. If anyone knows of another module that will provide that functionality, let me know!

klonos’s picture

...ability to use Panels layouts in Views

Sorry, I'm not familiar with this feature of VBP at all. Care to point to documentation that demos this (a screencast of howto perhaps)?

Does any of these modules' description fit your profile?:

Panels Everywhere
Panels Extras
Panel Style

Katrina B’s picture

The closest I can find for documentation is this from the Views Bonus Pack project page: "Provides some interesting layouts using panels include 1 top + 2 column; 2 column alternating; 1 top + 3 column; 3 column alternating; and 3 column by term (similar to craigslist)."

In other words, it adds layouts to Views that allow you to put fields in different places on the page: top, right column, left column, bottom, etc.

This is great for laying out fields in a View without having to fiddle heavily with floats -- not to mention the ability to include more than one field in a 'region" (such as left column or right column).

I have not experimented yet with the modules you mentioned; of the three, Panel Style looks like it might come closest to what I want -- sadly, it is not available for D7.

klonos’s picture

Anyways, I've given all the help/info I gathered around. I'm giving up on this... unfollowing.

combicart’s picture

I don't think this is the main purpose of this module. Did you have a look at Display Suite? With this module you can overwrite the layout of Views, you can even use it in combination with Panels. On the project page there are also some video tutorials to get you started.

IWasBornToWin’s picture

StatusFileSize
new40.05 KB

@Katrina B. I only read the bottom of this thread. I use panels layout in views and have never used this module. I even use a custom panel I created. I do it by selecting "panel fields" in the "format fields" section of the view. See photo;

http://drupal.org/files/panel fields.jpg

rockclimb’s picture

I've added the views_bonus_panels part of the package to a new project at http://drupal.org/sandbox/rockclimb/1658148 . This still needs to go through the review process, but hopefully this is a start to splitting things off into sensible sized chunks. It might actually make more sense to try and get this added as part of the views module itself.

rockclimb’s picture

I just tidied up my sandbox project views_bonus_panels at http://drupal.org/sandbox/rockclimb/1658148. If anyone who is interested in this has the ability to create a full Drupal module project, please do so with this code.