Extend quote to alert box

FabriceV - July 15, 2008 - 05:02
Project:Blockquote
Version:6.x-1.0
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

Dear Mr
I'd like that Blockquote provides the way to manage any block of text inside post. Alert, note, question, informational boxes are useful when writing tutorials.
This is an example of code. http://www.bioneural.net/2006/04/01/create-a-valid-css-alert-message/
Regards

#1

zeta ζ - July 15, 2008 - 06:33
Status:active» won't fix

Dear FabriceV,

Thank you for your suggestion;

You can implement these boxes in your theme using pure css: no additional markup is needed.

.alert {
  background: #fff6bf url(/misc/watchdog-warning.png) no-repeat 15px center;
}
.note {
  background: #fff6bf url(bioneural/notation.png) no-repeat 15px center;
}
.question {
  background: #fff6bf url(bioneural/question.png) no-repeat 15px center;
}
.info {
  background: #fff6bf url(bioneural/information.png) no-repeat 15px center;
}
.box {
  text-align: left;
  padding: 5px 20px 5px 45px;
  border-top: 2px solid #ffd324;
  border-bottom: 2px solid #ffd324;
}
(my version of the css given in your link – which I think will validate).

HTML needed:<div class"alert box">...</div>You just have to decide what you want your users to input: The html code above or a code that a filter can convert.

I’m afraid this is not for the blockquote module to do.

 
 

Drupal is a registered trademark of Dries Buytaert.