Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
IOS Hotels
and
IOS Rentals
online booking systems for Elxis CMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
upload pictures in frontend
« previous
next »
Print
Pages: [
1
]
Author
Topic: upload pictures in frontend (Read 5784 times)
elpego
Newbie
Posts: 22
upload pictures in frontend
«
on:
December 24, 2009, 09:28:05 »
hello everybody,
I have seen in the demo of elxis, that a user can upload a picture without knowing the url of it.
by searchin within his own files. It also works in the component "bubbles" that way.
Do I need an other editor?
------------------------------------
a merry christmas and a happy new year to everybody
«
Last Edit: December 24, 2009, 09:32:13 by elpego
»
Logged
Greetings from elpego
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: upload pictures in frontend
«
Reply #1 on:
December 24, 2009, 14:55:53 »
backup and then edit the following files =>
line ~383 mambots/editors/tinymce.php
//Row One of the Editor
$strRowOne = 'bold,italic,underline,bullist,numlist,forecolor,seperator,justifyleft,justifycenter,justifyright,justifyfull,formatselect,fontsizeselect'';
//Row Two of the Editor
$strRowTwo = 'link,unlink,seperator,image,
ibrowser
,seperator,undo,redo,seperator,cleanup,hr,seperator,ltr,rtl,seperator,pagebreak,media,abbr,acronym,cite,attribs,charmap,removeformat,help';
//Extra Plugins
$plugins = 'directionality,media,advimage,safari,xhtmlxtras,style,
ibrowser
';
line ~36 mambots/editors/tinymce/jscripts/tiny_mce/plugins/ibrowser/ibrowser.php
//remove upload, delete, rename, create capabilities for frontend except if user is a super administrator
if ((!$loggedBack) && ($my->gid != 25)) {
$cfg['upload'] =
true
;
$cfg['create'] = false;
$cfg['delete'] = false;
$cfg['rename'] = false;
}
use at your own risck - red text is where addition or modifications take place
Logged
ks-net.gr
elpego
Newbie
Posts: 22
Re: upload pictures in frontend
«
Reply #2 on:
December 25, 2009, 08:10:35 »
hi ks-net,
thank you very much for your answer, I will do so and let you know wether it works.
Logged
Greetings from elpego
elpego
Newbie
Posts: 22
Re: upload pictures in frontend
«
Reply #3 on:
December 25, 2009, 09:38:40 »
hi ks-net,
it works, but seems to be difficult for the users to get rid with it. The visitors of my site are Germans and I think they get problems to find out how it works.
Also, it is not the same I saw in the demo of Elxis cms.
Is there no other feature?, like in the component "Bubble". There it is very simple upload pictures from own files.
Logged
Greetings from elpego
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: upload pictures in frontend
«
Reply #4 on:
December 25, 2009, 16:42:21 »
this i have posted above is for content items ... when users submit articles... i don't know any other way for this.
what did you saw on elxis demo? the media manager? this is a tool for backend global-site-image-organize .... not all users have access to mediamanager.
what exactly those images are.... i mean what is the purpose of them, article content, gallery ,..?
what kind of users want to upload images? managers,authors, all registered users?
Logged
ks-net.gr
elpego
Newbie
Posts: 22
Re: upload pictures in frontend
«
Reply #5 on:
December 26, 2009, 09:06:33 »
hello ks-net,
thank you for answering that fast.
I have 2 Websites created with elxis. One is a Portal about Spain. If you want to have a look at it:
http://www.es-portal.net/EX/
. You will see at the front page, a user has posted 2 articles and the way it looks like, he did not know how to upload a picture.
On the other website I want registered users to do the same, post an article with uploading a picture.
Logged
Greetings from elpego
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: upload pictures in frontend
«
Reply #6 on:
December 26, 2009, 21:21:33 »
a registered user to upload - add pictures has to use ibrowser....
by default this is not enabled.
by applying the modifications, i gave above, you enable the ibrowser button at fronted editor and set permissions only for upload(not delete rename..etc) images
*****
if i understood well.. you say that is difficult for users to discover the button and find the way to add images in their articles?
if so... nothing can happen at this moment...this is the way that the editor works.. the same as works in backend-admin area.
the only thing you can do is to teach users how to use ibrowser plugging of the editor!
Logged
ks-net.gr
elpego
Newbie
Posts: 22
Re: upload pictures in frontend
«
Reply #7 on:
December 27, 2009, 08:42:22 »
hi ks-net,
thanks for your reply. If there is no other way, I do as you said, explain the user how the ibrowswer works.
By the way, just a short question: Is it possible, that each article shows the category-picture automaticly ? Would be nice for me.
Logged
Greetings from elpego
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
upload pictures in frontend