Posted by wipeout_dude on April 27, 2012 at 9:03pm
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
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
Awesome!!
Thanks a lot.. I'll give it a try..
Have had a go with Panelizer
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
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
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
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
@Itangalo - Thanks.. It is a production site so maybe I'll wait or notify on a save/update action instead..
Same Issue
I am having the same issue, content when viewed using panels. Not working for me,
Solution: Add and hide full content
Wel... a very late reaction but I had the same problem today. My solution (after a few hours) was:
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!