This forum is for assistance with theme development.

drupal add class to form-item if error on form to all forms

I just want to add class to .form-item if there is error on form i used the following code but its not working.

Form theme table same page and pager

Hello all,

I have a problem with the theme pager.

The situation : I have a search form. When I submit this form, I display the results in a table on the same page with a pager. This is ok for the form, and for the display of results in the table pager, but, when I change the page, the table disappear because I am working on the same page.

Summary of the code :

Form creation :

drupal_render and form['#submit'] callbacks

I am theming a form that has a submit callback function, however, that function is lost or never runs when the form submits. Why? How do I solve this?

Abbreviated code for readability:

impact theme problem

i use impact theme, i like the pc viewing structure but if using mobile phone, the viewing structure is different.

how do i modify to let this them has same viewing structure by phone or pc?

How to edit code in Drupal

Hi Im new to drupal, can you view the html code from viewing in drupal itself? i am wanting to add code to change the background of input fields. pretty much i want to edit the shape of an input fields and not sure if going through the server side is the only way to do this?
thanks

Custom field on profile form.

Hi !

Since 2 hours, i search how show custom field on the profile form. I want users can edit fields like public mail, steam id, sex,...

I try with custom template for the form but when print drupal_render($form['group_info_perso']['field_sex']); don't work.

Thx for help !

Pages

Subscribe with RSS Subscribe to RSS - Theme development