Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
The Pierre Elliott Trudeau Foundation is a charity that was established in 2001 to honour the former prime minister of Canada. Its core mission is to grant doctoral scholarships, award fellowships, appoint mentors, and host public events. The Foundation partnered with Evolving Web to refresh its branding and to launch a simplified and modernized website to attract new talents, sponsorships, partnerships, and donations. Keeping everyone up to date with the right information at the right time means significantly increasing the awareness of the Foundation's values and contribution.
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.