Closed (fixed)
Project:
Forward
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2008 at 15:21 UTC
Updated:
25 Jan 2009 at 04:22 UTC
I need to know if it's possible to custoimize a theme and say, write <?php print $forward_link ?> exactly where I want the forward link to appear? If not, is there a different module that exposes variables like that for flexibility?
Comments
Comment #1
slowlemur commentedYou can just make a link to the forward form. It's just at forward/[node_id] and just add that anywhere you wanted the link to be. Is that what you wanted?
print l('Forward to Friend','forward/'.$node->nid, NULL, NULL, NULL, NULL, TRUE).'<br>';Comment #2
rgracia commentedI think so, so [node_id] will be automatically replaced by the current node? Or am I replacing that manually for the node id, which wouldn't really help me, I want the former.
Comment #3
rgracia commentedI works well and I have styled the link using css, but now the only problem is that it works only for nodes, not views. I can probably make it disappear for not if the current page is a view. Let's see.
Comment #4
DrupalDummy-1 commentedI tried this in version 6.9 but unable to make it work. Can someone please help me?
Thanks
Comment #5
liliplanet commentedsubscribe, thx!
Comment #6
jct commentedThis method worked for me, but with slightly different code (also using the envelope image).
Comment #7
DrupalDummy-1 commentedThanks for the code.
Comment #8
jct commentedYou're welcome. If it works for you as well, I'm guessing we can safely close the issue.
Comment #9
DrupalDummy-1 commentedYes. It works well. Thanks. Closed.