Re: [PyCS-devel] New feature in CVS: user options
Status: Alpha
Brought to you by:
myelin
|
From: Phillip P. <pp...@my...> - 2004-01-26 19:53:49
|
> someone calls either the zeitgeist.py, the mailto.py or the search.py > module. Those modules are usually incorporated into the weblogs themselves, > so I thought it would be a good idea to have those styled. Others like the > referrer views or update views don't need to be styled, as those are usually > called from the community servers main page. Hmm, yeah, worth thinking about. The update view groups all blogs together, so you can't really apply one user's stylesheet to it. Unless we allow a parameter in the URL that says whose stylesheet to use ... ? http://www.pycs.net/system/foo.py?styleuser=123 > Stylesheets currently must reside in the PyCS users directories somewhere. > So if users outside of PyCS want to use for example the spamfree mailto, > they need a user and the admin needs to put the users stylesheet into his > root and set the users option. Hmm, sounds like something I need to put into newuser.py. Either that, or I need to make some sort of user settings script that lets you upload a stylesheet. > A next step would be to add user accessible option pages as a module and > some functionality to XSS to allow clients to set those options, too. But > that's for some other day (or for some other hacker ;-) ). Exactly :) > If you want to see how this looks: http://hugo.muensterland.org/ has a new > style and the stylesheet is set for that users stylesheet option, so the > mailto will look different than the default mailto. Cool. You might want to define a.quietLink to have text-decoration=none and color=(whatever) to get the 'muensterland' at the top show up ... Cheers, Phil :) |