Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a custom module that displays some CCK fields from a node. This will be an example of how to use the boost cache relationship table to expire these custom paths when the node is updated, etc...
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedCode for views
Code for panels
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedHook menu for this page. How it works is the first number is a node & the second number is the delta of the CCK item.
Page is a custom rendered html page (no theme) that is used in a lightbox popup. What is happening is the node gets updated but the coupon doesn't get flushed from the cache. What I need to do is create a relationship between this custom page and the node.
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedinside business_profiles_coupon_display right at the end of the function I call the newly crated business_profiles_coupon_set_boost_relationship() function.