eZ Community » Forums » eZ Publish 5 Platform » Use a different database for a...
expandshrink

Use a different database for a siteaccess

Use a different database for a siteaccess

Tuesday 07 January 2014 10:10:42 am - 2 replies

Hi,

I use the new version of eZ Publish. I have two siteaccess in legacy mode, and i want to create a new siteaccess with the symfony mode. But i don't want to use the database ezpublish and create new database with Doctrine. It's possible ?

Thanks

Djoo

Tuesday 07 January 2014 11:11:10 am

You need to play around with the symfony 2 routing system in some bundle, it is possible to override any ez publish path, including the root '/'. In fact, eZ publish 5 routing looks like a fallback. So, in your controller you could use doctrine in some way before displaying the view template.

I don't know if it will help, but I made some tutorial about the multisite feature in eZ5, I still think you need just to play around with the routing system in symfony 2, but you can check them anyways:

http://www.youtube.com/watch?v=frHESUKRoRE

http://www.youtube.com/watch?v=Qw19rgPBxvk

http://www.youtube.com/watch?v=ZSaTQK46OBY

http://www.youtube.com/watch?v=Axc-16mtcIs

Modified on Tuesday 07 January 2014 11:25:29 am by Thiago Campos Viana

Friday 10 January 2014 9:34:34 am

Hi,

Thanks for your answer. I will see your screencasts happy.gif Emoticon

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from