I have made a custom module for a text field. At first it shows a text like "Show more", after the user click the text it changes to a Telephone Number with Jquery and the telephone becomes a link. Then, if the user click the Telephone number it opens the phone app to the smartphone. Furthermore, I count how many times the text is clicked by the users. This is where the trouble begins, if I have only one value on the settings all this works fine but if i make it unlimited the js don't work. Can anyone help me?
I'm currently developing an API for syncing user Data with a third Party System.
Apart from Syncing the User data, the user should be able to login to our Drupal System by clicking a button in the third Party application. Since we cannot sync the user passwords (they are only stored hashed), the Authentication is done by the third Party application. The application the authenticates itself to the Drupal System by hashing the request with a Security token.
So I have a Drupal 8.5.5 with a View with a single Block display. This block has an exposed input set. I recently learned that the exposed form will not appear unless you configure the Block to use AJAX, which doesn't suit my purposes. Therefore I'd like a way to set the Exposed Input manually via a hook (or some other means).
I have tried populating the exposed input via several hooks, but none of them are influencing the results of the block, they just appear to be ignoring it. Enabling AJAX on the Block does work, but like I say this does not suit my purposes.