## Script (Python) "getSection" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters= ##title=Returns section name (first part of URL) to the body tag ## contentPath = context.portal_url.getRelativeContentPath(context) if not contentPath: return None else: return "section-" + contentPath[0]