Page 1 of 1

Removing text

Posted: Tue Jan 10, 2006 8:44 am
by Alexander1977
Hello,

I'de like to remove the text:
"
Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
"

below the comment textbox. However, I don't seem to be able to find this text in the code. How can I remove this?

Thanks a lot,
Alexander van Deursen

www.seksieleksie.com

Posted: Tue Jan 10, 2006 9:10 am
by Col. Kurtz
remove the markup plugins for those.

Posted: Tue Jan 10, 2006 10:38 am
by Alexander1977
Hello,

Thanks for your reply. I overlooked that function. Great!

However, is it also possible to only remove the TEXT:
"Standard emoticons like :-) and ;-) are converted to images.",
while emoticons are still converted to images in the comments?

Regards,
Alexander

Posted: Tue Jan 10, 2006 10:41 am
by garvinhicking
You can do that by editing the plugin file, or by editing your serendipity template's commentform.tpl template and removing this code:

Code: Select all

{serendipity_hookPlugin hook="frontend_comment" data=$commentform_entry}
Removing that generall will disable ALL markup notes from all plugins, though.

The last variant is to use CSS to hide the specific note emitted by the emoticon plugin. Look at the HTML code to get the propper CSS selector.

Regards,
Garvin