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

THIS FORUM IS NOT FOR "What module..." or module support questions-- it's for module development and code related questions.

The module development and code questions forum is intended to aid those who are developing modules or writing code for Drupal.

Please note that this forum is also not intended for "Is there a module that does..." or "I need help with module x..." questions. It's also not a place to ask developers to write your code for you. Please respect this.

Please do not post general discussions intended to target module developers. If the question you have isn't specifically related to writing a drupal module, please post it in a more appropriate forum.

  • If you you have drupal installed already and are seeking a module that does a specific task, have a question about a specific module and what it does or if it will fit your use case, please place your questions in the Post installation forum.
  • If you have a problem or question about a specific module, you should create an issue in the module's issue queue (after checking for an existing issue first).
  • If you don't have drupal installed yet, please place your questions in the Before you start forum.

views natural sort module issue


I installed views natural sort module and just after that i saw the following notice,

Notice: Undefined property: view::$exposed_data in views_natural_sort_handler_sort->query() (line 31 of /home/content/42/10617942/html/sites/all/modules/views_natural_sort/handlers/

plz help me.


Adding a variable to a node url

I have a Drupal 8 website with a URL like What I have done is add a variable to the URL, making it like

Create PDF file from a from data enter

Hi! I am new in drupal development, and i need some help.

I am traying to develop a module, that creates a PDF file, after y enter data to a form.
I downloaded PRINT MODULE but i dont find documentation about how use this module. Also i saw videos in youtube but it was useless for me, i suppose that is because i am new.

If someone could help me with some documentation or example i'll be grateful


Course tags and stakeholders

I am very new to Drupal and having to pick it up quickly here at work. I have a problem that I've been stuck on for half a day.

My question is: Once a specific stakeholder group in the "at a glance" box section has been tagged, the course should show up on that stakeholders page. I have 2 new courses that are not showing up, and courses that have been there a while are showing up.

How does this work? How can I get the courses to show up when tagged by the stakeholder?

Clearing cache of pages, where specific block is displayed

I need to clear cache of all pages where i inculde my custom block. A bit search gived me idea how to clean specific page cache, but i dont understand how to get list(array) of pages from visibility settings field to cycle it.

Thats how i clean cache for now:

  $url = url('<front>',  array('absolute' => TRUE));
  cache_clear_all($url, 'cache_page');


Subscribe with RSS Subscribe to RSS - Module Development and Code Questions