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

security issu

Sorry for my english,

I have drupal 7 installed with last update.

When user want to open an account the administrator should activeted his account.

But i see something to day. I have a user that ask for open an account, and juste after that he ask to reset his password.

Result, his account was activeted without the permission of the admin.

Can you help with with that problem ?

Thanks

view_mode doesn't work

Hello.

I'm in charge of the website of my highschool lycee-marchal.com  that was built with Drupal : version 7.65 today, with the theme Mentor

I have a page where the code is :

[[nid:21 view_mode=teaser]]

[[nid:321 view_mode=teaser]]

[[nid:22 view_mode=teaser ]]

[[nid:56 view_mode=teaser]]
and it worked until last week, when I changed, in the second line, the nid 23 into 321. nid 321 is a new page.

Change view modes for child entities?

I have a content type of "doctors" which has attributes and we use view modes to change how this entity is displayed.

For Drupal 8, I need to also show different forms of directories for these doctor entities. In my module I can query the doctor entities dynamically but I don't need all the fields to show.

I thought I could create an additional view_mode like a teaser and use hook_entity_view_mode_alter() to change the child doctor view modes, but the more I look at it that function will only affect the parent directory content type view mode and not the child entities.

Chrome issue: Unable to prevent Default inside passive event listener

I was looking for a solution for "[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See <URL>" but was not able to get a solution for drupal (7).

duplicate managed file being renamed, but original name returned.

Hello Friends,

I am trying to upload a image via a managed file,

Modify a view filter depending of the user

-I have created a custom module with custom entities in drupal 8 site. A user role "admin", give access to a view of entity. The view has a filter field "region" exposed. This user has a field "region" in this account.

For the role "admin" only, I want to set the filter in the view depending of the field "region" of the user.  I notice that in the field data I can use ['expose']['reduce'] = "true". It's probably reffered to the option in the exposed filter " Limit the list of selected items"

How can I tell to the filter to limit value to the user field "region"?

Pages

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