Quotebutton

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
holysjit
Regular
Posts: 131
Joined: Sun Apr 08, 2007 9:47 am

Quotebutton

Post by holysjit »

Hi,
How can I make a quotebutton? When you click on that button, there will automatically appear the text with the [quote] tags.

Like:
Comment = Cool video (button with text 'Quote')
You click that button and in your textfield will appear:

Code: Select all

[quote]Cool video[/quote]
For example. check this site:
http://www.flabber.nl/archief/022515.php


Holy Sj!t
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Quotebutton

Post by garvinhicking »

Hi!

Try to use the "Typeset/Extended Buttons for non-WYSIWYG editors" plugin (serendipity_event_typesetbuttons). There you can also add custom tags that you can click, and use the <blockquote> HTML syntax for it.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Don Chambers
Regular
Posts: 3659
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Quotebutton

Post by Don Chambers »

garvinhicking wrote:Hi!

Try to use the "Typeset/Extended Buttons for non-WYSIWYG editors" plugin (serendipity_event_typesetbuttons). There you can also add custom tags that you can click, and use the <blockquote> HTML syntax for it.

Regards,
Garvin
<blockquote> is not going to work in a comment is it? nor anything else HTML, right? You mean bbcode?
=Don=
holysjit
Regular
Posts: 131
Joined: Sun Apr 08, 2007 9:47 am

Post by holysjit »

Not in the admin-menu, but visitors can click this button when they add a comment on an entry...
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

So you don't want to use the reply to drop down box, instead you want people to be able to quote each other?
holysjit
Regular
Posts: 131
Joined: Sun Apr 08, 2007 9:47 am

Post by holysjit »

No,
I want a button on each reply with the text 'quote'. When you click on it, a code is automatically created.

For example

Person 1 wrote:
Cool video

Person 2 wants to quote that sentence. They click on the quotebutton and the code:

Code: Select all

[quote]Cool video[/quote]
is automatically created.

Clear?
Post Reply