Re: [fp-dev] BBCode plugin extended
Moved to GitHub: https://github.com/flatpressblog/flatpress
Brought to you by:
real_nowhereman
|
From: Dominik M. <in...@dm...> - 2008-10-21 12:38:38
|
>> The implementation of the options (formerly known as BBCODE_* constants)
>> is a kind of a hack, as you can see in plugin_bbcode_setup()... But it
>> works fine ;-)
>
> that's fine :) I would have it done like too
> in future it will be cool to create custom tags without having to
> program, but it might be hard :p
I think that's easy to make with regular expressions. But those I did'nt
understand since years ;-) It's a cool feature, anyway.
> maybe (*maybe*) we can change that plugin_bbcode_init() hack into a
> filter or something
Yep, I'm gonna try to change it...
> for a little less hack-ish checkbox group -->
> ($smarty->assign('myvar', 'checked="checked"')
> maybe you'd like to "check" (ah-ehm) {html_checkboxes} ?
> http://www.smarty.net/manual/en/language.function.html.checkboxes.php
Hell, Smarty is great :-D
>> There's still an issue in /tpls/toolbar.tpl: How do I define the
>> language variables so that I don't need to call
>> {$lang.admin.plugin.bbcode.*}?
>
> IIRC the var {$plang} (Panel LANGuage) is a shorthand for
> {$lang.admin.plugin.NAME.*}
> {$plang.myvar} is {$lang.admin.plugin.myplugin.myvar}
> see the akismet plugin
Yeah, I know (as you can see in qspam). But I was assuming that {$plang}
is only available in plugin pages (which the write entry panel AFAIK is
not, is it?). However I'll also try it...
>> Oh, and I did not backport your img-center-fix... You may know best what
>> you've changed in the trunk respectively in the Vivace release branch.
>
> same things :p bbcode did not change since Vivace
Ups... I knew there was a backport fix, but it was in core.draft.php
(SVN205/206)... Forget what I said.
> Oh, the new codename might be "Fortissimo". Do you guys out there like it?
Sounds nice :-)
--Dominik
|