How do you alter the registration fields using Logintoboggan, and remove the jQuery password strength checker?

I've written a custom module that removes and alters a lot of strings on the user registration page, but have been banging my head trying to figure out how to remove/alter some of the strings provided by Logintoboggan.

I'm also trying to remove the jQuery password strength checker.. or at least edit some of its strings, and haven't yet been able to do that either. I'm quite confused as to why some parts of this module work while some don't. Any suggestions?

Here's what I'm working with:


<?php
/**
* Implementation of hook_form_alter().
*/
function custom_form_alter(&$form, $form_state, $form_id) {

switch ($form_id) {

case 'user_register_form':

unset($form['account']['name']['#description']);
unset($form['account']['mail']['#description']);
unset($form['account']['pass']['#description']);
unset($form['account']['conf_mail']['#description']); //doesn't work
unset($form['pass']['#description']); //doesn't work
$form['account']['name']['#title'] = 'username';
$form['account']['mail']['#title'] = 'email';
$form['actions']['submit']['#value'] = 'done!';
break;

case 'user_login_block':

unset($form['links']);
$form['name']['#title'] = 'username';
$form['pass']['#title'] = 'password';

big taxonomy export import mudule for drupal 6 and 7...?

Hi!

Is there a module in drupal 6 to export a big (53000 terms) taxonomy and then another to import it again in drupal 7...? I've noticed that the taxonomy db tables are different for drupal 6 and 7... and drupal 7 is even missing a synonym table.. you can make your own fields..

Regards!
Thijs

how i can change views module formate to support rtl for arabic?

Hello all,

First of all , its hard to find rtl theme support for drupal 7, maybe we should wait a little more ..

but , I am using Bartik 7.0 theme with Arabic translation , no errors , every thing fine and appear to support rtl , but...

when I made a view to show posts from each category, posts,category is a content types , everything is fine but again ,,,

when i select format as table or grid , I see the preview fine ( rtl ) but when applying as a block and attach it to pages content , every thing is fine except the table or grid shows ltr !

Recreating Celadon Theme's Floating date-labels

Hi,

I am currently working on my own custom theme, and I was wondering if anyone had any tips on creating "floating" date labels such as those used in the Celadon theme (see http://wparchive.com/wp-content/uploads/2009/11/celadon.jpg).

Would that be a matter of editing node.tpl.php? Any general advice? What pieces would I need to edit?

This is my first time to theme for Drupal.

Thanks!!

All Authors in Forum are Anonymous

I am having an issue right now where all authors in my forums are showing up as anonymous. I am using the latest version of Drupal 7. You can see the problem here:

http://www.dealdaddy.com/forum/hot-deals

How to integrate phpbb into drupal 7 ?

Hi

I just want to to integrate my phpbb forum with my drupal 7
no luck with founding any drupal 7 integration moetdule ..

if it is early to ask for an full module for that , is there any hack to add some blocks in drupal pages to view my forum statistics , new posts , best users .. etc

thanks again
Abdullah

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x