hmm, yeah, that's about what I am looking for (the site lang
approach). I'll look into that some more.
For this particular app, there are no stored user profiles (e.g. there
is no logging in), so as much as I'd like to store this setting in a
user profile, and requiring login, I can't guarantee t
I've done something similar to this, putting the site language in the
url.
Basically you create a middleware process_request, that will take
request.path and set it to something else.
For example you might do:
request.path = "/app/theme/view/"
parts = request.path.split("/")
request.path = "/
Chris Kelly wrote:
> I am in the process of writing an app that will have a "theme" based
> on if a subdirectory is specified e.g.:
>
> http://somesite.com/app/(theme)/abunchofviews/
>
> basically, if they go to /app/bluetheme/register, it'll give them a
> registration page with a blue theme heade
I am in the process of writing an app that will have a "theme" based
on if a subdirectory is specified e.g.:
http://somesite.com/app/(theme)/abunchofviews/
basically, if they go to /app/bluetheme/register, it'll give them a
registration page with a blue theme header and footer (it looks up a
th
4 matches
Mail list logo