This forum is for assistance with theme development.

my sidebar hides when the user is authenticated

hi all! i have a problem with my drupal instance. i want to show some blocks and info in my first sidebar ( right sidebar), but when the user logs in, both sidebars ( left and right) doesnt show up). i can see on anonymous user,

my blocks shows on all pages, for all the roles. i searched on page.tpl file, and its supossed to show the sidebar, but no.

any idea? am i missing some kind of configuration or file?

thanks in advance!

Different Advertising code for category and page

How is it possible to use different Advertising code for category and page?

At the moment I can set in taxonomy/category at 'Werbemittel' something like advertising a JS code. So the advertising will be used on all pages in that category.

But I also like to add a 'Werbemittel'/advertising an single pages. For that I have added a fileld on the page where I can add the jS code. But that JS code is not shown. How can I tell Drupal that on a page he should use my JS code for the page?

Add picture at left title Bartik

Hi,

i want to add a picture a the left of the title on my drupal 8 website. I don't know how to do it in the template folder, on the block-system-branding-block.html.twig

Someone can show me ?

Thanks !

Block's border Bartik D8

Hi,

i'm adding pictures in blocks at the bottom of my drupal 8 website. But my bottom as a color brackground and we can see the block limits, the borders... Like a blank line. Why and how can i remove them easely ?

How Do I Change Node Class On Expire Date

I'm Developing a Coupon website using Drupal 8 and really enjoying playing with Drupal 8. However, I've created a node type called deal and added a date field named expire. Now I want to change or add class when the node reached the expire date so then it will be automatically marked as expire by changing node class from active to expire.

How do I create the functionality whether programming or using modules?

How to render a custom field using a formatter in twig when hidden from content display

Hey,

I have a custom image field and would like to use the colorbox field formatter to render the image in a a node twig template.

The field is hidden from the content display for various reasons.

Any idea how to render the image in twig using the colorbox formatter?

Alternatively how to get the D8 color box module to open an image specified in the href by adding a class like you could do in D7?

Thanks heaps.

Pages

Subscribe with RSS Subscribe to RSS - Theme development