pimcore/pimcore — pull request #23 by rafalgalka (2012-06-08 13:10:31+00:00)
Title: Static route ignored when path is matching document

Hi,

I think that static routes should be taken into account even if there exists document matching current path.
Then will be possible to switch existing static document to module action and provide a posibility to manage editables on the page.

I know that we can use action view helper or provide snippet. Also I know it will make a minor influence on performance. But I think that's much elegant and elastic solution.

Example:
I'm creating blog plugin for pimcore (https://github.com/rafalgalka/pimcore-plugin-blog).
There will be:
- default page with list of entries with pagination
- sidebar with snippets placeholders for blog categories, tags, calendar, etc.

Plugin installer will create static route for "/blog/" path. When you create document with same path blog action will not be executed.