Closed (fixed)
Project:
Event Rideshare
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Reporter:
Created:
10 Feb 2012 at 23:25 UTC
Updated:
19 Feb 2012 at 23:04 UTC
PHP filter is a security problem and many sites won't want to turn on that module.
Find and fix each time we use it:
complicated- views header
done- autonodetitle
Redo the views headers, which have to be live php (they depend on the logged-in user).
Possible Approaches:
views_alter hooks?
using php to call the view, so alterations can be made, rather than just importing the view.
preprocess?
Comments
Comment #1
stephen verdant commentedComment #2
stephen verdant commentedThe trickiest piece, that may get revisited and rewritten but seems to be working fine so far, is: function verdant_share_views_pre_view which rewrites $view->display_handler->options['header']['text']['content']
Comment #3
stephen verdant commented