"pretty" urls for links to internal pages?
Lukas Renggli
renggli at iam.unibe.ch
Sat Apr 1 09:27:53 MEST 2006
On 31 Mar 2006, at 22:51, Brian Chapados wrote:
> Hi,
>
> I'm new to smalltalk, seaside and pier. I want to use pier to host
> a small
> site, and if possible, I'd like to change the way internal links to
> other
> pages are rendered, so that the wiki text:
>
> *Introduction>introduction*
>
> produces the link:
> http://localhost:9090/seaside/pier/information/introduction
>
> instead of:
> http://localhost:9090/seaside/pier/information/introduction?
> view=PRDefaultView&command=PRViewCommand&_k=jFcQckKB&25&_s=lEBbpcqiBRM
> HlTFF
>
> Both links return the same URL when typed into the browser, so clearly
> view is the default command. I've tried searching around for
> information
> about this but I couldn't find anything obvious to me. While
> browsing the
> source code, I came across WAUrl adaptToContext: and WAAnchorTag
> goto:,
> which look potentially relevant, but I'm honestly not sure if I'm
> on the
> right track. I'd appreciate it if someone could point me in the right
> direction. Also, if this is a really bad idea for some reason, that
> would
> also be good to know.
>
> I'm using Sqeak-3.8, Seaside 2.63a3-lr.51 and Pier-all-lr.81
>
> Thanks,
>
> Brian
>
>
>
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the SmallWiki
mailing list