Customize Mail Invite Form (Share) - alfresco

When inviting an external user by email (via Share), we want to customize the script of invitation. We need to change the username to user's email and add a custom field (Telephone).
Is that possible?
Alfresco Community: 4.2

According to this link (simple googling) it is located under
Company Home > Data Dictionary > Email Templates > invite-email.html.ftl
path in Alfresco.
However, if you fail to see changes after modifying e-mail template within previous file in Alfresco, check file in share webapp under path
share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\invite\sent-invites.get.html.ftl

Related

Send email with Inbound rule

i am new to alfresco share and i want to perform an action when users add a document. The action is to send email to all site members with the link of added document.
I know that there is something called email template, any ideas how to write such a template from inbound rules?
Informations: Alfresco Version: 4.2 community
This is easily done by setting up a rule. First, see the doc about how to set up a rule on a folder:
http://docs.alfresco.com/5.0/tasks/library-folder-rules-define-create.html
As part of that, you'll specify the "Send an email" action. When you select that action you will also select an email template to use from a list of out-of-the-box email templates.
If you want to change the template or add a new one, you'll find them in the Data Dictionary under "Email Templates" and then "Notify Email Templates".

drupal how to allow logged in user to edit specific content node?

I have a Drupal 7 site with single SSO via the LDAP module, which allows us to run the site as n Intranet and users that hit the site with IE will get automatically authenticated using their active directory credentials.
I have a personnel directory content type that holds a list of all of our employees and some of their stats (photo, email, phone number, etc.).
The problem I want to allow the logged in user to be able to edit the node in the personnel directory page that represents them, but because there is no relation between the logged in user and the nodes under the personnel directory content type I am not sure how to go about allowing users to edit their own entries?
The personnel directory page is automatically populated/updated via feeds (it looks at our AD, and pulls down users and updates them if it detects updates in AD meta data).
Somehow I need to tie the logged in user to the specific node, any idea how I could automate this as there are over 300+ nodes/users.
Ultimately, I'd like to have a "edit personnel bio" link that they can link, that will link based on their [current logged in user ID] it will allow them to edit the correct node in the [personnel directory] content type.
I hope this was clear enough to point me to some direction.
Thank you.
basically you want to create a user "role". Then in your permissions page (the one with 1000 checkboxes) you can add edit access to your "personnel bio" content type (or fields) for just that user role.
Then in your template you provide the user a link to the same page with /edit in the url.
Make sure the user has permissions to edit the node of that type. Upon creation of the node via feeds, create a rule (use the Rules module https://drupal.org/project/RULES) to change the creator of the node to that user's uid.
Add another field in the user's account to match their AD username to tie them together. To do this, create a module as seen at https://drupal.stackexchange.com/questions/8253/how-to-add-extra-fields-to-user-profile

Drupal 7: Reveal field to anonymous user after an email validation

This is the requirement for a Drupal 7 site -
The site will not have any registration facility for visitors. It is basically a content oriented site with all content created by content editors.
All content are visible to anonymous users.
There is specific content type (consider "document") that will have a file upload. Users can download the files.
The "document" nodes will not reveal the file download link when an anonymous user views the node for the first time. Rather it will ask the user to input his email address.
Once the user inputs a valid email address, the link to the file is revealed.
There will be a log record of the user input email addresses.
I want to know if there is a contributed module that can already do this. If not, is it possible to achieve this by using a combination of contributed modules? If even that is not possible, what could be the best way to achieve this?

User Inbox Functionality

How do achieve this functionality in Asp.net. Users should be able to compose messages.
Once the user logs in, he should see a list of profile ids on the homepage. these profile ids should be hyperlinks. this homepage also contains a header link 'Message Center'. once the user clicks on any profile in this profile list, show the 'Compose Message' form as shown in pdf file.
Thanks
SC
Use ASP.Net and SQL Server. Read documentation here.

Drupal Rules One time login address

I am trying to send out an email using a drupal onetime login. I have created a custom token which executes the following php.
return user_pass_reset_url($user);
I then use this in my rule. A link is sent to the user but when they click on the link it says it has all ready been used. I have no idea why because the link in the email looks correct (contains correct user id etc).
Have you looked into using the Login one time module (http://drupal.org/project/login_one_time)? We're using it on a production site and it works great.

Resources