This forum is for less technical discussions about the Drupal project, not for support questions.

Drupal 9 Date field

Hi, im on Drupal 9.2.3 clean install and i want to know how to show or create a search dropdown date field (years only) on a View as exposed filter, i tried but only got a date text field. Help pls

how to create "redeem your key" feature similar to Humble Bundle with Drupal?

Hi.

I have been wondering this for quite some time while working on my current shop website.

Myself, I am using Commerce and Commerce License for selling license keys within files.

But I have been wondering how would you, those who are more experienced with Drupal. Implement something like Humble Bundle has, but with Drupal. Commerce License technically lets me sell license files, but from the UX perspective, I am wondering what could make it work in the way things work at Humble Bundle.

Styling exposed filter dropdowns

I've been trying to figure out a way to make my dropdown items in my exposed filter inline. So I recently came upon some CSS that did the trick:

.form-inline {
   display: flex;
   flex-flow: wrap;
}

Only issue is, the styling disappears specifically when the exposed form results are empty.

Meaning the styling only works when there are results, and disappears when there aren't.

Anyone have any experience in this that could help?

I'm using a Bootstrap Barrio 5 custom theme.

How can I pass some data through the form after ajax callback?

Thank you in advance!

Hi, I have created a form of table that displays the scores of students. I am trying to save the node IDs of the scores that have changed. So, I used

#form['#scores']

to save it. However, when the ajax callback function is called, the data is reset after it is done.
Below is the code that I wrote.
I am wondering if there is any way to disable the ajax callback from resetting the form each time.

Creating View from Two different display from two Taxonomy Vocabulary

Hello,

I have spent two days and can't figure it out how to create view with different displays of different taxonomy vocabulary.

I want create view for category and subcategory.  There is no valid trusted module. People say us Hierarchical Select but it says Use at your own risk!

Actually I am trying to build a Taxonomy vocabulary called "Category" and another one called "Sub Category

Subcategory vocabulary has a field called "category" 

Summary of question

How a newbie should be architecting their site to prevent hours of refactoring.

Hello everyone, how should I be architecting my site so I don't have to dig myself out of a hole later?

I know as a newbie I'll be doing frequent design changes as I learn new things. I've experienced the pain of refactoring code and I don't want to repeat the same thing for hundreds of articles when I start fully utilizing Drupal.

Should I be making focused articles and a scalable taxonomy to tie topics together?
Should I be inputting full articles or smaller articles like in tiddlywiki that are strung together into a single compound article? 

Pages

Subscribe with RSS Subscribe to RSS - General discussion