Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.0.2
-
Component/s: CiviEvent, Core CiviCRM
-
Labels:None
Description
See this forum post:
http://forum.civicrm.org/index.php/topic,10853.0.html
-----------
It looks like we need to add the fe=true parameter for Participant Confirmation ($confirmUrl) email links in:
3.0 - templates/CRM/Event/Form/ParticipantConfirmMessage.tpl
3.1 - xml/templates/msg_templates/participant_confirm_html.tpl and _text.tpl
-------------
I was checking for other places where we might need the front-end parameter (either in PHP calls to Utils_System::url or crmURL in templates). i'm a bit puzzled about how this works in general since I verified the the $icalFeed URL (and others) in event emails do NOT set front-end true but yet in my testing the URLs where properly set to front-end.
I'm thinking that the behavior might be affected by the location of the USER triggering the action (in some cases) - i.e. are they registering from front-end or backend??? The confirmation URL bug case reported on the forum (linked above) - is a different case as well since the email is triggered from bin script.
I tested the Tell a Friend function - which seems like it SHOULD need frontend passed true in Friend/BAO/Friend.php create()
$mailParams['page_url'] = CRM_Utils_System::url($urlPath, "reset=1&id={$params['entity_id']}", true, null, false);
... however it did generate a front-end URL even though frontend is not set true ????
Please investigate HOW this works, check back with me, and then we should confirm if there are other spots that should be fixed to ensure that Joomla users are properly given front-end links.