Apparently (no guarantees, it's fri @ 1:30 on the east coast), templates that are being called from 3 levels deep in cherrypy are not being affected by CSS. Uff, that sounds weird.

An example:
controllers.py
import turbogears
from turbogears import controllers

class Root(controllers.RootController):
    @turbogears.expose(template="dev10.templates.welcome")
    def index(self):
        import time
        return dict(now=time.ctime())
      
class blah:
    @turbogears.expose(template="dev10.templates.welcome")
    def index(self):
        import time
        return dict(now=time.ctime ())
   
class bleh:
    @turbogears.expose(template="dev10.templates.welcome")
    def index(self):
        import time
        return dict(now=time.ctime())

in start.py we initialize:
cherrypy.root=Root()
cherrypy.root.blah=blah()
cherrypy.root.blah.bleh = bleh()

the css affecting templates.welcome is properly parsed in your-site/, your-site/blah/ but not in your-site/blah/bleh. It is there on the page-source, but it is somehow being ignored.


-Facundo.

Reply via email to