From: Ben A. <Ben...@na...> - 2002-09-30 14:18:05
|
Hi, can anyone think of a way of handling 'virtual' URLs, e.g. /index -> maps to /index.tmpl (as normal) /something -> maps to /another/place/something.tmpl /else -> maps to /go/here.tmpl I originally wrote a pkit_default sub to handle this, then realized = PageKit won't even run it, because something.tmpl doesn't exist. The = reason I need is it because I need to be able to create simple URLs = which map to complex URLs (stored in the database), so they can be = displayed in advertisements, hoardings, bus shelters etc etc. I'd rather = not have to create dummy templates to handle each URL. any ideas that don't involve hacking PageKit.pm ??!! ;-) regards, ben |