-
-
Notifications
You must be signed in to change notification settings - Fork 828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the help text for Message Templates and Scheduled Reminders to include link to CiviCRM Token Documentation page #20259
Conversation
(Standard links)
|
@@ -40,6 +41,7 @@ | |||
{/htxt} | |||
{htxt id="id-token-subject"} | |||
<p>{ts}Use a token in the Subject when you are sending mail to a number of recipients and want to include their name and / or other values from their contact record automatically in the subject line.{/ts}</p> | |||
<p>{ts 1=$tokenDocs}%1{/ts}</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a known issue with {docUrl}
and translation (https://lab.civicrm.org/dev/translation/-/issues/61) which makes this difficult, but in this line all translators will see is %1
. There are some suggestions in that ticket for how to use docURL, although seems a bit of an open question still.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@demeritcowboy thanks for the heads up on that core issue. Any advise on how to change this PR to be acceptable? By the way, this tokenDocs pattern was already in place, I just moved it to this help file so it could be re-used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree it wasn't great before either. At the moment without other changes the only way to make it work I think is something like:
{capture assign=tokentext}{ts}View the CiviCRM Token Documentation{/ts}{/capture}
and then instead of <p>{ts 1=$tokenDocs}%1{/ts}</p>
use <p>{docURL page="user/common-workflows/tokens-and-mail-merge" text=$tokentext}</p>
I haven't tested that - it's just thought-code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@demeritcowboy I'll give that a go
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@demeritcowboy tested and works fine, ready for review Mr. D.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
… Reminders to include link to CiviCRM Token Documentation page
e0f3bc3
to
281fd9e
Compare
|
@demeritcowboy thanks mate! |
Overview
Change the help text for Message Templates and Scheduled Reminders to include link to CiviCRM Token Documentation page. Remove the in-line help which is superfluous.
Before
There is no link to the documentation for CiviCRM tokens. Instead end users are having to Google to find the CiviCRM documentation for tokens and hitting Stack Exchange, Forums and other sources which may not be correct.
After
There is now a link to the CiviCRM Token Documentation page, https://docs.civicrm.org/user/en/latest/common-workflows/tokens-and-mail-merge/
And this is available in multiple help contexts. Users can find the correct documentation easily.
This is what the help pop-up will look like now.
Technical Details
Added the link in the email help file which is used in Message Templates and Scheduled Reminders
Comments
Agileware Ref: CIVICRM-1734