"content is viewed" rules not running on "panels" pages..

Events happening in the community are now at Drupal community events on www.drupal.org.
wipeout_dude's picture

HI,

Hopefully someone can help..

I need a rule to react when content is viewed but it doesn't seem to work on pages that have been laid out using page manager and panels..

I have even created a rule that simply says when content is viewed send me an email.. It works for non-panels pages but not panels pages..

Had anyone else had this?
How do you get a rule to react when panels pages are viewed??

Thanks..

Comments

Yes i have already

er_gaurav_sharma's picture

Yes i have already experienced it. This is because page manger overrides menu and content is view event is fired when node is viewed at the path "node/nid/view". Since path has been overridden this will no longer work.

Sol: There is module named panelizer. Try it.

Awesome!! Thanks a lot.. I'll

wipeout_dude's picture

Awesome!!

Thanks a lot.. I'll give it a try..

Have had a go with Panelizer

wipeout_dude's picture

Have had a go with Panelizer but its still doesn't trigger "content is viewed" rules to run when "panellized" content is viewed.. Must operate the same way page manager does..

Anything else I could try?

Instead of trigger on content

headdragon's picture

Instead of trigger on content how about trigger on page switch. Trigger when you enter the node.

Head Dragon Kid Stevens
Of Web-DrupalDesign .com

Ok.. That might work but how

wipeout_dude's picture

Ok.. That might work but how would I do that??

In rules the only option I can see is "Content is viewed".. I don't have an option for "enter the node"..

Some stuff in Rules Bonus Pack

itangalo's picture

If you use Rules Bonus Pack (http://drupal.org/project/rb), you can get a check box on Page manager pages saying "use this page as a Rules even" (or something like that). That allows you to have any Page manager page trigger Rules events.

Note that Rules Bonus Pack is experimental, so I wouldn't use this on a production site.

@Itangalo - Thanks.. It is a

wipeout_dude's picture

@Itangalo - Thanks.. It is a production site so maybe I'll wait or notify on a save/update action instead..

Same Issue

xbrianx's picture

I am having the same issue, content when viewed using panels. Not working for me,

Solution: Add and hide full content

bigbozz's picture

Wel... a very late reaction but I had the same problem today. My solution (after a few hours) was:

  1. Create a new content in the panel.
  2. Choose: existing node
  3. Enter the title or NID of a node: %1
  4. Buildmodus: full content

After saving the panel, I hide that new content. The computer can read it but the user can't see it. It's not ideal but it works fine!

Panels

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: