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

Active directory single sign on ?

How to implement login into drupal site using Windows Active Directory credentials ?

Thanks & Regards,
Ramesh S

Website messed up when logged out (fine when logged in)

Hello guys,

When i login my website the website shows normal, but as soon as i log out the right sidebar floats to the left etc and the website looks completely messed up.

how do i debug something like this?, where to start?.

greets slim

dynamically hide field in entity bundle field Drupal 8

I have content type landing page and a sub-component entity reference field in that content type.

This sub-component entity field have 1 or 2 bundle so user can select one bundle. I select leadership hero bundle and leadership hero budle have 4 fields.

My query is I need to do some hide one of this field based on some field in same bundle ? Is it possible to accomplish this using #states feature. Or should I do this with Jquery ?

How class works?

Dear friends,
can someone explane how classes works in Drupal ?

For example how know wich class used for get field's info from view?

Thanx a lot

tab character added in header

A tab character is added as first character in the output when using header or drupal_add_http_header in a module.
like:

$file=file_get_contents($file_path);
drupal_add_http_header('Cache-Control', 'max-age=0, must-revalidate');
drupal_add_http_header('Content-Disposition', 'attachment; filename="' . $file_name.'"');
drupal_add_http_header('Content-Type', 'text/xml');
drupal_add_http_header('Content-Length', $file_size);
print $file;
drupal_exit();

Alter custom menu links with a session variable

Hi,

I've got a new problem, searched everywhere but was unable to find a solution.

I'm quite new to PHP / Drupal.

To explain :

I would like to use a session variable (got from a form) in my custom menu links, like this :

/path/{year}

So,in a module I have routes and links defined this way :

Pages

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