Closed (fixed)
Project:
Widgets
Version:
7.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2012 at 16:45 UTC
Updated:
2 Apr 2012 at 13:07 UTC
With widgets & socialmedia, I've created a widget set for "share links" in teasers.
They're displayed on the homepage, but missing in a page (view) using URL /blogs/%/tag/% (4 args).
I've found this test in function widgets_node_view() (file widgets.module line 1390) :
if (!arg(2) && ($widget_sets = widgets_content_type_visibility($node, $view_mode))) {
Is there any reason checking !arg(2) ? If I remove it, my links are produced...
Comments
Comment #1
TomDude48 commentedNot sure why I put it in there. I went ahead and removed it.
Comment #2
schnemer commentedDid you get any error messages? for example when you put the widget block in a region and saved?
Comment #3
pverrier commentedNo, there were no error message, the widgets just weren't displayed since
if (!arg(2))was false.It has been corrected on #1, so I change status to closed (fixed).