Ticket #843 (closed task: fixed)

Opened 13 years ago

Last modified 13 years ago

[WG] Need to make a separation between internal and external layout stuff in pylons

Reported by: lawrence Owned by: lawrence
Priority: critical Milestone: PROD Final
Component: community Version:
Keywords: Cc:


We're currently putting all the icons in the public/layout directory, which is inside the egg. It probably ought to be outside the egg allowing proper configuration by a web developer.

Change History

comment:1 Changed 13 years ago by lawrence

  • Priority changed from desirable to critical

See: this link from the pylons discuss.

comment:2 Changed 13 years ago by lawrence

  • Status changed from new to closed
  • Resolution set to fixed


The code now allows a directory to be defined in ndgDiscovery.config in the DEFAULT section, called htdocs, and that points at a physical real directory, all static files within that directory are used in preference to any routes and internal egg values mapping onto them ...

Thus, you can have

htdocs: /var/www/ndg/htdocs

and have within that directory a /layout/ directory where the ndg2.css overrides the one within the egg etc ...

Note: See TracTickets for help on using tickets.