Page 1 of 1

Quotebutton

Posted: Sat Dec 15, 2007 9:55 am
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

Re: Quotebutton

Posted: Sat Dec 15, 2007 7:02 pm
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

Re: Quotebutton

Posted: Sat Dec 15, 2007 9:37 pm
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?

Posted: Mon Dec 17, 2007 5:46 pm
by holysjit
Not in the admin-menu, but visitors can click this button when they add a comment on an entry...

Posted: Mon Dec 17, 2007 7:04 pm
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?

Posted: Wed Dec 19, 2007 8:38 pm
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?