This forum is for assistance with theme development.

More than one submit function for modified user registration form?

I need to take the data that is submitted when a new user is registered - after Drupal has written the data to the user tables - and pass it to another script. I've used hook_form_alter() to add custom fields to the user registration form, and it looks like the way to do what I want to do is with a custom submit function. My questions are these:

  1. If I do a custom submit function, would it get used instead of what is normally used for the user registration form?
  2. Is it possible to call another script and pass the data from the form to it?

Thanks.

Creating new regions on smarty template engine

Hi,

Anyone know how to create a new block regions on smarty template engine?
I've found only how to do that on phptemplate engine - http://drupal.org/node/29139

CSS editing question using a downloaded theme (Sky Theme)

Hello. I am using a downloaded theme (Sky Theme) and am having some trouble adjusting it.

In the navigation menu i changed the text-indent to 0 and reduced the text height to 16px. In order to separate the menu item links i tried adding a padding of 10px to the #sidebar ul.menu a{} element.

This is almost exactly what I want except that the right border disappears or gets covered up.

I've sent a message to the theme's author, but thought I'd post here too in case some one could help me here.

Here's the elements I've been editing:

get all vars from a node id (nid)

If possible get all vars from a node using only the "nid" in a fuction?

theme_image attributes missing

Below is a 2 line php snippet from my page.tpl.php

--
$attrib = array('float' => 'right', 'id' => 'flag');
print theme_image(path_to_theme()."/images/flag.gif", '', '', $attrib, TRUE);
--

The resulting output is this:

--
Only local images are allowed.
--

As you can see, the associative array doesn't seem to have been processed. Is my code incorrect?

Adjusting Form based on Node variables within node.tpl.php

Hello all,

I am sing CCK to create specific content types and then using contenttype-node.tpl.php to style them and also insert a form in the note. Basically the node describes a hotel and the form is there to send a contact e-mail to the hotel.

Now, the part that I would like to check with the Drupal experts (or just PHP expprets) out there is the following:

Pages

Subscribe with RSS Subscribe to RSS - Theme development