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

How can I open a create content page in a block

Hi,

Is it possible to mix frontend and backend masks ?

I have a content type "books" and a content type "my review" (can be used by loged-in blogging persons).

I want to give blogging persons the possibility to write there new review below the shown book.

How can I open the create page for a new "my opinion" as a block below the shown book on the front end page?

How can I reference the "new opionion" backendpage in the blocklayout.

Any help appriciated.

Error with Commerce Price and Address Libraries

Hi all,
I’m encountering errors related to missing libraries in Drupal:
Commerce Price requires the commerceguys/intl library.
Address requires the commerceguys/addressing library.

In composer.json, I have:
"commerceguys/addressing": "dev-master",
"commerceguys/intl": "^dev-master"
I've run composer update and cleared the cache, but the issue persists. 
Any other steps to fix this?

Override style from Theme in my custom module

I want to style my custom module and my css is beeing overriden by Claro Adminstrator Theme. I added this to my *info.yml file:

libraries-override:
  claro/global-styling:
    css:
      component:
        css/components/tables.css: assets/css/backoffice_forms.css

It's not working. What am I doing wrong?

Thanks

Override views field template with rendered value of another field.

If I need override views field template with value of another field,

i write in 

views-view-field-VIEW-NAME--DISPLAY-NAME--FIELD-NAME.html.twig

this code:

{{ view.field.ANOTHER-FIELD-NAME.original_value }}

It's works, but what if another field have option
Override the output of this field with custom text.
 

How to get this custom text in 
views-view-field-VIEW-NAME--DISPLAY-NAME--FIELD-NAME.html.twig
?

Change hook_schema to another database connectiom

Hi have two databases and i cant use the second one when i use hook_schema in my install file:

Custom fields on admin product page - Drupal 7

I'm new on Drupal.

I have successfully added several fields to the product page in the admin panel, but I cannot save the values ​​to use them in the future. What do I need to do?

$form_state->getFormObject()->getEntity() does not work in Drupal 7, similarly to $form_state->setValue() and $form_state->getValue().

What should I add to the code for this to work? How i can save values from this select fields?

Pages

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