Active
Project:
Omega
Version:
7.x-3.0-rc5
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2012 at 04:18 UTC
Updated:
28 May 2012 at 09:50 UTC
Can anyone please tell me where and how to get this fucntion to work so I can read the link variables:
function my_omega_alpha_link(&$variables){
var_dump($variables);
}
I have tried several locations (preprocess dir preprocess.node.inc, template.php, etc.) I am using the context module, which I understand has some issues with omega.
Ultimately, I am trying to change the href for the "Add new Comment" link, but cannot find the right variable.
Comments
Comment #1
JSCSJSCS commentedor
Or whatever, you know what I mean...
Comment #2
JSCSJSCS commentedcricket sounds....
Comment #3
roblav commentedI'm not sure if this will help, but this is how I'd change the link using a preprocess function in my template.php file:
I've left in the dpm() function assuming you're using the devel module to debug your code, this line will verify that the change worked.
The problem with using this function would be that it would set all of the comment links to the same value, so you'd need a way to dynamically change the value depending on the node you're on, unless that's what you want.