This forum is for assistance with theme development.

Custom user registration page, how to hook submit action.

Hi all. I am a newbie who had work on drupal for just 2 weeks. I am going to create an customized user registration page. How can I make the submit action to call my own function instead of drupal's build in function ?
Any suggestion would be help much.

The code I current added in registration_form_alter:

switch ($form_id) {
case 'user_register':
$form['#submit'] = array('registration_user_register_submit' => array());
break;
}

Primary Links display child menu items horizontally on Drupal 6.x

Hello,
I am writing new theme based on chameleon (no template engine) pure php on Drupal 6 Beta 4. So far so good but could not figure it out how to display primary links menu items containing child menus horizontally. If I assign primary links block on site's left or right sidebars regions, I do get leaf tree with child menu items associated to their parent menu items on primary link. On Drupal 5.3/5.4 primary links menu items having child display child menu items horizontally when the parent menu item gets clicked.

This is what I've so far.

remove 'submitted by' but keep date

Is it possible to display the date submitted but not who by?
I'm the only one who submits stuff so it's kind of irrelevant - just says 'admin' on every story.
Using salamander theme.

Configure Garland on a safe mode host

My host as safe mode enable and I can't change Garland's colors using the Garland UI because it can't access the folders it creates (garland-60ae9ce3 for example)

I tryed to create the forder manualy but the folder name seams to be chosen randomly. If I select the same color 2 times, it does not have the same folder name.

My question is: Can I modify the default template manualy in the theme code?

I tryed to modify style.css in the /themes/garland folder but it looks like it does not change what is displayed on the site.

Any clues?

$primary_links and class="active" again?

Hello. I am developing a theme for a Drupal 5.3 site on free basis, as it is our beloved local sports club. The entire design depends on the use of primary links as tabbed panes. So following I am in need of getting the "active" setting from the menu.

I have been reading for a night or two on the subject, and actually finds more on the 4.7 version.

neither

theme('links', $primary_links);

nor

theme('links', $primary_links, array('class' => 'links primary_links'));

Need new Theme

Hello,

Is it possible for anyone to make my Drupal website a theme? Our Drupal website (Currently Under Construction) is located at www.runescapez.com/drupal
Our current website is located at www.runescapez.com

We want a theme (skin) to be the same to our current website, we are using the CMS to allow our staff to edit the site easily. If you wish to help then please post here.

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Theme development