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

Form fieldsets displayed as tabs

Hi, this is my first post.

How to clear up URL aliases from no-longer exists urls and changed link?

Whenever I modify pathauto to change blog / galleries / forum links, URL aliases still retain the old aliases URLs.

Plus, when nodes are deleted, their aliases are still there.

So is there a way to:

1) automatically delete all the *old* URL aliases whenever the pathauto is updated / modified to new paths?
2) automatically delete all the URL aliases when the node is deleted? For instance: users deleting their blogs, galleries or pages or when they cancel their account (using user cancellation module)..

Accessing webform variables

I apologize if this is a repeat but i have looked all over and haven't found what i am looking for.
I have a simple webform but i'm having trouble figuring out how to access the data that the user has entered. There are only 3 fields the user has to populate:sector, company and name My understanding is that the values of the fields are available in either the form_values arrary or in the _POST array. I used a redirect page and the 'print_r($_POST);' function to disply the values. The output looked something like this:

[submitted] => Array
(
[1185485983] => sales
[1185486102] => world_hq
[1185486234] => mytest
)

[details] => Array
(
[email_subject] => Default
[email_from_name] => Default
[email_from_address] => Default
)

Is there a cleaner way to reference the submitted fileds? Unless I misunderstand something, if I want to access the 'sector' field, i have to explicitly reference it using the defined name: name="submitted[1185485983]. I realize i can access the array using the following:
(foreach ($form_values['submitted'] as $field_id => $value)

But if I wanted to explicitly do something with the sector field, I would have to check that the field_id is = 1185485983.

"Share This On..." For Drupal Sites?

[moved this from http://groups.drupal.org/node/5517]

I think it would be great if Drupal had a "Share on " feature like Facebook's share.php. Many sites have a "Share on Facebook" button, but there is also a link you can bookmark so you can share any page you visit on the web.

Add/Edit content wizard

Hey,

I'm currently building on a wizard to let none tech users easily create/edit content. To achieve that goal I need to adapt the add form to display in the wizard and to have it simplyfied by removing most of the collapsed fieldsets.

Do I use the hook_form or how can I achieve this?

Can somebody please point me in the right direction?

Greetz

Solution for inserting images

Hello forum,

I'm looking for a clean way to insert images into my TinyMCE with

* imagecaption
* rel="lightbox" attribute
* 150px*150px predefined thumbnail size
* fixed float="right" attribute

I like typo3 for it's approach to add 'elements' to an 'elementset' (terminology may be wrong), where you can chose between several predefined elements such as "text", "image" or "text with image" which are concatenated for the output of the elementset as the page's content.

Pages

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