I have been asked to work on website personalization. Basically I have to save the selections that the logged in user made in the website, so that when they log in again they dont have to make the same selections again. I have to all this programmatically.
Could you please help me how should I go about it? Any resources would help.
We have Drupal 8.8.5 running on CentOS Linux 7 with PHP 7.1.33.
Was trying to update modules using composer. Composer said they were updated, but when I went into program, they weren't. In troubleshooting, I deleted the "vendor" directory. Now, I get this error:
[root@ip-172-31-13-94 master]# composer update --with-dependencies Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
I have a custom module that builds a custom menu depending on an attribute of the node for a basic page. If $nid = 10, then a custom-menu-10 needs to appear in a region for that page. If $nid = 11, then a custom-menu-11 will appear in that same region. In D7, we just threw the custom menu into a menu_tree_all_data and used $variables['my_custom_menu'] to place the html in page.tpl.php.
To learn more in the new D8 theme API, I've created a custom block in mymodule which has the code I need to determine the node-id() and instantiate the custom menu.
Hello
I am having an issue of embedding google maps to the body field of block, whenever i try and copy/paste the code which is iframe, nothing happens, i tried everything, using full html hitting source before saving doesn't works either, i have tried everything and nothing seems to work, any idea or anyone else is experiencing the same problem?
I've got a custom module that takes the email address from a form and inserts a link in the email handler (via a token) that when clicked on goes to another webform and when submitted sends the reply to the original email address.
What I'm trying to do is pass the submitted values from the first form in to this link but it's not working: