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

inline <svg>, <g> removed when using TWIG in view textarea

Hi,

I'd like to add svg inline images in Views > Header > Global: Text Area (<svg> <g> etc.)

It works fine so far, but I also need to add some TWIG conditions. As soon as I activate "Use replacmeent tokens from the first row" all svg html tags are removed.

How can I use svg inline html tags and TWIG in the view header textarea?

Thank you!

How to translate a content type in drupal 8

Hi friends
I've created a page using drupal 7 and i installed a module to translate my content type,
something like this:

Img 01
Img 02
Img 03

(Sorry I can't attach my screenshots so I had to add a link to my image, if you know how I can attach those images I'll appreciate it)

and for each translation have a url like this:

baffled... every page load triggers an unwanted browser print ...

developed a website for a client in a staging account, all went well

the site is ready for production, so I upload the files, import the database, adjust the settings....  no problem, the homepage displays just fine.  Nice....

then I start testing the site in its new location, and the first page I try to visit invokes the print preview window.

second page too.

...

all the pages, except the homepage, display this behavior.  Every time I click away the print preview dialog, it reappears immediately.

this makes the whole website unusable.

Problem to access User Object after loading Users by a list of mails

Hi Guys, I'm developing a module for live event (just for the context).For subscribers, I need to assign them in a role. 

I need to develop an administration tools to assign a specific role to a list of users. 

My schedule and problem is : 

I have a list of email to copy/paste
I choose the Role
I submit

In my process code : 
I load a user by mail
If exist -> Assign the specific role to the user
If don't, I send an email to the person to ask him create an account on the website (not implemented yet)

Delete an Item in the Text List

I have a text list field with these elements
E | Exam
R | Review
T | Technique
I need to delete the line
R | Review
but the system replies that it is used in the Database and it is not possible to delete it.
Is there a way to do this?
I also need to change the Movement Type from R to T
I thought of Filtering the movements with getStorage and then with foreach modify the data

How to edit add/node fields

I have 37 fields that I need to have visitors be able to fill out. (lab test results) I can't find information on how to format that node in a way where it isn't a giant laundry list of entry points. I'd love to get them setup in a table or even a grid for the data entry to match up with what the lab results look like.

Very new to Drupal but getting the hang of it pretty fast.

Thanks in advance for any help you can give me.

Pages

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