serendipity_event_layout_quotemarkup

Creating and modifying plugins.
Post Reply
Roaster
Regular
Posts: 121
Joined: Tue Feb 22, 2005 9:04 pm

serendipity_event_layout_quotemarkup

Post by Roaster »

Hi,

can sbdy please explain how to use the event plugin "serendipity_event_layout_quotemarkup"?

Installation is easy but I do not have any clue how to use it even if looking into the coding.
Is there any special tag which must be used inside the article text?

cu,
Roaster
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: serendipity_event_layout_quotemarkup

Post by garvinhicking »

That plugin inserts CSS rules into your stylesheet, which affect the rendering of HTML "blockquote" and "q" tags :)

Best 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/
Roaster
Regular
Posts: 121
Joined: Tue Feb 22, 2005 9:04 pm

Post by Roaster »

HTML "blockquote" and "q" tags
Oh, OK I've seen this inside the coding. And the solution how I get the new quoting is quite simple :-)
<blockquote>funny things happen<blockquote/>

Thanks Garvin - do you live inside this forum :lol: Your answers are that fast I assume this must be true!
Roaster
Regular
Posts: 121
Joined: Tue Feb 22, 2005 9:04 pm

Post by Roaster »

Hi,

it's me again :-)
Oh, OK I've seen this inside the coding. And the solution how I get the new quoting is quite simple Smile
<blockquote>funny things happen<blockquote/>
Is there a simpler way to insert those tags into the article text? Currently I'm switching to HTML view enter the tag <blockquote> and </blockquote> manually and switch again to text view.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi Roaster!

I do think we have a plugin that adds quote tags to the icon bar of the entry. I think it's the serendipity_event_typoquote or serendipity_event_typesetbuttons plugin! Have a try :)

And, BTW, I don't really live in this forums. But I'm addicted and check quite too often, I guess ;)

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/
Roaster
Regular
Posts: 121
Joined: Tue Feb 22, 2005 9:04 pm

Post by Roaster »

Hi,

I've just installed plugin serendipity_event_typesetbuttons but the description says that this is for non-WYSIWYG editors only.

Anyway I get several errors after installing this plugin:
Warning: main(/www/htdocs/w00645f0/golffisch/plugins/serendipity_event_typesetbuttons/lang_en.inc.php): failed to open stream: No such file or directory in /www/htdocs/w00645f0/golffisch/plugins/serendipity_event_typesetbuttons/serendipity_event_typesetbuttons.php on line 9

Warning: main(/www/htdocs/w00645f0/golffisch/plugins/serendipity_event_typesetbuttons/lang_en.inc.php): failed to open stream: No such file or directory in /www/htdocs/w00645f0/golffisch/plugins/serendipity_event_typesetbuttons/serendipity_event_typesetbuttons.php on line 9

Warning: main(): Failed opening '/www/htdocs/w00645f0/golffisch/plugins/serendipity_event_typesetbuttons/lang_en.inc.php' for inclusion (include_path='.:/usr/share/php:..:/www/htdocs/w00645f0/golffisch/:/www/htdocs/w00645f0/golffisch/bundled-libs/') in /www/htdocs/w00645f0/golffisch/plugins/serendipity_event_typesetbuttons/serendipity_event_typesetbuttons.php on line 9

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w00645f0/golffisch/plugins/serendipity_event_typesetbuttons/serendipity_event_typesetbuttons.php:9) in /www/htdocs/w00645f0/golffisch/serendipity_admin.php on line 11
No guess where to search this error. Perhaps someone of you?
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Looks like the files got corrupted. Could you verify that all the files (especially the lang_en.inc.php) were correctly extracted and have non-zero filesizes?
Judebert
---
Website | Wishlist | PayPal
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Roaster: I was not aware you're using the WYSIWYG plugin. For that, I'm sorry, the plugin does not work because the WYSIWYG editors are harder to integrate with PHP functionality and without knowing the WYSIWYG editors' internals.

For the rest, refer to judebert's posting *g*

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/
Roaster
Regular
Posts: 121
Joined: Tue Feb 22, 2005 9:04 pm

Post by Roaster »

@Garvin,
Roaster: I was not aware you're using the WYSIWYG plugin.
No problem, I did not even mention it :shock:

@judebert,
Could you verify that all the files (especially the lang_en.inc.php) were correctly extracted
Hmm, that's the problem: It even did not install such a file, using Spartacus I think.

I'm using Serendipity with German language but this cannot be the problem since other plugins do intall all available language files, aren't they?

Edit: after manually deleting this plugin with ftp login and re-installing it with Spartacus I now know that it won't install any English language file :? - so that's the problem with it!
Post Reply