By saml on
How can I make some views pages (I clicked "provide page view" in the views creation form) "belong" to certain groups, so that the right groups blocks show up on these views pages also?
I tried to create a normal page, make it belong to the group, and insert the view with the insert_view module, but then that view isn't updated when the view is updated.
--
Samuel Lampa
Ril Partner AB - Drupal and MediaWiki Services
Comments
Solved
Well, I solved this by using the Viewfield module and a custom node type created with CCK. This solution doesn't have the caching problem mentioned above.
--
Samuel Lampa
RIL Partner AB - Drupal and MediaWiki Services
how about this
Thank you for sharing, I experience 2 issues with your way :
1. I have to create another page (that has viewfield cck) for every views page.
2. When page has argument, my blocks was not display properly eventhough I put a token (in my case tid) in the argument section.
So, I use org(0) instead and list all views I want my block to show. Then I also want blocks to show if the node is attached to any group. Note that in $group_node->nid==461, 461 is my group id.
It works for me, What do you think?
-najibx -
Drupal developer in Malaysia