Thursday, August 15, 2013

Sonata PageBundle

root@my-ubuntu:/var/www/symfony# php app/console sonata:page:create-site
Please define a value for Site.name : ASF Network
Please define a value for Site.host : symfony
Please define a value for Site.relativePath : /
Please define a value for Site.enabled : true
Please define a value for Site.enabledFrom : now
Please define a value for Site.enabledTo : +100 years
Please define a value for Site.default : true
Please define a value for Site.locale : -

Creating website with the following information :
  name : ASF Network
  site : http(s)://symfony
  enabled :  Thu, 15 Aug 2013 17:37:14 +0800 => Tue, 15 Aug 2113 17:37:14 +0800

Confirm site creation ?y

Site created !

You can now create the related pages and snapshots by running the followings commands:
  php app/console sonata:page:update-core-routes --site=4
  php app/console sonata:page:create-snapshots --site=4
root@my-ubuntu:/var/www/symfony#

No comments:

Post a Comment