-
Notifications
You must be signed in to change notification settings - Fork 12
new action tags: add hover functionality for field notes #3
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
Conversation
includes/helper.php
Outdated
| return false; | ||
| } | ||
|
|
||
| function get_action_tags() { |
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.
Let's keep the pattern auto_populate_fields_ in order to avoid generic names that may cause conflicts with core and/or future modules.
Let's also add a description header for this function.
ExternalModule.php
Outdated
|
|
||
| // if features are present then hover field note. | ||
| if (!empty($features)) { | ||
| $js_vars['hover_field_note'] = getFieldsWithActionTags(); |
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.
The idea is to create another action tag (something like: @FIELD-NOTES-DISPLAY="hover").
… appending hook name before each function
|
made the necessary changes. |
|
@tbembersimeao made the changes that you suggested. |
No description provided.