http://aikiframework.org/wiki/Aikimarkup#Add_custom_HTTP_header

We need real documentation and with examples.

On Mon, 12 Dec 2011 13:22:26 -0600
"[email protected]" <[email protected]> wrote:

> Cool! Still this reminds me how little we have documented about aiki!
> 
> http://www.aikiframework.org/wiki/Improve_Your_AikiFu#Redirect_a_url
> 
> Anytime we find new features or undocumented ones, we should document
> :) (I'm preaching to the choir a bit :)
> 
> Jon
> 
> On Mon, Dec 12, 2011 at 1:15 PM, Jakub Jankiewicz <[email protected]>
> wrote:
> > (#(header:Location: [root]/admin|false|301)#)
> >
> > In latest aiki you can edit widgets that have header. If you have
> > version of Aiki that don't allow for header in Admin Panel you can
> > use
> >
> >
> > (script( $aiki->utils->header("HTTP/1.1 301 Moved
> > Permanently",); )script) (script( $aiki->utils->header("Location:
> > [root]/admin",); )script)
> >
> > and utils->header is just wrapper of header php function.
> >
> >
> > On Mon, 12 Dec 2011 12:06:04 -0600
> > "[email protected]" <[email protected]> wrote:
> >
> >> There must be a better way to redirect urls in aiki. Bassel or
> >> anyone else have a better way than a stupid html redirect?
> >>
> >> http://www.aikiframework.org/wiki/Improve_Your_AikiFu#Redirect_a_url
> >>
> >>
> >> Like this:
> >>
> >> <meta http-equiv="refresh" content="0;url=[root]/wiki/">
> >>
> >
> > --
> > 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