This forum is for assistance with theme development.

Drupal 8: How to link an image field to a custom URL?

Hi. Do you know how to link an image field to a custom URL in Drupal 8? I mean, to link an image field to an external link or a anchor in another page, etc. In Drupal 7 you can use the Image Link Formatter module, but this module is not available for Drupal 8

overriding default display suite layout

Im using display suite and bartick theme
I have a new view mode created and assign to it a layout from display suite (1 column with wrapper).
I want to make custom changes to the template. Display suite suggest for me 4 choices :

Using a PNG as logo in Drupal 8 theme

In D8 the default logo is logo.svg - svg has som problems and I like to use a png instead.

According to the theming guide, https://www.drupal.org/node/2349803 svg is standard an you should use the GUI to set another logo. That is not realy an answer as we all like the theme to work when we install it (not look like a mess with a long you-have-to-do-this-to-make-it-work-list).

Omega without sudo access?

How do I develop themes using Omega if my shared hosting provider does not allow sudo commands? OS: Debian 3.2.51-1.

Drupal 7 SHS in views

Hello all,

Am using Simple hierarchical select module and am having terms lists like below;

India
- Karnataka
-- Bangalore

So, I want this filed as exposed filter in my views. Let me give example, assume if 3 nodes are selected "Bangalore".

So, whenever I select the "India" or "Karnataka" means it should shows the content which is selected as "Bangalore" in views.

How should I achieve this process?

Any configuration has to be done?

Can anyone please help me out in this case?

Thanks in advance

Additional field_image in search results, e.g. field_product_image

Background - customizing search results page to include images within different field types.
I have implemented images via search-result.tpl.php and template.php and can display images in the results. However I am struggling to show the different image fields I have within my site in those results, e.g. field_image, field_product_image, field_news_image.

print $url; " class="search-result-img-wrapper">

Pages

Subscribe with RSS Subscribe to RSS - Theme development