- Issue created by @ressa
- 🇦🇹Austria drunken monkey Vienna, Austria
Do I need to add a "Custom value (custom_value)" field?
Yes, exactly.
- Status changed to Needs review
10 months ago 11:19pm 16 January 2024 - 🇩🇰Denmark ressa Copenhagen
Thanks for confirming. I just tried the feature, and it works really well.
After you click the "Custom value (custom_value)" button on the index page, this is the help text under the field:
Use this field to set the data to be sent to the index. You can use replacement tokens depending on the type of item being indexed.
Perhaps we can give a hint where to find the tokens, maybe by adding this sentence?
You can install the Tokens module and see available tokens under
/admin/help/token
This would be quite helpful for inexperienced users.
I created a page in the documentation, and added a link under "Proposed resolution" in the Issue Summary.
Perhaps you can review it, and add it to the menu?Feel free to add extra text about other methods to use this field (apart from using tokens) since I am not sure how that can be done.
- last update
10 months ago 545 pass - 🇦🇹Austria drunken monkey Vienna, Austria
I’ve added your tutorial to the documentation, thanks!
Linking to
/admin/help/token
is also a good idea. However, that page is actually only available if you have both Token and Help installed. The attached patch adds a link in that case. Otherwise, do you know of any documentation page explaining the Token concept in general, as used in Core? - Status changed to RTBC
10 months ago 11:34am 5 February 2024 - 🇩🇰Denmark ressa Copenhagen
Thanks! The help text with link to Token help page in your patch works perfectly, and is only shown when both Help and Token modules are installed.
There is https://www.drupal.org/documentation/modules/token → and sub-pages for Drupal 7, but the differences are probably too big to use in Drupal 10, and an updated version required.
-
drunken monkey →
committed 8876c7ae on 8.x-1.x
Issue #3414348 by drunken monkey, ressa: Improved the description of the...
-
drunken monkey →
committed 8876c7ae on 8.x-1.x
- Status changed to Fixed
10 months ago 4:13pm 6 February 2024 - 🇦🇹Austria drunken monkey Vienna, Austria
Good to hear, thanks!
Merged. Thanks again! Automatically closed - issue fixed for 2 weeks with no activity.