Once Rules and Nodejs have been ported, will this awesome module get ported to Drupal 8?

Comments

camster created an issue. See original summary.

AndrewsizZ’s picture

Yes sure! at list we will try ;)

AndrewsizZ’s picture

Assigned: Unassigned » AndrewsizZ

lats start

  • AndrewsizZ committed b392c1e on 8.x-1.x
    Issue #2613922 by AndrewsizZ: Drupal 8 Port: change file .info to .info....
No Sssweat’s picture

awesome!

AndrewsizZ’s picture

So, it seems like module start working on Drupal 8, but module rules not have stable version yet and in rules action "views node.js" we should pass serialized array(temporary) like:
a:1:{i:0;a:2:{s:4:"name";s:9:"frontpage";s:10:"display_id";s:6:"page_1";}}

It means that view "frontpage" with display "page_1" will be updated.

Would be cool if someone can try to test
for testing
take last stable drupal version
take last stable node.js integration module
take dev build of rules
and take build of views nodejs

No Sssweat’s picture

Sure :)

I'll be happy to take this for a test run later today.

I'll let you know how it goes.

No Sssweat’s picture

YAY it worked for me :)

Since Drupal 8 caches everything out of the box, I think it's important to note that it only works when the view has caching turned off.

Would it be possible to make it work with caching on? In other words, make it invalidate/flush the view cache?

No Sssweat’s picture

ACTUALLY it works fine with view's cache enabled, not sure why it didn't work for me the 1st time, but it's working as expected now :)

AndrewsizZ’s picture

very cooool), thanks for your help and support!