This forum is for assistance with theme development.

Use Hook or EVA to reference taxonomy within paragraph - SOLVED

Hello Drupal users,

New to Drupal and I need help with this new feature I'm trying to port from my old website.

I've created a new "Film" content type with a "credit" paragraph which works like this :

  • Film
    • Paragraph "Credit" with two fields :
      • "Job" Taxonomy (eg: "Director")
      • "Person" Taxonomy (eg "John Smith")

A film can have as many "Credit" paragraphs as needed.

Create credits for content - SOLVED

Dear Drupal users,

I'm migrating several websites from a self-coded solution (mysql / PHP) to Drupal 10.

It's working great but there is one thing that I can't achieve and is holding me back:

I'd like to create credits for my new content type "film" that I've created.

A credit is composed of a name (John Smith) and a job (Director). And I'd like to have several of those for each film post.

How could I achieve this ?

[Advice]Junior Drupal Dev attempting custom theme Login and Registration Form.

Hey Guys,

Taking on a new task to improve my theming and overriding skills.

I was given a design for the Login, Registration, User Profile and Password Recovery Pages.

I would appreciate it if someone would guide me on the steps I should take to add/ remove fields, change layout, etc, on those various forms.

I have already used the THEME/MODULE_FORM_form_Id_ALTER() Hook, so I have a basic idea of how this hook works.
I'm not sure if I should be even using this hook for this kind of task but I would appreciate any direction.

The most important question - drupal 10.0.2 theme

Hi, 

there I have a very important question. There is the newest version of Drupal 10.0.2 which use version 8.1 or higher of PHP. 

I have checked many templates/themes from the previous version 9.4.5 etc...

And was very surprised, because many of them are not compatible with the newest Drupal 10.0.2. The problem was not with installation themes, but later with adding modules, composer2, and setup setting from the CMS panel (for example ZIRCON - problem with logo, can not add). In one word themes do not work. 

[Solved] Overrided views exposed filter does not display special chars in select options.

I recently overrided a views exposed filter by converting some textfields to select.

The problem now is html special characters won't display on screen.

E.g

Code
<option>$1,000,000</option>

Expected Display
$1,000,000

Actual Display
1000000

The '$' and ',' is removed..

I have even tried htmlentities() but no luck there.
I even tried adding the html code directly

Anybody has any idea what I should do.

Here is some of the code:

[Solved] Junior Drupal Dev attempting to overide a form - textfields to select

Hi guys,

I'm just looking for guidance on how to make some changes to a form..

A client wants a form with select options only.

The fields that are generated from taxonomies give you the option for a drop down, So I'm good here.
However, a few of the form fields by default are text fields.
I've looked into a module solution but better exposed filters don't have a dropdown option for input fields.

What I have done so far?

Pages

Subscribe with RSS Subscribe to RSS - Theme development