Form API - Theming, Form is not passed to themefunction/$form is just an empty array.

Hello everybody.

Currently im coding an admin interface for a module, which deals with image_filename insertions and custom menus.

Therefore i create a lot of forms. The current one should be displayed formatted within a table. To achieve this i want to use following:

1. hook_theme()

function nathde_theme()
{
return array(
'nathde_imagebar' => array(
'variables' => array('imageURIleft' => NULL,
'imageURIright' => NULL,
'imageALTleft' => NULL ,
'imageALTright' => NULL
),
'template' => 'nathde-imagebar'
),
'nathde_subnav' => array(
'variables' => array('menuSitekey' => NULL,
'menuID' => NULL,
'menuEntries' => NULL
),
'template' => 'nathde-subnav'
),
'nathde_subnav_menuEntry' => array(
'variables' => array('menuEntry_label' => NULL,
'menuEntry_link' => NULL
),
'template' => 'nathde-subnav-menuEntry'
),
'nathde_listImagebarElement_form' => array(
'variables' => array('form' => NULL),
'file path' => drupal_get_path('module', 'nathde'),
'file' => 'nathde.admin.addImage.inc'
)
);

Problem using Services and XMLRPC Server Modules

Hello, everyone:
I am using the Services and XMLRPC Server Modules. Most of the services provided by these modules are working properly. My problem is when I use the node.save service. Once I try to save this node: '{"title":"Sample node", "type":"page", "uid":1}', then I reveice the Error Message: 'Access Denied'.
-Is the node structure that I am sending well formed?
-How can I tell the Drupal Server that I am sending a node in JSON format?
-Is there any detail to configure in Drupal XMLRPC Server to configure?

Panels: How to Insert New-Lines?

I have a page created with panels, and I'd like to stack two elements, a menu and an image. However, the menu and image display on the same row. How do I get the image to display on its own line below the menu?

Setting fields and fieldtype in .install

Hi,
as a newbie in Drupal 7 I have following problem.
I want a node to have an extra field "foobar" as a select field with some options

In all examples I only found extra fields as "text".
This code was ripped from the node_example module.

Help with GIT - point of view of a user

Hello,
I have a new project and I want to start it with D7. Previously I was used to install drupal from CVS and update it on new versions with something like "cvs update -dP -r DRUPAL-6-20".

I discovered now that CVS on drupal is death in favour to GIT. All the documentation I saw so far is on a developer point of view, and is quite massive.. all I would like to achieve is to download the latest stable branch of Drupal and when 7.1, 7.2.. are out to update my local repository to the central one.

Include Feed Aggregator in search

How can I use the default search module for search in feed aggregator . I just enabled the feed aggregator from the module and and configured with some feed xml links. Its works perfectly but I can't search in the feeds shown. Please help me for solve this issue..

Thanks.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x