Hi,

I've started Views integration for this module. For now, whenever a user is involved (using a relationship, or because it's a view regarding users), you can display the blog Title and Description, and sort by Blog Title.

I plan to improve this, but I wanted to contribute early to have a community (and maintainer) feedback about this.
I've attached the advanced_blog.views.inc (you obviously have to rename it ;)), and you need to add

/**
 * Implementation of hook_views_api().
 */
function advanced_blog_views_api() {
  return array(
    'api' => 2,
  );
}

into advanced_blog.module.

It's working for me on basic views, I haven't fully tested it on more complicated views, feel free to comment with remarks, working tests, ...
I'm really looking forward a stable release of the module.

Best Regards,

CommentFileSizeAuthor
#1 advanced_blog.views_.inc_.txt1.42 KBsimon georges

Comments

simon georges’s picture

StatusFileSize
new1.42 KB

Oups, missing attached file...

svendecabooter’s picture

Assigned: Unassigned » svendecabooter

Thanks for the help.
I'll check this out and see if I can get it into the next release of the module.

michellezeedru’s picture

Subscribing .. so this would allow me to use fields like Blog Title and Blog Description in a view? Thanks!

Barfly’s picture

hi,
i follow those steps, but it doesn't work for me =(

- i create a folder "includes" in the advanced_blog folder => "all\modules\advanced_blog\includes"

- i put your .inc files in the "includes" folder => "all\modules\advanced_blog\includes\advanced_blog.views.inc"

- i add the following code :

/**
* Implementation of hook_views_api().
*/

function advanced_blog_views_api() {
return array(
'api' => 2,
'path' => drupal_get_path('module', 'advanced_blog') .'/includes'
);
}

into advanced_blog.module

But when i go to views module i don't see filter like " blog Title and Description"

My views version = "6.x-2.11"

Fidelix’s picture

Subscribing!

jenna.tollerson’s picture

I dropped the advanced_blog.views.inc into sites/all/modules/advanced_blog (not in an includes folder), added the code to advanced_blog.module, and cleared my Drupal cache. This is working for me so far to display the title. Yay!

ridefree’s picture

any word on whether this is in a new release coming out sometime soon?
thnx

gatti’s picture

I can't get this to work either I followed the directions exactly with creating the advanced_blog.views.inc file in the advanced blog folder and with adding the information to the end of the main module file.

I have run /update.php as well.

I'm using the latest release.

Katrina B’s picture

A couple of features I'd like to see the Views integration include:

1. The ability to link to the user's blog by adding Advanced Blog Title as a field in a View (the way that a node title can be set to link to the node).

2. The ability to access the Advanced Blog fields in Node views, not just User views.

kappaluppa’s picture

Version: 6.x-1.x-dev » 6.x-1.0-beta3
Priority: Normal » Major
Status: Needs review » Needs work

I did the same as in #6 and no go.

using views 6.x-2.12
advanced blog 6.x-1.0-beta3

Are there any changes in the views.inc file for beta3?

Thanks...
K