Open olafgrabienski opened 6 years ago
@olafgrabienski I have now added the code example to the help text though I am not sure about the wording, nor the way I have used markup to do this.
Thanks for adding the help text including the code example. Regarding the markup, I don't know what's best practice in such a case, but I'll try to improve the wording.
Update: With the official release, the references to Views and to div
containers where temporarily removed from the help text. Currently the help text looks like this:
When you create your links manually, you will need to add the class "beautytips-node" to the link. That is the only class required and the module will handle the BeautyTip loading internally. Your link could look like this:
<a class="beautytips-node" href="my-tip-node">My Example</a>
For the time being, I'd suggest to take the simpler text from the README and to add an example to it:
To use a node as the content of a BeautyTip, create a link to that node and add the class "beautytips-node" to the link. Example:
<a class="beautytips-node" href="/about">About us</a>
Reminder: let's complete the help text when the module works with Views and/or surrounding div
containers.
The title of the configuration page
admin/config/user-interface/beautytips/node-settings
(path may change in future) is "User interface" (parent configuration level), I guess it should be "Beautytips" or "Beautytips Node".It would be nice to add a short help text at top of the configuration page, providing people with the code which makes Beautytips Node tooltips working. Here's the respective information from the Drupal module page:
(I volunteer to improve the help text.)