Re: [Aikiframework-devel] redirecting a url

2011-12-12 Thread Jakub Jankiewicz
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 "j...@rejon.org" wrote: > Cool! Still this reminds me how little we have documented about aiki! > > http://www.aikiframework.org/wiki/Improve_Your_Ai

Re: [Aikiframework-devel] redirecting a url

2011-12-12 Thread j...@rejon.org
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 Jan

Re: [Aikiframework-devel] redirecting a url

2011-12-12 Thread Jakub Jankiewicz
(#(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->ut