TransWikia.com
  1. All Categories
  2. Drupal Answers

Drupal Answers : Recent Questions and Answers (Page 2)

Find answers to your questions about Drupal Answers or help others by answering their Drupal Answers questions.

Using theme_preprocess_node i'm trying to add a class to all images on the page

My code below is not working and i'm not sure why. I've tried a few variants.according to the KPR variables output, the image I'm trying to access is here....

Asked on 12/31/2021 by TopTomato

1 answer

How to use Rules to prevent the creation of nodes if certain conditions are true?

I need this in Rules:When a node is being created (before the node is saved), and certain conditions are true, the user can't create the node, and...

Asked on 12/31/2021 by Drii7

2 answer

Fatal error while editing and deleting menu items

Facing one issue in deleting the menu items on my Drupal 8 Site. Steps to reproduce: Add a link to main menu. Create Child terms under one link. Delete the...

Asked on 12/31/2021 by ashutoshsngh

1 answer

Programmatic menu link for a view with contextual filter and no parameters in the path

Related question (my question is when contextual filters are NOT in the path): Generate menu links for a view with contextual filter and parameters in the path In...

Asked on 12/31/2021

0 answer

how to add attributes of the parent taxonomy in the DOM?

I am displaying a taxonomy "category" on a node, a view of that node ,and a search facet. This taxonomy has 2 levels. How can i add to the rendered...

Asked on 12/31/2021

1 answer

Field collection item not visible to anonymous user

I have a field collection, 'related content', that displays inside the 'page' content type tpl. It is a 'field' in the page content type. It works perfectly fine...

Asked on 12/28/2021 by kevindeleon

1 answer

Get Checkbox Value From Another Form

How do i get the value of a checkbox from another form/page and how do i make it so if the checkbox is enabled, it'll allow a button to be...

Asked on 12/28/2021

1 answer

How do I change the uploading image file name

How do I change the image name while uploading through a file uploading field? In drupal 8 whenever I add an image to a file field, it automatically uploads the...

Asked on 12/28/2021 by i am batman

1 answer

get value from content type B, in a view of content type A

i have a content type named songs. among other fields, it has a field named title of the song, which has as its field type the Node reference. i also...

Asked on 12/28/2021 by bapafe

1 answer

Twig Template print field - if not node number

I can print an image field in my node template like this:{{ content.field_big_image }}But can I say "print this field but not if the node number is node/45" ?...

Asked on 12/28/2021 by Juc1

1 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP