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.

Issue with ssortable table

Hi

I am trying to get a sortable table to work but I just cant get this to work, the form is being called but it doesnt display as a table so im guessing the hook_theme() isnt working but looks to me like it should, can anyone explain why please as im sure this should work.

Thanks

Weird permissions problem

I have searched extensively for some insight on this and don't even know if this is the right place to post this within the forum but I hope someone can get me pointed in the right direction.

I have a strange permissions problem with a D7 site.

I have a node type that uses two Entity Reference drop-boxes for input. Both Entity References are created within the same View. The only difference between the two is that one uses Aggregation to develop a count of each item on the Entity Reference list.

How can I filter a view with a date text string?

Hello,

in a drupal 7 system I have a content type documents. One of the cck field within documents is "printed" containing a date string like 2016-12-17. Unfortunately it is a simple text field, not a date field.

I also have a view documents_1 showing documents. What I should do now is to create an additional document view filtered by the value in "printed". Example: list all documents printed before 20th of January.

Setting row count for textarea in Entity

I have an entity defined. And on the BaseFieldDefinition I'm trying to set the height of the textarea by rows. But I can't seem to get that to work. Am I going about that the wrong way?

Correct way to use inc files and how to call them

Hi

I am trying to add some inc files into my module to make it all a bit cleaner

I have my module file where I am keeping all my hooks into Drupal, a meetings.pages.inc file where Im storing the functions to render my pages, and in my pages I am calling forms as I need them which id like to keep in my forms.inc file,

So I want to be able to call functions in the meetings.forms.inc file from the meetings.pages.inc file

Pages

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