This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Sharing data between .tpl files?

I am working on a Global module and thus cannot access it's core files. I can, however, duplicate its .tpl files and alter them.

On these .tpl files I can retrieve and display data from the module's array, eg:

print render($element['store']['name']);

I want to add a new item to that array, so I made:

Rules: Get value in node after saving comment

Hello everybody.

I would send an email after saving a comment, with a comparison of a node data.
When you create a new node, you can choose the contact in a list.

I would like when the creator of the node posts a comment, the contact receives this email.

In my Rules:

-EVENT:
After saving a comment

- CONDITION:
None

-ACTION:

If the selected contact is "person 1" then sent email person1@support.com

Payment Form And Commerce In Drupal 8

Hello,

Looking to try and move all future work to drupal 8. Most work I get asked for is covered, however, I'm not sure about payment and Drupal 8.

The context would be:

1) using webform, taking payments through paypal, payment gateway etc. Simple payment form really.
2) An e-commerce shop. It looks (*) like commerce isn't ready yet but maybe others can correct me on this?

My question is are these 2 pieces of functionality available in 8?

Many thanks for anyone who takes the time to reply, it's appreciated.

Undefined constant error hook_schema

I have this code, obtained from the Inspect tab of the schema module:

Problem with custom insert in custom module with normal user role

Hello friends,

First of all I apologize for my level of English.

I request your help because I have a problem with a custom module that I created following a tutorial.

With the administrator everything goes me perfect but with a normal user it gives me error in the following instruction.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions