2017 © Pedro Peláez
 

symfony-bundle template-master

The default template for rofil application

image

rofil/template-master

The default template for rofil application

  • Saturday, August 15, 2015
  • by rhsitorus
  • Repository
  • 1 Watchers
  • 0 Stars
  • 21 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

INSTRUCTION

Introduction

This bundle is used as default theme of my symfony project. This theme is based on bootstrap css framework., (*1)

Installation

Add to composer.json, (*2)

...
"rofil/template-master": "master-dev"
...

update composer.json by running, (*3)

    ...
    $ composer update
    ...

register the bundle in appkernel.php, (*4)

...
    new Rofil\Template\MasterBundle\RofilTemplateMasterBundle(),
...

Configuration

in app/config/config.yml, (*5)

...
assetic:
    ...
    bundles:        [ "RofilTemplateMasterBundle" ]
... 
twig:
    ...
    form:
        resources:
            - 'RofilTemplateMaster:Form:fields.html.twig'



##Dump Asset##
app/console assets:install
##Assetic Dump
php app/console assetic:dump
##Usage##
in template you can extends our template by using 
{% extends("RofilTemplateMasterBundle:one-column.html.twig") %} {% block "content" %} ... {% endblock %}

for one column template or for two column template by using
{% extends("RofilTemplateMasterBundle:one-column.html.twig") %} {% block "sidebar" %} ... {% endblock %} {% block "content" %} ... {% endblock %}

the available block that availabel to override are header, navigation, title, layout and footer., (*6)

The Versions

15/08 2015

dev-master

9999999-dev

The default template for rofil application

  Sources   Download

MIT

by Rofilde Hasudungan Sitorus Pane

bundle symfony theme