Closed (fixed)
Project:
Spaces
Version:
6.x-3.0-beta3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 May 2010 at 17:27 UTC
Updated:
18 Nov 2010 at 22:16 UTC
Jump to comment: Most recent file
Comments
Comment #1
glennpratt commentedPatch attached. Links to a nodes spaces_og front page using purl. Seems safe since spaces_og depends on purl.
This patch could be seriously trimmed down if I could add arbitrary options to the l() function views render_as_link() calls.
Tried to use git to create this patch, but it's not quite right, will re-roll it with CVS later.
Comment #2
glennpratt commentedup for review
Comment #3
christianchristensen commentedAn addition to this patch: allow in views setup the ability to add specific link locations to the specified group space in the view options. Also, allow for access check on a feature type in another space.
This allows for a view to link into another space's menu items and do access checks on that spaces enabled features (by feature name).
Please see patch.
Comment #4
archnode commentedI tested the patch and so far everything looks good. Thank you.
EDIT: Found a problem, though: Won't work with the group node added to the view with a relationship (group post). Just gives me a link to the frontpage (/).
Comment #5
yhahn commentedThanks, committed here with some adjustments: http://drupal.org/cvs?commit=404566
The spaces link handler now replaces the default views node field handler allowing you to gracefully downgrade from a spaces_og built view to just OG if necessary. Similar logic for the og nids replacement handler.
Comment #7
glennpratt commentedExtended at #975652: Extend spaces views handler to customize links into the space by path and feature