Member add content from the front

Author Message

David Santiso

Saturday 18 December 2010 9:26:25 am

Hi,

I'm developing a website as my final race and I decided to use eZ Publish,but I just gotta know how to do things.

I want the members who enter the front of the page, click on a main menu option and displayed a form that allows them to add a particular content type.
I think the first thing you should do is create a class with the new type of content. No? How should I continue?
Anybody could help me?
Thank you very much,

David

Robin Muilwijk

Saturday 18 December 2010 11:30:41 am

Hi David,

Welcome to the community forums of eZ Publish. Do you have eZ Webin or eZ Flow installed along with eZ itself? For example, with eZ Webin you already have the frontend toolbar which allows for "editors" to add content.

If you require a certain type of content, then you indeed need to set that up first as a new content class. What you need to do then, is to go to "User accounts" in the backend and adjust the roles/policies of the group your members are in that are allowed to add/edit the new content.

If you need more details, please let us know.

Kind regards, Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

David Santiso

Sunday 19 December 2010 7:29:14 am

Thanks.

Yes, I have installed eZ Flow.

I have created a new type of content where the member must enter information in some fields. I added this form in the front-end, but does not appear the option in the main menu and the content. I've also adjusted the roles to allow the creation of such content.

I have other questions. For example, how do I put a button (submit) to send the information to the database, similar to the type of content feedback?

I think you have to edit a template, but not what it is.

Thanks again. Kind regards,

David

Robin Muilwijk

Sunday 19 December 2010 10:59:11 am

Hi David,

What do you get when you login with your admin account on the frontend? You should get the toolbar, with the small eZ logo, a drop down right next to it and some buttons. This is to add content, no need for a submit button, if I understand you correctly in what you are trying to accomplish.

-- Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

David Santiso

Sunday 19 December 2010 1:39:55 pm

Yes, I've already done this, but what I want to do is that a user (no-admin) can add and see this type of content. For example, like a registration form, but with other information.

Sorry, but I don't know how to explain myself better in English.

Romeo Antony

Monday 20 December 2010 12:38:28 am

Hi David,

If I understand you correctly you are trying to display a form that users can submit and submitted data needs to be in the database.

To achive this, you should be famiar with some basic things.

1. if you are a beginner in ezp, firt try to understand the ezp directory structure.

2. template laguage.

3. If you need a form , there is alread feedbackform from comes with ez package., (it is like a contact us form users can submit datas)

You may add a feedback form from the eztoolbar( as Robin pointed out to use websitetoolbar).

And see the working so that later on you can try developing your own custom form.

Also try to examine this tutoral would be a better idea.

http://share.ez.no/learn/ez-publish/how-to-create-ez-publish-forms

Regards

Romeo

Steven E. Bailey

Monday 20 December 2010 3:11:22 am

"

Yes, I've already done this, but what I want to do is that a user (no-admin) can add and see this type of content. For example, like a registration form, but with other information.

Sorry, but I don't know how to explain myself better in English.

"

I think what you want is to enable editing on the front end in the roles. What you are saying is admin gets the edit toolbar but other users do not?

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

David Santiso

Monday 20 December 2010 10:46:10 am

Yes, I want to put a form on the front and an option on the main menĂº. Users can add information to this form, to be displayed in other sections. Users can also edit and delete your information.

Already tried to use the form feefback, but I need to put more fields, for example pictures, maps, address, etc.

I also tried to create my own form by creating a class, but when I add in the front, does not appear. I think I have all the necessary permissions.

Despite this, I've seen that the feedback form has a button to submit the data added. I don't know put this button in my form. I guess I have to edit templates but do not know which.

Thanks,

David

David Santiso

Monday 20 December 2010 10:59:28 am

I think the tutorial can help me, but explains little.

Robin Muilwijk

Saturday 08 January 2011 12:13:26 am

Hi David,

Have you been able to find a solution to your problem yet?

-- Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

David Santiso

Saturday 08 January 2011 3:22:48 am

Yes, thanks.

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