2017 © Pedro Peláez
 

symfony-bundle frontpage-bundle

Simple frontpage if your project needs no frontpage but a 404-page is just plain ugly.

image

emiliomg/frontpage-bundle

Simple frontpage if your project needs no frontpage but a 404-page is just plain ugly.

  • Wednesday, December 23, 2015
  • by emiliomg
  • Repository
  • 0 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

EmilioMg Frontpage Bundle

This Symfony-Bundle provides an easy to use generic Frontpage., (*1)

Installation

1) Add the bundle in your composer.json:, (*2)

"require": {
    "emiliomg/frontpage-bundle": "~1.0"
}

2) Register the bundle in app/AppKernel.php:, (*3)

// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new EmilioMg\FrontpageBundle\EmilioMgFrontpageBundle(),
    );
}

3) Import the routing definition in app/config/routing.yml:, (*4)

# app/config/routing.yml
emiliomg_frontpage:
    resource: "@EmilioMgFrontpageBundle/Resources/config/routing.yml"
    prefix:   /

4) Install the assets, (*5)

    $ bin/console assets:install

5) (Optional) Enable the bundles configuration in app/config/config.yml:, (*6)

# app/config/config.yml
emilio_mg_frontpage: ~  

Configuration

The default text is rather generic. If you want to use your own text (which is recommended), override the bundle's config in app/config/config.yml:, (*7)

emilio_mg_frontpage:
    text: "The text I want to display. Text in #hashtags# will be emphasised."
    title: "The Title of the page. If not set, the title will equal the text."

The Versions

23/12 2015

dev-master

9999999-dev

Simple frontpage if your project needs no frontpage but a 404-page is just plain ugly.

  Sources   Download

MIT

The Requires

 

by Emilio Markgraf

simple frontpage

23/12 2015

1.0.1

1.0.1.0

Simple frontpage if your project needs no frontpage but a 404-page is just plain ugly.

  Sources   Download

MIT

The Requires

 

by Emilio Markgraf

simple frontpage

22/12 2015

1.0.0

1.0.0.0

  Sources   Download

The Requires

 

by Emilio Markgraf