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

How to add a view for a custom table from database?

Hello All,

In my use case, I need to create a view which displays data from a custom table (table I created in the database).
Is there any module or any best practice to accomplish this?

I need the columns to be sortable and to be able to search within a specific column.
Thanks.

ubercart: draggable cart with file creation/download on checkout

Hello,

I need some ideas and hints if my idea would work or some advice of how to do it.

In the past I did a similar prototype with rails but that was way to much for me as a hobbyist,
but as simple CRUD system it worked.

Maybe drupal can help me with this.

What I want:

Please help with configuring xdebug for VS Code

Hi,

I'm a Drupal newbie and I don't understand what the following two lines stand for:

"/path/to/drupal/webroot": "${workspaceRoot}"

in the file on the following drupal.org site:

https://www.drupal.org/docs/develop/development-tools/configuring-visual...

hook_form_alter- custom submit handler does not fill form fields

Hi,
I am having issues with custom submit handler for hook_form_handler. 

In detail:

I have added new form fields to core module 'path' and added custom submit handler to update my new added form fields.
I have got success connecting database table 'url_alias' and adding new fields to it and save values into db. 
Now the challenging part is to save values in form itself. When I submit the form, I see db updated with new values.
However, new form fields are still blank without submitted values. 

export calendar / timezone error

i try to export my calendar in ical using date ical module but i got an error:

"DateTimeZone::__construct(): Unknown or bad timezone (1)"

This is the lines of code concerned

$start = new DateObject($date_field, $date_field['timezone_db']);

$end = new DateObject($date_field, $date_field['timezone_db']);

And:

$start->setTimezone(new DateTimeZone($date_field['timezone']));

Getting view fields programmatically

Hi Community,

I want to use some existing fields of a view, I can have these fields specially the id and label.

I have the view id.

Sorry if my question is too basic, thanks in advance.

Pages

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