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

how to disable image deletions

I want my users to upload images... but not delete them.

How do I configure Drupal so no images can be deleted ? Supprisingly the permissions don't let you disable image deletions.

This seems to be a image.module issue

Marcel
http://businessletters.com
http://www.macminiforums.com/forum/

which module I should choose?

I want to publish the web contain a video (*.avi,*.mp3 and so on )
I have download the video.module,but I found it not useful.when publish a web ,
user must fix the file's size,(video.x,video.y).maybe,I didn't understand hoe to use the module .
so I want to know is there a suitable module for me ,able to play the video on the web?
thank you in advance!

GoogleMap

I installed the modules about location, googlemap, googlemapsfornodes; It seem work!
But I don't know how to start it? How to use the API?

Have any information would talk it for beginner?

Thx

Fatal error: Call to undefined function: drupal_get_form() location.module

when i tried to use "search" "by location" feature..it gives error..

Fatal error: Call to undefined function: drupal_get_form() in *****/drupal/modules/location/location.module on line 99

can somebody tell me how to get rid of it...

Also can somebody tell me how can i assign/map a "page" to a "location".

--rafi

Interaction between tablesort_sql and other forms

Hi! I'm trying to develop a module which allows people to view a list of users with the data from their profiles in a sortable/searchable manner. I also want people to be able to control what fields they see. My idea is to create a page that would look something like this:

Fields to display:
[X] Last name [X] First name [X] Email [ ] Phone number  [Change visible fields]

Last Name V    First Name   Email
LN1            FN3          ...
LN2            FN2          ...
LN3            FN5          ...
LN4            FN1          ...
LN5            FN4          ...

I'm not worried about searchable right yet — I'm still trying to get sortable working. It sort of works — I can use the form above to change the visible fields, but then all the sort information is lost. And if I use the links at the tops of the tables to change the sort information, the displayed fields is lost. Somehow, I need to be able to take the current display information, and insert it into the links generated by theme('table', ...). I also need to take the current sort information and save it across calls to the separate form.

Cache issue with cache disabled

Hello there,

Some of my site's users, randomly, are getting this error message:

Duplicate entry 'menu:2:en' for key 1 query: INSERT INTO cache (cid, data, created, expire, headers) VALUES ('menu:2:en', 'a:3:{s:10:\"path index\"; a:164:{s:11:\"admin/block\"; s:1:\"2\";s:16:\"admin/block/list\"; i:-2;s:21:\"admin/block/configure\"; [...]"admin/comment\ in /var/www/includes/database.mysql.inc on line 66.

Even if cache is disabled, what doesn't make any sense for me.

Pages

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