Use a draggable table (???)

I read http://api.drupal.org/api/function/drupal_add_tabledrag/6
I created a draggable table, but I can't understand how to get info about order of elements,
so i can't make use of draggable table

Theming forms

Hello,

Hopefully someone can help. I am currently building a module that allows an administrator to promote content to a "lead story". The administrator selects a node he wants to promote and that is it.

I do this through a form in the administrator >> site configuration menu. I also want to display a list of the most recent 10 nodes posted. I have done this but the issue I have is with applying a theme to these nodes.

I have a function called leadstory_admin() that does this -- the code is abridged:

function leadstory_admin() {
    
		$result = db_query(db_rewrite_sql($query), $type, $status, 0, $max_display);

			while ($data = db_fetch_object($result)){
	    $form['title'][$data->nid] = array('#value' => l($data->title, 'node/'. $data->nid));	 			 
			     $form['node'][$data->nid] =  array('#value' => $data->nid);
		}
		}
		$form['#theme'] = 'leadstory_admin';

return $form; 

I then have a theme_leadstory_admin($form) function. The issue is that the theme function isn't called.

Any ideas how I can get this function to theme work?

I then went to the node module, in particular node.admin.inc and tried messing around with node_admin_nodes() form and theme. Interestingly if I changed the call of:

$form['#theme'] = 'node_admin_nodes';

to

$form['#theme'] = 'node_admin_nodesthemetest';

Joomla -> Drupal and split content

Hello community! :)

This is my first post here and let me introduce. I am 32 years, a programmer, hamburg, Germany. I wrote my own cms. Than figured that this is quiet stupid to do alone and ended up with joomla.

Now i know joomla quiet well and why i want to quit. I looked at a lot cms systems and think drupal has an wide and active community, a clean core, sef, html compliance etc. and i want to join.

But i still don't understand some basic concepts about drupal. And i need a more complex conent structure than just one content element but content split up in many elements.

Primary links directory didn't change

When I changed the main folder name from "Drupal" to "4H", the primary links still tries to load:
mysite.com/Drupal/node/14
instead of
mysite.com/4H/node/14

I looked through a couple of scripts, and configurations, but couldn't find anything that would cause this problem.

Drupal therapy training: Seattle, Feb 24

Sneaking upon you again is another Drupal therapy workshop, this time in Seattle, WA, on Feb 24, 2008. This all-day intensive training opportunity for new and novice Drupal admins and end users will provide quality Drupal foundations in a price bracket that non-profits and small businesses can afford. San Francisco and DC have been a great success, we're on our way to the Pacific Northwest next! Take a look at the website for more information.

Web Based Software for Drupal

Standalone Video Music Photo Gallery - Flash Player!
Web Based Software for Drupal Wordpress Typo3:

http://www.gallery-software.ch

WebTV - Video Gallery - Music Gallery - Photo Gallery - Slide Gallery

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x