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

How do you create Custom form types?

I'm fairly new to drupal, not new to PHP. I notice a very common pattern in module development when creating form inputs of various types:

$form['formname'] = array(
'#type' => 'checkbox',
'#title' => t('Overwrite'),
'#return_value' => 1,
'#default_value' => false,
'#description' => t('Overwrite the file if it exists.'),
);

FlatForum picture question

I just installed the FlatForum module on Drulpal 4.7.0. I had some problems with combining the template.php (there were two function _phptemplate_variables which resulted in an error), but I think I got it to work.

However, I do not see the avatar picture below the user name in a post. When I click on the user name I can see the picture, but not in the forum. In the node-forum.tpl.php I can see the code:

REST API

Has anyone looked into useing Drupal to provide a REST API for end users.

seems like it would be fairly clean and easy to do.

I was looking into a module that would allow me to pick a node and what fields could be exported for a REST url.

say I have a node like a playlist.
I could create url http://www.example.com/REST/view/playlist
and then pick the fields to export such as
Title
Artist
Genre
Year

Getting Image/Img_Assist and FileManager to Work Together

Hello everyone,

I have Image and Img_Assist installed on my 4.7 site and I am quite happy with the way they work together. However, I am concerned that the way Image files are currently being stored--all in the same directory--will become a major problem for me once we pass a threshold of several hundred images.

I did consider switching from Image to Acidfree, as it works with FileManager, but I'd rather not go this route as it does not work well with Img_Assist, and I don't really need the extra functionality it offers.

Can I Add 1 Field to a View?

Has anyone added fields to the view module. I need to display the body of an event to the list view and would love to see an example if anyone has done this before.

THANKS!

Problem Localize Forums

Hello

I have been translating forums to finnish , i have manage to translate allmoust all of content, but now i have a little problem how can i translate on to of forums page http://127.0.0.1/?q=forum "Forums" text to another.

It dosen't translate with localization tool.

Pages

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