Tagged Questions
2
votes
1answer
133 views
Query result to display in Views
i have created a custom view. its just showing nodes of a particular type. Now i want to do something with it. I am writing a SQL query:
global $user;
$query = db_select('challenges','c');
...
0
votes
1answer
106 views
build custom field in comments in drupal 6
i uses drupal 6 and i created new module.
i want to add a custom filed in comments form programmatically.
but i can not save my data in database .please help me
function ...
0
votes
1answer
56 views
Alter a view so it adds a custom field ->textbox
I have a bit specific question.
I have a content type->TESTS
it has the more or less the normal fields.
There is a view that displays all of the tests. So far,so good.
But the requirement is to add ...
1
vote
0answers
97 views
Saving form data and running custom queries in mysql
I'm new to drupal and although I've researched and asked some questions I'm still stuck on how I can achieve my end result.
I have built a php/html/mysql website (www.gbpokerclub.co.uk) but I now want ...
0
votes
0answers
79 views
Drupal 7 site crashed after enabling module - No DB backup. What do?
I enabled the blog module on a website, after that the site crashed.
The error is the same on everypage:
Catchable fatal error: Argument 2 passed to
entity_views_field_definition() must be an ...
0
votes
0answers
36 views
problem in saving Account settings [Email template]
when i tried change some words in email template that was sent when user register in the website or canceled or verified or ... etc
after i change it i have an error in saving it
i tried to build ...
0
votes
0answers
30 views
How to insert the record by default on distributing the module
Im developing the custom module in drupal 6 .
Inside the custom module development ,i have created one .install file and wrote the database schema inside it using the _schema() hook function.
The ...
0
votes
0answers
55 views
Custom Dates (module) not recognized unless I save at /admin/settings/date-time/formats
I have a little Drupal 6 module that inputs some custom dates and after I enable the module, it all looks good from the UI at /admin/settings/date-time/formats However, if I try to leverage any of ...
0
votes
0answers
23 views
How to create custom weights for users
I'm trying to figure out a fairly doable way to have users assign
custom weights to content types. Imagine a jump menu with 100 links
with some being more important to users than others, hence all ...
0
votes
0answers
404 views
Migrating database from Mysql to SQLite in Drupal7
I want to convert my site's database from MySQL to SQLite. So i got the DBTNG-Migrator and tried using it. I changed the settings.php files as follows -
$databases = array (
'default' =>
...