changing existing forms

I want to change the existing admin/structure/types/add form by simply adding something. I guess I have to use hook_form_node_type_alter.

However, the following doesn't seem to change the form:

function module_form_node_type_alter(&$form, &$form_state, $form_id) {
  $form['justatest'] = array(
    '#type' => 'checkbox', 
    '#title' => t("Checkbox test."), 
    '#required' => TRUE,
  );

What am I missing?

External Link

How do i link my drupal site to an external site.

Translating menus in D7 with the I18n module - help!

As the i18n documentation hasn't quite caught up with D7, I'm getting really confused here. Can someone explain the proper workflow?

I'm just taking the first steps towards creating a multi-lingual sites. I have successfully created two users (one English, one French). The English user can write blogs in English and get them translated into French, and vice versa. Both users get a user interface in their chosen languages.

Next step is to translate the main menu. To do this, I have done the following:

(1) Enabled the Menu Translation module

Strange style tag moving sidebar completely off the screen.

I have a sidebar block added to certain pages, but it doesn't display. Further investigation showed that it's being styled off the page, from some random style tag in the header:

5 failed login attempts

I wander if by deleting all the rows in the Flood table with the "failed_login_attempt_ip" event i will be able to get that user access to login again. right now that user is in another country and i am able to login in US with his user name and pass with no problem. Maybe there is another way to do it.... I dont know.
Thanks

Advanced Menus

I want to be able to generate links for the Main Menu and style the Parent links completely separately from the sub links. In other words how do you extract the first row of sub links and style them by it self. I want FULL control over the way i style ALL links that includes each and every level of sub links. I'm trying to create 2 Level tabs manually because I don't know how to do this in drupal 7 and nobody else dose either. Menus/Links seams to be the hardest thing for me to get a hold on in drupal.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x