I prefer ((1)) you can't have that from query, or $1 like in perl or bash, but I prefer ((1)). Why you need any character between parentheses.
So you will have 3 types ((1)) ((*)) or ((database_field)) I also propose in my markup ((POST[foo])) and ((object->field)). Shorter as possible and unified with the markup. and for constants there can be exception with [const] or maybe upper case ((ROOT)), but I kind of get use to [root], and the url with ((ROOT)) will look kind of weird to me. On Fri, 2 Mar 2012 16:15:15 +0200 Bassel Safadi <bassel.saf...@gmail.com> wrote: > yes totally, btw what is better markup than (!(1)!)? > what about (u(1)u)? still looks ugly right? but better than ! > what do you think? > > -- > Bassel Safadi | http://bassel.ws > Skype: i.know.sy | Global: +1-323-545-3855 > > > On Fri, Mar 2, 2012 at 3:17 PM, Jakub Jankiewicz <jcu...@onet.pl> > wrote: > > > I don't thing is possible, but it would be nice to have, for link on > > other site I was using > > > > /(!(0!)!) > > /(!(0!)!)/(!(1)!) > > /(!(0!)!)/(!(1)!)/(!(2)!) > > /(!(0!)!)/(!(1)!)/(!(2)!)/(!(3)!) > > > > with sql if hack -> WHERE '(!(3)!)' <> '' LIMIT 1 > > > > There should be a variable (!(*)!) that return full url but without > > language, it can be added to Aiki. > > > > > > On Fri, 2 Mar 2012 19:26:27 +0800 > > Jon Phillips <j...@fabricatorz.com> wrote: > > > > > Hi all, but mostly directed at rg1024. > > > > > > We are building a site that has both english and chinese. The > > > link for a form is like this: > > > > > > http://SOMESITE/zh/manage/edit/news > > > > > > Is there a simple variable for getting the full path of that > > > string back for another language like EN? > > > > > > http://SOMESITE/en/manage/edit/news > > > > > > The real problem becomes when you are editing a long URL like: > > > > > > http://SOMESITE/zh/manage/edit/single-news/7 > > > > > > By default you have to reconstruct this autogenerated URL. > > > > > > What would be great is to have global variable like: > > > > > > [current-url-en] > > > > > > http://aikiframework.org/wiki/Global_Variables > > > > > > Does this make sense what I'm asking? I'll send you the url to the > > > site in another email. > > > > > > Cheers > > > > > > Jon > > > > > > > -- > > Jakub Jankiewicz > > twitter: @jcubic > > www: http://jcubic.pl > > > > _______________________________________________ > > 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 > > -- Jakub Jankiewicz twitter: @jcubic www: http://jcubic.pl _______________________________________________ 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