Uploading fotos by users

Author Message

Semen Shekhovtsov

Tuesday 29 August 2006 2:34:58 pm

Is there any ways to make an instrument on any panel of "User site" to allow users upload fotos like admin.

Pascal von Büren

Wednesday 30 August 2006 12:45:34 am

Hi,

there's an useful article in the "Tips & Tricks" Section in the old (deprecated) documentation:
http://ez.no/products/ez_publish/documentation/customization/tips_tricks/editing_creating_and_removing_content_from_the_user_page

But to give you specific help, you should describe your intentions more clearly, as there are some cliffs you need to keep in mind.

Do you want your users to have their own "album folders" or just one big <i>picdump</i>?

Semen Shekhovtsov

Wednesday 30 August 2006 4:05:00 am

just one big picdump

Semen Shekhovtsov

Thursday 31 August 2006 10:51:37 am

Into witch template should i insert:

{section show=count($node.object.can_create_class_list)}
<form method="post" action={"/content/action"|ezurl}>
<input type="hidden" name="NodeID" value="{$node.node_id}" />
<select name="ClassID">
{section var=class loop=$node.object.can_create_class_list}
<option value="{$class.id}">{$class.name|wash}</option>
{/section}

<input type="submit" name="NewButton" value="{'Create here'|i18n('design/standard/node/view')}" />
</form>
{/section}

Norman Leutner

Friday 01 September 2006 7:08:00 am

Depends on where you want the button to be displayed....

At first you need to edit the user roles and give the user the right to create images.
Then take a look at the attribute_view_gui within the documentation and create your own edit template.

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

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