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

TomDude48’s picture

Status: Active » Needs review

Not sure why I put it in there. I went ahead and removed it.

schnemer’s picture

Did you get any error messages? for example when you put the widget block in a region and saved?

pverrier’s picture

Status: Needs review » Closed (fixed)

No, 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).