Skip to content
This repository was archived by the owner on Oct 8, 2020. It is now read-only.

Add "Populate Help Text on the Payment Processor Administrator Screen" section #721

Merged
merged 17 commits into from
Jan 10, 2020
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docs/extensions/payment-processors/create.md
Co-Authored-By: Mikey O'Toole <mikey@mjco.uk>
  • Loading branch information
alifrumin and homotechsual authored Oct 28, 2019
commit b04dd3a0363dae3b53e43c2274f4ffe4afa597b9
6 changes: 5 additions & 1 deletion docs/extensions/payment-processors/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,11 @@ CRM_Utils_System::redirect( $finalURL );
### Populate Help Text on the Payment Processor Administrator Screen
To populate the blue help icons for the settings fields needed for your payment processor at **Administer -> System Settings -> Payment Processors** follow the steps below:

1. Add a template file to your extension with a `{htxt id='$ppTypeName-live-$fieldname'}` section for each settings field you are using for example, help text for the user-name filed for a payment processor with the name 'AuthNet' would look like:
1. Add a template file to your extension with a `!#twig {htxt id='$ppTypeName-live-$fieldname'}` section for each settings field you are using.

**Example:**

The help text for the `user-name` field for a payment processor with the name 'AuthNet' would be implemented with code like this:

```twig
{htxt id='AuthNet-live-user-name'}
Expand Down