HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Pre-populating recipients for Private Messages
Attributes are passed with an array when you create a new form element: $sender->Form->textBox('YourTextBox', ['placeholder' => t('Some text, made translatable by using the t() function')]); But it sounds as if you would like to add a placeholder to an existing form element. I do not know how that can be achieved. -
Re: Pre-populating recipients for Private Messages
-
Re: Pre-populating recipients for Private Messages
Always great to see that someone finds his solutions himself. I was curious if there is a way to do this without extra effort, but the code doesn't allow multiple recipients. If you already have a custom theme you might be interested to see a solution that doesn't require a view override. Though view overrides are quite… -
Re: Pre-populating recipients for Private Messages
After a little digging, I've found a solution for anyone who are facing the same requirement. Override the New Message view by copying the application/conversations/views/messages/add.php file to your theme. add a value property to the To textBox with the usernames (separated by commas, no spaces) that you want to…
4 results