Early Bird Registration for DrupalCon Atlanta is now open! By registering during our Early Bird Registration window, you’ll save $100. This window ends on 19 January 2025 and will go by quickly, so don’t wait!
Hello,
I tried to set links to the user (front)-page using this code in the module the "custom_simple_menu.module" file in my module structure. Uunfortunatelly no link appears.
What do I have to change in the code?
Thank you
Peter Winkels
<?php
/**
* @file
* Contains custom simple menu module.
*/
/**
* Implements hook_menu_links_discovered_alter().
*/
function custom_simple_menu_menu_links_discovered_alter(&$links) {
I have custom content-type with 'image' type field. I want to render it into my custom block (by adding my own <a href> and <img> path). The problem is that I'm lost on how to get the URL to the image. Here's what I've tried:
I am working on a project that shares some content types with another project. I have configuration splits set to include content types for my project. This has been working fine until recently.
I created a branch and ran a drush cex to view the files I would be exporting. They all looked good. Then, after I said 'yes' to the prompt: The .yml files in your export directory (/var/www/html/config/default) will be deleted and replaced with the active config. (yes/no) ive config. (yes/no) [yes]". There are over 150 files that are similar to this:
I've been working with my scss and css files. I first started using a css file in order to check the styles on the website, but now I think I really should use scss files to create my css file, as I change things.
I added the scss files under the scss folder: _main.scss and _fonts.scss
In the theme-custom-styles.scss file I added references: