deblan.tv/app/config/trinity_content_manager.yml
2015-03-02 21:57:49 +01:00

82 lines
3.3 KiB
YAML

trinity_user:
roles:
ROLE_BO_USER: "Utilisateur administration"
ROLE_SUPER_ADMIN: "Super administrateur"
bo_auth_role: ROLE_BO_USER
trinity_content_manager:
decorator_strategy: ~
ignore_route_patterns:
- '(.*)admin(.*)'
- '^_(.*)'
- '^fos_user_(.*)'
ignore_routes:
- index
ignore_uri_patterns:
- '/admin(.*)'
- '/ajax(.*)'
- '/ajax(.*)'
- '/files(.*)'
# editorial_block:
# actions: []
page:
models:
Deblan\Bundle\BlogBundle\Page\HomePage:
title: "Page d'articles"
templates:
- {title: "Page d'articles", template: 'DeblanBlogBundle:Default:home.html.twig'}
Deblan\Bundle\BlogBundle\Page\CategoryPage:
title: "Page d'articles d'une catégorie"
templates:
- {title: "Page d'articles d'une catégorie", template: 'DeblanBlogBundle:Default:category.html.twig'}
Deblan\Bundle\BlogBundle\Page\TagPage:
title: "Page d'articles d'un tag"
templates:
- {title: "Page d'articles d'un tag", template: 'DeblanBlogBundle:Default:tag.html.twig'}
Deblan\Bundle\BlogBundle\Page\SearchEnginePage:
title: "Page de recherche"
templates:
- {title: "Page de recherche", template: 'DeblanBlogBundle:Default:searchEngine.html.twig'}
Deblan\Bundle\BlogBundle\Page\PostPage:
title: "Page d'article"
templates:
- {title: "Page d'article", template: 'DeblanBlogBundle:Default:post.html.twig'}
Deblan\Bundle\ContactBundle\Page\ContactPage:
title: "Page de contact"
templates:
- {title: "Page de contact", template: 'DeblanContactBundle:Default:contact.html.twig'}
Deblan\Bundle\BlogBundle\Page\DefaultPage:
title: "Page simple"
templates:
- {title: "Page simple", template: 'TrinityContentManagerBundle::default.html.twig'}
Deblan\Bundle\LessonBundle\Page\LessonPage:
title: "Page de cours"
templates:
- {title: "Page de cours", template: 'DeblanLessonBundle:DefaultPage:lesson_page.html.twig'}
Deblan\Bundle\BlogBundle\Page\TinyPage:
title: "Page TinyRSS"
templates:
- {title: "Page TinyRSS", template: 'DeblanBlogBundle:Default:tiny.html.twig'}
Deblan\Bundle\BlogBundle\Page\PostRssPage:
title: "RSS"
templates:
- {title: "RSS", template: 'DeblanBlogBundle:Default:postRss.html.twig'}
Trinity\Bundle\ContentManagerBundle\Page\SitemapPage:
title: Sitemap
templates:
- {title: 'Sitemap', template: 'TrinityContentManagerBundle:Page:sitemap.xml.twig'}
url_resolver:
models:
Deblan\Bundle\BlogBundle\Page\CategoryPage:
params:
category: 'getSlug'
id: 'getId'
Deblan\Bundle\BlogBundle\Page\PostPage:
params:
post: 'getSlug'
id: 'getId'