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 <jcu...@onet.pl> 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 > "j...@rejon.org" <j...@rejon.org> 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 -- Jon Phillips 王✳爻气 http://fabricatorz.com ✳ skype: kidproto ✳ irc: rejon +1.415.830.3884 (global) ✳ +86-187-1003-9974 (beijing) _______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : aikiframework-devel@lists.launchpad.net Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp