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

Error in .install file. Problem in installing custom module

Hi,

I have created a custom form which stores the name of the book and the type of the book. I have created the mymodule.install file but I cant install the module. It shows the following error,

Notice: Undefined index: :normal in Drupal\Core\Database\Driver\mysql\Schema->processField() 

I have pasted the .install file, please let me know where the syntax error is:

<?php

Custom module installation error

Hi, 

I have created a form to store the book name and the book type. I have facing some errors with the .install file. Whenever I am trying to install the module, the following error shows up:

Notice: Undefined index: :normal in Drupal\Core\Database\Driver\mysql\Schema->processField() 

The following is my .install file code

<?php

/**
* @file
* Install, update and uninstall functions for the mymodule module.
*/

Drupal 7 user having trouble with Drupal 8 default page

I have done several websites with Drupal 7, so I am not a complete newbie.

Now as I am trying my luck with Drupal 8, for the first time ever, I made a very simple test module in Drupal 7 style, and tried to install it by following my trusted personal installation log, by which commands and actions I have successfully installed my Drupal 7 modules.

Creating a dynamic button / link beside a select element

I know (generally) what I want as my end result, but I'm completely lost in how to even approach this problem. I have a custom module that interacts with Webform in various ways, to include dynamically creating select values and text based on results in a database. The element itself is a "Custom Composite" element, with the select as one portion and users can add as many rows as required. I need to generate a hyperlink or button that will take the user (via a new tab) to a page that provides details about the selected Ticket ID (the url will be of the form: ~/page/{select_value}).

forum module problem

 Hi guys,

  1. i have installed forum module
  2. i have added 3 forum 

the forum appears as text....like this...

Forum  Topics Posts LastPosts

Traveller  0        0        0

country    0       0         0

City          0       0         0

Τhe table does not appear....I try to unistall and re-install the forum module withount changing anything.

Do you have any idea??

Thanx a lot!

Convert Pagination(theme_pager) to Ajax Pagination without any module

In Drupal default pager is act as refresh the page to list paged contents with pagination. We can change pager to Ajax pager with simple below javascript. The Ajax pager helps to load next page content instead of loading full page.

Pages

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