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 header and footer (it looks up a > theme object based on the value specifed in the url, and gets header > images, etc from said object). Likewise, if "greentheme" is specified, > they would get a green-themed registration page. This way, someone can > later just go into the django admin section and create a new "theme" > by specifying a new header and footer image. > I know it doesn't answer your question, but search engines will see a different page for each different theme (eg. /red/mypage1 will be seen as a different page from /green/mypage1).
Maybe storing the theme in a user preference/session might be easier? A user could visit /theme/green/ to set the 'green' theme, then redirect to any of your normal application pages, which use the preference to decide . Rob :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---