Set base url for subscription emails
ianchan - February 22, 2008 - 22:46
| Project: | Organic groups |
| Version: | 5.x-5.4 |
| Component: | og.module |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
How do we set the base url that is associated with !content_url in the OG subscription emails? Alternatively, how do we associate a base url with specific groups?
We are using Drupal in a multi-site configuration. Two sites provide a limited subset of content from the third site (basically there is an intranet and two public sites). Some of the content from our intranet is not accessible unless the user goes through the url for that site. when the organic group subscription emails go out they seem to insert the url based on the page that is triggering the cron.php.
Our Drupal multi-site setup:
domain.name/site1/
domain.name/site2/
domain.name/site3/

#1
correct - the base_url when using job_queue powered notifications is the cron url. you are going to have to hack og_mail() if you want some different behavior. or maybe disable job_queue if you are happy to accept the base_url that is in use when the msg is posted.