Using sharethisBundle
Welcome to sharethisBundle - a Symfony bundle to make share This buttons, (*1)
, (*2)
Installation
Step 1: Download the Bundle
~~~~~~~~~~~~~~~~~~~~~~~~~~~, (*3)
Open a command console, enter your project directory and execute the
following command to download the latest stable version of this bundle:, (*4)
$ composer require stiti/sharethisbundle 1.0.x-dev
Step 2: Enable the Bundle
~~~~~~~~~~~~~~~~~~~~~~~~~, (*5)
Then, enable the bundle by adding the following line in the app/AppKernel.php
file of your project:, (*6)
<?php
// app/AppKernel.php
// ...
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ...
new SharethisBundle\SharethisBundle(),
);
// ...
}
// ...
}
Usage
In your template twig insert this code
{{ nestedMenu() }}, (*7)
Administration Nested Menu
{{ nestedMenu() }}, (*8)