Question about eZ possibilities

Author Message

Noicokuna Niemoge

Friday 24 April 2009 3:37:35 am

Hi;

I'm working on one project, in which several advanced features must be added.

Can I:

1. Display products in such a way that near each product there's a checkbox and below is one "submit" button, adding all selected products in a bulk to shopping cart?

2. Can eZ load data as objects from external MySQL database, or at least from foreign tables in the same database as eZ?

3. Is there a possibility to define a second level of access for a user, password-protected?

That would be all. Do you have any ideas?

Shiki soku ze ku...

Arnoud van Steen

Friday 24 April 2009 4:31:08 am

Hi :)

1: cannot confirm for sure, I have not worked with the shopping cart in Ez Publish yet.
Guessing by the api I've seen of other aspects of Ez Publish, this should be possible.

2: Definitely yes, from the same database, you can create new tables in it and use the database objects or your own queries to retrieve the data. Not sure about the external database, that would be an interesting thing to check :)

3. Just a protected area within the site you mean? Seeing Ez Publish has a lot of options for user groups, their roles and policies etc.. this should be no problem.
See if these articles answer your question:
http://ez.no/developer/articles/section_segmentation_and_user_permissions_part_1_of_2
http://ez.no/developer/articles/section_segmentation_and_user_permissions_part_2_of_2

Good luck :)

Noicokuna Niemoge

Friday 24 April 2009 6:57:20 am

Hi;

Thank you for reply, do you possibly know where I can learn more about database objects? :)

Shiki soku ze ku...

Arnoud van Steen

Friday 24 April 2009 7:07:45 am

For one there's an interesting article about creating extensions to Ez Publish, you might want to go through this to learn how to add functionality. In there is also a part where an additional table to the database is created and used.

Besides that, there's limited info in the documentation, API etc, most useful is to look in the filestructure of Ez Publish and find the php code there. At least the files dealing with the database also have DB in them. :)

Noicokuna Niemoge

Friday 24 April 2009 7:17:53 am

Hi again :)

Thank you for the hint. :) I'll check these articles out! :)

As for User permissions, I want to create a system in which several people will log in by the same username. Let's call it Level 1 of access. Now, a "chief" of that group of people will be able to enter level 2 access, by putting in another password.

So either one username will have two passwords that will open various level of access, or one username will have one password, and then there will be another restricted area in it, to access which another password must be used.

sounds a bit complicated... :/

Shiki soku ze ku...

Arnoud van Steen

Monday 27 April 2009 7:14:50 am

hi :)

Isnt it a whole lot easier to create two types of users? One that can access part of the restricted area and one that can access everything (level 2) of that restricted area?
The user that can access level 2 will only have to log in once as well in this case.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.