Siti raccomandati

Google Search

Tutorial su Drupal
Risorse su Drupal

Link al mio profilo
Contattami

E-mailpsicomantegmailcom
MSNpsicomantekatapekkianet
Google Talkpsicomantesugmaildotcom
Skypepsicomante
Creative Commons License
Newsfeed RSS png image Google Talk png image

Textarea.js. Problemi con i temi e i css

Submitted by psicomante on Thu, 2006-06-15 15:15.

Se avete creato, usato o modificato un tema per drupal, e su Internet Explorer (IE, cioè il diavolo) vedete la textarea resizable spostata verso destra con un orrendo effetto di "rottura" (del DOM, non delle parti basse) allora questa piccola guida fa per voi.

Il problema è stato riscontrato da numerose persone, purtroppo non ho ancora trovato una soluzione definitiva. Sul forum di Drupal, qualcuno ha provato ad allungare il form-item per vedere il problema risolto. Purtroppo il campo subject viene spostato...e crea problemi a risoluzioni basse.

.form-item
{
width: 98%;
clear: none;
}

se volete tagliare la testa al toro, aggiungete queste righe a template.php per disabilitare completamente textarea.js. Naturalmente dovrete avere un tema phptemplate.

function phptemplate_textarea($element) {
$class = array('form-textarea');

$cols = $element['#cols'] ? ' cols="'. $element['#cols'] .'"' : '';
_form_set_class($element, $class);
return theme('form_element', $element, ''. check_plain($element['#value']) .'');
}

Ref:


Post new comment

Smileys
:);):(:D}:):P:O:?8):jawdrop::sick:
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <div> <br> <img> <strike> <div> <img>
  • Lines and paragraphs break automatically.
  • You may post PHP code. You should include <?php ?> tags.
  • Textual smileys will be replaced with graphical ones.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
Rispondi alla domanda se sei umano!
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.

Recent comments

This site is proudly powered by Drupal 5.2 and Drupal Italia .

Commentatori più attivi

Ecco la lista dei 5 commentatori più attivi su Psicomante Blog!
5ThirtyOne Design | Psicomante's Blog | Top