Saturday, July 22, 2006
I just made an update to my Comment Text Formatting extension.
This new version allows you to specify the text formatting for your comments via a parameter in the comment display/comment preview tag.
What does this mean? The previous version of this extension allowed you to choose only one text format to be applied to all comments. This was done through the settings in the Control Panel. But say for some reason you want to apply the Textile formatting to the comments of one weblog, but Markdown on the comments of another. Well now you can do that by using the new “format” parameter!
To use, change your {exp:comment:entries} and {exp:comment:preview} tags and add the parameter wherever you want the formatting to be displayed:
{exp:comment:entries sort="asc" limit="20" format="textile"}
If you don’t use the format parameter, then the extension will just use the settings from the Control Panel.
I didn’t even realize that I could use extensons to add new parameters like this, until, well, now. ![]()
Jan 08 2009 @ 07:15 PM
Comments & Trackbacks
Post a comment.
The trackback URL for this entry is:
1. yoshi
said:
on Jul 22 2006 @ 04:43 PM
whoa. you can add new parameters? holy crap i need to start reading up more on extensions.
I was throwing the idea around that an EE entry can be “password-protected” ala wordpress. Do you happen to know if someone has already done that using extensions? I’m thinking that’s the way to do it.
2. Yvonne
said:
on Jul 23 2006 @ 12:44 AM
No, I haven’t seen anything like that for EE. The closest thing I can think of is this. You could use an extension to password protect entries, or maybe even just a plugin would do.