How would I go about adding AddToAny as a Views Field in my View? I've looked at the previous views issues, and it only discusses adding full nodes to a view rather than fields. Thanks!

Comments

mikejoconnor’s picture

Component: User interface » Code
Category: support » feature
Status: Active » Needs review
StatusFileSize
new2.45 KB

See the attached patch

adeel.iqbal’s picture

Hi,

I m getting this "Error: handler for node > addtoany_link doesn't exist!" after applying your patch, when i add field to view. Any Idea???

manoz_79’s picture

Any progress on with views integration?? I can help with testing...

Anonymous’s picture

@mikejoconnor

Thanks for the work done here!

It would be great get you patch working for the community. Any chance you can help / advise ?

Best,
Paul Booker
Appcoast

HelloStephanie’s picture

This patch worked for me, thanks! Just what I needed!

HelloStephanie’s picture

I used the patch above and it worked fine, no error message.

Anonymous’s picture

Thanks Stephanie!

If somebody else can confirm the patch today I'll also review and get this work committed on the development branch later this week.

Best,
Paul Booker
Appcoast

micropat’s picture

Status: Needs review » Patch (to be ported)

Committed! Port to D7, Paul? :)

OnlineWD™’s picture

Subscribing and glad to see this being added thanks.

fhoubart’s picture

+1 subscribing

proindustries’s picture

Another confirmation - works great. :)

Standard note about flushing cache before attempting to use applies...

John
Protected Industries

athanor’s picture

Hmm, I can't make it work, after applying patch there is still no addtoany field available on the field list ...

I'm using Views 6.x-2.8, I had reinstalled the Addtoany module and flushed cache several times ....

Michal

athanor’s picture

I moved module files from mysite/modules to all/modules directory,
removed . '/views' from line 30 of addtoanyview.inc and . '/views' from line 205 of addtoany.module and this fixed the problem.

Duplika’s picture

Any chance to upload the diff so we can download the updated module with this feature?

mherb204’s picture

I'm completely lost? I see no patch file only a diff file. When I look for information on using the diff I find nothing that says anything about applying this. Can some one explain to a new to drupal and PHP and coding in general person how to make this a patch or get the diff file working.

Anonymous’s picture

Assigned: Unassigned »
Status: Patch (to be ported) » Reviewed & tested by the community

Nice job!. I too have this working nicely on my development server .

I'll get the work done here committed to the development branch later today.

Best,
Paul Booker
Appcoast

Anonymous’s picture

Version: 6.x-2.4 » 7.x-1.x-dev
Status: Reviewed & tested by the community » Patch (to be ported)
Anonymous’s picture

I'm using 6.x-2.4 with Views 6.x-2.8 but do not see "add to any" as being available in my field options in Views. Am I missing something? Trying to make it available in a view displaying audio nodes using mp3player. Please advise.

AdrianB’s picture

Do we still have to patch to get this feature?

This was committed on January 26, 2010 according to #8 but I can't find any 6.x-2.x-dev release and the latest stable release is 6.x-2.4 from October 10, 2009.

Time for a new stable release?

dnewkerk’s picture

Confirmed, it is not anywhere in 6.x-1.x-dev, 7.x-1.x-dev, or 6.x-2.4.
Need any help so we can get this committed?

p1rulz’s picture

How do I apply this patch? and where is the patch? Can someone please guide me? I need the AddtoAny to be displayed on Views (Field type) - each node listing. Thanks.

AntiNSA’s picture

has anyone used this in the lasted 6X dev version?

mikejoconnor’s picture

Title: Views 2 Field » Views 3 Field
StatusFileSize
new1.33 KB

Updated the title for views there. Attached is a patch against the 7.x dev version.

mikejoconnor’s picture

Status: Patch (to be ported) » Needs review

Updating the status

micropat’s picture

Assigned: » micropat

Thanks Mike! Will review soon.

micropat’s picture

Assigned: micropat » Unassigned
Status: Needs review » Closed (fixed)

Patched in the first stable release, version 7.x-3.0.