Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support adding custom apps to the page context #1

Open
nailor opened this issue Oct 20, 2009 · 0 comments
Open

Support adding custom apps to the page context #1

nailor opened this issue Oct 20, 2009 · 0 comments

Comments

@nailor
Copy link
Owner

nailor commented Oct 20, 2009

Example:

Site has a frontpage, controlled through the CMS. However, the user wants to add a news ticker to the page (separate app). At the moment would mean site specific coding to the RiskiCMS internals.

Provide an option to specify special handlers somewhere (for example in the settings-file):

PAGE_HANDLERS = {
  '__root': {
    'news': 'somenewsapp.views.ticker',
  }
}

This would pass a context instance named news to the template of the __root page containing what ever the somenewsapp.views.ticker returns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant