{"issue":{"created_at":"2011-12-05T10:51:20Z","state":"closed","updated_at":"2011-12-08T23:11:25Z","comments":1,"user":{"gravatar_id":"571dbcf4d3d623d0ac1e775dee8b977f","id":1172672,"url":"https://api.github.com/users/itze88","avatar_url":"https://secure.gravatar.com/avatar/571dbcf4d3d623d0ac1e775dee8b977f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"itze88"},"body":"I dont know how you want to format your Pages but with the container IDs i think you cant declare speaking CSS-Classnames and IDs.\r\n\r\nI added some textfields to the Container Admin Interface. One for classes and one for IDs and edit the Template.\r\n\r\nAdded to Block/ContainerBlockService.php / public function buildEditForm(CmsManagerInterface $manager, FormMapper $formMapp\r\n\r\n                array('classes', 'textarea', array('required' => false)),\r\n                array('ids', 'textarea', array('required' => false)),\r\n\r\n\r\nAdded to Block/ContainerBlockService.php / function getDefaultSettings()\r\n\r\n          'classes' => '',\r\n            'ids', '',\r\n\r\n\r\n\r\nChanged from: Resources/views/Block/block_container.html.twig\r\n\r\n< div id=\"cms-block-{{ container.id }}\" class=\"cms-block cms-container{% if not container.hasParent()%} cms-container-root{% else %} cms-block-element{%endif%} {% if page.isInternal %} cms-block-internal{% endif%}\">\r\n\r\n\r\nChanged to:\r\n\r\n< div id=\"cms-block-{{ container.id }} {% if settings.ids is defined %}{{ settings.ids }}{% endif %}\" class=\"cms-block cms-container{% if not container.hasParent()%} cms-container-root{% else %} cms-block-element{%endif%} {% if page.isInternal %} cms-block-internal{% endif%} {% if settings.classes is defined %}{{ settings.classes }}{% endif %}\">\r\n\r\n\r\nI hope i dont understand something wrong in your logic for layouting capabilities.","assignee":null,"id":2447922,"number":22,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"Add Classes and IDs to the Container for CSS Formatting - Nice to have","html_url":"https://github.com/sonata-project/SonataPageBundle/issues/22","closed_at":"2011-12-08T23:11:25Z","url":"https://api.github.com/repos/sonata-project/SonataPageBundle/issues/22","milestone":null},"action":"created","comment":{"created_at":"2011-12-08T23:11:25Z","updated_at":"2011-12-08T23:11:25Z","user":{"gravatar_id":"dc68b58a2a42134405a48c008598a4f2","id":14672,"url":"https://api.github.com/users/rande","avatar_url":"https://secure.gravatar.com/avatar/dc68b58a2a42134405a48c008598a4f2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"rande"},"body":"The container does not mean to be used for layout capabilities. The inner and outer content should be tweak to match the layout","id":3071832,"url":"https://api.github.com/repos/sonata-project/SonataPageBundle/issues/comments/3071832"}}