Closed (won't fix)
Project:
Privatemsg
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2011 at 17:43 UTC
Updated:
26 Jul 2016 at 14:49 UTC
Jump to comment: Most recent
Comments
Comment #1
lameei commentedI think Kevin have found the solution here but there is a little problem with the solution which he mentioned it there but I can not figure it out. here is the kevin's solution:
Kevin suggests this for the v7. This does not print the form. He says in this tread that he forgot to use $vars['contact'].
Is this gonna work on v6 too. What is the correct codes for this one?
Comment #2
lameei commentedNothing new?
Comment #3
lameei commentedOk, I have found a sulotion:
With this snippet you can create a block with containes the send a message form. the recipient field is not heddin yet.
What I'm working right now is showing the real name (which have been set up using realname module) of the author instead of the uid.
Comment #4
lameei commentedI have hide the "To" field with using CSS. I think this is not the right way to do it so please somebody help :)
Comment #5
lameei commentedAm I doing this right?
Comment #6
dhayles commentedI'm exploring how to hide the to: field completely, but if you wish it to be repopulated and disabled then try out the solution I have found here: http://drupal.org/node/790414
I created a simple 7.x module as suggested and it worked perfectly. It includes both 6.x and 7.x code
Comment #7
alex.87 commentedWhen i add this into my node i just get array as output. Any clue? Im in d7 thou...
Comment #8
oadaeh commentedThis issue is being closed because it is against a branch for a version of Drupal that is no longer supported.
If you feel that this issue is still valid, feel free to re-open and update it (and any possible patch) to work with the 7.x-1.x branch (bug fixes only) or the 7.x-2.x branch.
Thank you.