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

Calendar Systems

I tried searching around a bit for this,

Has anyone developed a calendar system for Drupal similar to ExtCalendar 2? Or, has anyone installed ExtCalendar 2 and had it work well with Drupal?

Adding a field to a node and storing its value

Hi

I am using 4.7.0-beta3 and I want to add another textfield to other nodes, say "page", then add to the edit form and save it into a table I created. I think it should be pretty simple but I've missed something and would really appreciate an expert looking over it quickly - should be obvious.

I use nodeapi and form_alter hooks as I understand it - the field I want is a syllabus field for a page so I have done the following:

function fhsstadmin_form_alter($form_id, &$form) {
if (isset($form['type'])) {
$node = $form['#node'];

if ($form['type']['#value'] .'_node_settings' == $form_id) {
$form['fhsstadmin'] = array('#type' => 'fieldset', '#title' => t('Syllabus'));
$form['fhsstadmin']['fhsstadmin_options_'. $form['type']['#value']] = array(
'#type' => 'radios',
'#title' => t('Syllabus'),
'#default_value' => variable_get('fhsstadmin_options_'. $form['type']['#value'], 1),
'#options' => array(t('Disabled'), t('Enabled')),
'#description' => t('Choose whether syllabus should be shown or not.')
);
}

if ($form['type']['#value'] .'_node_form' == $form_id && variable_get('fhsstadmin_options_'. $node->type, 1)) {
$form['fhsstadmin_syllabus'] = array(
'#type' => 'textarea',
'#title' => t('Syllabus'),
'#default_value' => $node->syllabus,
'#cols' => 60,

Voting control member

Hi,

I have setup the voting module for the image gallery and members can vote on images.

I would like to control the number of times a member can vote. for example, members can vote only once or for 5 pictures, etc.

All comments greatly appreciated.

Thanks, Darly

help with blog.module hack?

I am looking for a little help to modify the blog module (4.6.5)

When you are in 'list' view, eg: http://mysite.com/blog or http://mysite.com/blog/99
...it shows a teaser. I want to change this so the full node prints here, as it would for a 'normal' blog.

Has anyone successfully done this?
Willing to share your code?

Additionally - does anyone now if this functionality was implemented for 4.7?

Thanks in advance to anyone who can help.

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!

Pages

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