eZ Community » Forums » Developer » Override and siteaccess
expandshrink

Override and siteaccess

Override and siteaccess

Friday 21 September 2012 12:18:23 pm - 8 replies

Hi,

Is it possible to override a class or an object for all the siteaccess excepting one ? If i have 20 siteaccess, i don't want to duplicate my override on all of them, but i don't want this override on the admin siteacces...

Thank you !

Friday 21 September 2012 12:55:14 pm

Hi Paul

It is not possible in eZ Publish 4. The official solution is to use symlinks to avoid duplication.

In eZ Publish 5, it will be possible to define siteaccess groups, so you will be able to define common settings (like template match settings).

Friday 21 September 2012 1:40:36 pm

You can also set up an extension with the front end settings that are share and add that extension to the as an ActiveAccessExtension.  If you don't have much difference in the settings that's the way I would go.

Friday 21 September 2012 2:33:34 pm

Hi Paul,

We have a patch for that - but it is only interesting for ezinstallations with several projects (different) dbs.

For single installations you can use an separate extension.

http://issues.ez.no/IssueView.php?Id=12747&activeItem=2

This patch adds an override folder to an extension with siteaccesses.

An additional patch (not publich available) groups siteacces depending on naming (the patch works similar the above one)

extension
+ settings
  + override (new)
  + override__sa_user (is add if siteaccess sa_user__a or sa_user__b is active - overrides sa settings)
  + siteacccess
    + sa_user__a
    + sa_user__b
    + sa_admin

The grouping of siteaccess is done by naming  '__'.
For sa_user__a the ini location for parsing 'override__sa_user' is added.

Saturday 22 September 2012 11:29:19 am

Thanks for your answers ! As eZPublish 5 is very soon available with eZ community project 2012.9, i think i'm going to wait a little bit more blunk.gif Emoticon !

Monday 24 September 2012 9:48:32 am

Quote from Paul FROMAGE :

Thanks for your answers ! As eZPublish 5 is very soon available with eZ community project 2012.9, i think i'm going to wait a little bit more blunk.gif Emoticon !

 

HI.

I'm sure Jérôme  can shed some more light on this - and maybe I am incorrect, but:

Um....  Well.. I don't think that there is any eZ Publish 5 project that will be ready for production use in 2012.9 or perhaps any time this fall.  The development roadmap may be available now - not sure.. But in general, the inference over the past few months was that the fall would see an alpha version and probably Beta for the end of the year or something similiar.  The guys are hard at work for sure(15-20 commits a week), but there is still alot to be done.
My suggestion:

  • Small project that can be migrated over using Legacy kernel (BC)
    Go ahead -have fun with ezp5 understanding it is still under heavy development..
  • New small project
    Go ahead - have fun with ezp5 understanding it is still under heavy development (this would be a good way to give feedback/testing, btw).
  • Existing projects with any amount of extensions/modules/hacks/etc
    Let ezPublish 4.x be your friend a bit longer and implement one of the solutions suggested above.

Even if you do stick with ezp4.x(my suggestion), perhaps you could still give ezp5 a whirl with what you intended on doing -so that some external feedback/testing could be gained by the development team.

Monday 24 September 2012 4:44:42 pm

Quote from David Ennis :

The guys are hard at work for sure(15-20 commits a week), but there is still alot to be done.

I think you're looking at the wrong repository blunk.gif Emoticon. We're more at a ~200 commits/day frequency (ref https://github.com/ezsystems/ezp-next/graphs/commit-activity)

Tuesday 25 September 2012 9:14:16 am

Quote from Jérôme Vieilledent :
Quote from David Ennis :

The guys are hard at work for sure(15-20 commits a week), but there is still alot to be done.

I think you're looking at the wrong repository blunk.gif Emoticon. We're more at a ~200 commits/day frequency (ref https://github.com/ezsystems/ezp-next/graphs/commit-activity)

 

OK.. Thanks for the clarification.... but does that infer or mean that this guy can have a workable system in 09.2012 community release happy.gif Emoticon

It looks like he is considering waiting because of understanding that ezP5 will solve the original issue possibly in the (very) near future.  If so, great. If not, the there is nothing wrong with making that clear so that he can try to solve it with the tools that will be available for the foreseeable future....

Tuesday 25 September 2012 9:51:05 am

Well, it's true that 2012.9 will still be immature regarding v5 stack, but we're going to be in feature freeze soonish, so it worths it IMHO.

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from