Done.

On Mon, 9 Apr 2012 15:12:15 +0800
Jon Phillips <[email protected]> wrote:

> http://aikiframework.org/wiki/Custom_Constants
> 
> Hook it up!
> 
> 2012/4/5 Jakub Jankiewicz <[email protected]>:
> > Not yet.
> >
> > On Thu, 5 Apr 2012 21:55:49 +0800
> > Jon Phillips <[email protected]> wrote:
> >
> >> Cool! Did you put this on the wiki too?
> >>
> >> Progress!
> >>
> >> Jon
> >>
> >> On Thu, Apr 5, 2012 at 9:44 PM, Jakub Jankiewicz <[email protected]>
> >> wrote:
> >> > Hi all
> >> >
> >> > In last commits I add custom constants, and I've created constant
> >> > [nsfw] for OCAL.
> >> >
> >> > you can set static value or API invocation (or extension), there
> >> > is no interface to add custom constant but you can simple put
> >> > this code into widget
> >> >
> >> > (script( $aiki->config->set('(!(1)!)', '(!(2)!)'); )script)
> >> >
> >> > and you will be able to set constants with url:
> >> > /widget_name/<name>/<value>
> >> > you can also set it to
> >> > /widget_name/<name>/$aiki->Extension->function()
> >> > you can pass arguments inside like
> >> > $aiki->Extension->function(100, "foo")
> >> >
> >> >
> >> > --
> >> > Jakub Jankiewicz
> >> > twitter: @jcubic
> >> > www: http://jcubic.pl
> >> >
> >> > _______________________________________________
> >> > Mailing list: https://launchpad.net/~aikiframework-devel
> >> > Post to     : [email protected]
> >> > Unsubscribe : https://launchpad.net/~aikiframework-devel
> >> > More help   : https://help.launchpad.net/ListHelp
> >>
> >>
> >>
> >
> > --
> > Jakub Jankiewicz
> > twitter: @jcubic
> > www: http://jcubic.pl
> 
> 
> 

--
Jakub Jankiewicz
twitter: @jcubic
www: http://jcubic.pl

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to