[Solar-talk] Wiki links
Antti Holvikari
anttih at gmail.com
Fri Apr 27 06:31:39 PDT 2007
On 4/25/07, Antti Holvikari <anttih at gmail.com> wrote:
> Hi All!
>
> I have a few questions regarding Solar_Markdown.
>
> 1. How can I add base paths for 'read' and 'add' wiki links (it's the
> _attribs property in Solar_Markdown_Wiki_Link)? There's setAttrib()
> but how can I call it? How about the interwiki hrefs? Shouldn't there
> be config keys for a lot of the wiki stuff, or do they work
> differently?
Ok, I think I've got something on this. I use the getPlugin() method
to get the wiki link plugin and set the hrefs. I guess this is how
it's supposed to be used. Paul, do you prefer to use the markdown
object in your templates or in controller scripts? At least setting
the hrefs in the view makes sense since I can use the action helper.
--
Antti Holvikari <http://phphalo.com>
More information about the solar-talk
mailing list