Put formatting tips in sidebar

Benjamin Melançon - November 22, 2007 - 14:55
Project:Social Forum Call for Action
Version:5.x-.1.x-dev
Component:User interface
Category:task
Priority:normal
Assigned:Benjamin Melançon
Status:active
Description

Put this code in a block that shows on node/add/* and node/*/edit and remove it from the action registration form etc. (per Lullabot tip).

<div class="form-item">

<div class="description"><ul class="tips"><li>Web page addresses and e-mail addresses turn into links automatically.</li><li>Allowed HTML tags: &lt;a&gt; &lt;em&gt; &lt;strong&gt; &lt;cite&gt; &lt;code&gt; &lt;ul&gt; &lt;ol&gt; &lt;li&gt; &lt;dl&gt; &lt;dt&gt; &lt;dd&gt;</li><li>Lines and paragraphs break automatically.</li></ul></div>
</div>
<p><a href="/eng/filter/tips">More information about formatting options</a></p><div class="form-item">

One change: put target="_blank" (or whatever the proper code is) in there.

 
 

Drupal is a registered trademark of Dries Buytaert.