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

How do I send mail to specific user when node is created?

Hi Drupal People:

Here’s the Scenario

I’m building a website for a gymnastics school. Their clients/users are parents, who sign their kids up for various gymnastics levels.

So, a parent registers an account and adds her kid(s) with corresponding program levels (i.e. Level 1, Level 2, Level 3, etc) directly into her user profile.

The school makes frequent program announcements such as practice times and locations. When they create the announcement node, they need it to be auto-mailed to parent who have kids in the relevant classes.

Drupal 8 currentUser wrong data

If I login with some user I get other uid from the code below, I dont know what happen I have to clear the cache all time.

example, if i login with john (user id is 6 the code below return the uid for the last user logged before)

$uid = \Drupal::currentUser()->id();

how can i fix this problem

Maybe i have to clear the cache for the user

Suggestions for setting up a shipping package register website

Hi all,

I was a drupal user a few years ago, switched to wordpress for a while, now I come back to Drupal family!

I have a package shipping store and want to set up a website so that my clients can register their packages when they come to my store to ship them.

I will create two types of nodes:

The best API to use?

Hi everyone. I finished a slideout contact form in js, css, and html, that sits on the left of the screen and slides out for people to contact you. I'm a little lost on the next steps though. I need to create a module for custom fields so I can edit content types and add those fields to them so users can fill out the options and have that render the correct DOM elements. Where I'm lost is how do I translate those fields into the respected DOM elements on the node.

Drupal and SEO

We are looking to move to Drupal and one of the considerations is the on-page SEO. Any thoughts pointers please

Created my first issue, but not shown on dashboard or issue queue?

Last night I reported an issue - it was my first time to do so. The module was webform, if that matters. I believe I carefully described the problem, how to reproduce it, and the commit that introduced it. I also offered a diff with a solution that seemed to be working. But now I don't see the issue on my dashboard, in the issue queue for webform, or any message in my email telling me there was a problem.

Pages

Subscribe with RSS Subscribe to RSS - General discussion