Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
add image in documents and media portlet liron bar December 12, 2011 4:38 AM
RE: add image in documents and media portlet liron bar December 13, 2011 5:03 AM
RE: add image in documents and media portlet Sandeep Nair December 13, 2011 5:10 AM
RE: add image in documents and media portlet liron bar December 13, 2011 5:19 AM
RE: add image in documents and media portlet Sandeep Nair December 13, 2011 5:23 AM
RE: add image in documents and media portlet liron bar December 13, 2011 5:32 AM
RE: add image in documents and media portlet Sandeep Nair December 13, 2011 5:36 AM
RE: add image in documents and media portlet liron bar December 13, 2011 5:54 AM
RE: add image in documents and media portlet Juan Carrey Labarta December 13, 2011 5:57 AM
RE: add image in documents and media portlet liron bar December 13, 2011 5:59 AM
RE: add image in documents and media portlet Sandeep Nair December 13, 2011 6:00 AM
RE: add image in documents and media portlet liron bar December 13, 2011 6:05 AM
RE: add image in documents and media portlet Sandeep Nair December 13, 2011 6:13 AM
RE: add image in documents and media portlet André Ligeiro April 16, 2012 2:47 AM
RE: add image in documents and media portlet Shamik Hore May 2, 2012 10:16 PM
RE: add image in documents and media portlet Hitoshi Ozawa May 3, 2012 5:04 AM
RE: add image in documents and media portlet Shamik Hore May 4, 2012 12:12 AM
RE: add image in documents and media portlet devaraj s June 12, 2012 12:10 AM
RE: add image in documents and media portlet Dipanjan Das December 18, 2012 10:16 AM
RE: add image in documents and media portlet devaraj s December 20, 2012 12:52 AM
RE: add image in documents and media portlet Dipanjan Das February 8, 2013 3:27 PM
RE: add image in documents and media portlet Adeel Aslam August 14, 2013 6:16 PM
RE: add image in documents and media portlet Daniel Tyger November 14, 2013 12:04 PM
liron bar
add image in documents and media portlet
December 12, 2011 4:38 AM
Answer

liron bar

Rank: Junior Member

Posts: 29

Join Date: September 27, 2011

Recent Posts

hello!

i'm using liferay 6.1,
i want to upload images into documents and media portlet, but the add button doesnt apper.

what can i do?

thanks!
liron.
liron bar
RE: add image in documents and media portlet
December 13, 2011 5:03 AM
Answer

liron bar

Rank: Junior Member

Posts: 29

Join Date: September 27, 2011

Recent Posts

anyone?
this is very importent for me.

liron.
Sandeep Nair
RE: add image in documents and media portlet
December 13, 2011 5:10 AM
Answer

Sandeep Nair

Rank: Liferay Legend

Posts: 1692

Join Date: November 5, 2008

Recent Posts

I am seeing the Add image option. Which version of Liferay 6.1 are you using. I am trying this in Liferay 6.1 beta 4
Attachment

Attachments: document_media.JPG (76.2k)
liron bar
RE: add image in documents and media portlet
December 13, 2011 5:19 AM
Answer

liron bar

Rank: Junior Member

Posts: 29

Join Date: September 27, 2011

Recent Posts

hi sandeep,

thanks for the response,

i'm using the same version like you. but i'm not seeing this button.

do i need to install something for this portlet?

liron.
Sandeep Nair
RE: add image in documents and media portlet
December 13, 2011 5:23 AM
Answer

Sandeep Nair

Rank: Liferay Legend

Posts: 1692

Join Date: November 5, 2008

Recent Posts

No, I dnt think so.That is vanilla instance deployed on jelastic cloud. Can you please check the exact version of Liferay 6.1 you are using. Is it beta 3 or beta 4?

Regards,
Sandeep
liron bar
RE: add image in documents and media portlet
December 13, 2011 5:32 AM
Answer

liron bar

Rank: Junior Member

Posts: 29

Join Date: September 27, 2011

Recent Posts

beta 4. just like you.

liron.
Sandeep Nair
RE: add image in documents and media portlet
December 13, 2011 5:36 AM
Answer

Sandeep Nair

Rank: Liferay Legend

Posts: 1692

Join Date: November 5, 2008

Recent Posts

Can you please attach the screen shot. Is it the admin user you are trying to access this? Which browser are you testing it on.

Check the follwoing link and see if you are able to see the icon.

http://liferayb4.jelastic.servint.net
username: test@liferay.com
password: test

Regards,
Sandeep
liron bar
RE: add image in documents and media portlet
December 13, 2011 5:54 AM
Answer

liron bar

Rank: Junior Member

Posts: 29

Join Date: September 27, 2011

Recent Posts

i've tries from every liferay user.
i'm using explorer 9.

in the link you send me i was able to see the add buttin.
but in my program i still cant see it.

liron.
Attachment

Attachments: Untitled.png (272.1k)
Juan Carrey Labarta
RE: add image in documents and media portlet
December 13, 2011 5:57 AM
Answer

Juan Carrey Labarta

Rank: Junior Member

Posts: 31

Join Date: August 15, 2011

Recent Posts

Haven't tested it yet, but have you tryed to change from Home to Images on the left hand side ?
liron bar
RE: add image in documents and media portlet
December 13, 2011 5:59 AM
Answer

liron bar

Rank: Junior Member

Posts: 29

Join Date: September 27, 2011

Recent Posts

yes i tried all the options...
Sandeep Nair
RE: add image in documents and media portlet
December 13, 2011 6:00 AM
Answer

Sandeep Nair

Rank: Liferay Legend

Posts: 1692

Join Date: November 5, 2008

Recent Posts

Ok so its not a browser issue. Now the only difference i see is may be version of bundle. Can you try two things

1) Download the liferay tomcat bundle again and check again

2) In the link i shared you, i configured liferay on cloud. That is i downloaded the war and dependency jars and deployed on existing tomcat. Is it possible for you to do the same, if option 1 fails

Regards,
Sandeep
liron bar
RE: add image in documents and media portlet
December 13, 2011 6:05 AM
Answer

liron bar

Rank: Junior Member

Posts: 29

Join Date: September 27, 2011

Recent Posts

can you please explain me the second option.
i didnt understand what i need to do.

thanks,
liron.
Sandeep Nair
RE: add image in documents and media portlet
December 13, 2011 6:13 AM
Answer

Sandeep Nair

Rank: Liferay Legend

Posts: 1692

Join Date: November 5, 2008

Recent Posts

Second option is not to download and run the bundle. But to have liferay installed manually on a plain tomcat.

More about this is in this link

http://www.liferay.com/documentation/liferay-portal/6.0/administration/-/ai/installing-liferay-for-an-enterpri-4

Check this section Installing Liferay on an Existing Application Server

REgards,
Sandeep
André Ligeiro
RE: add image in documents and media portlet
April 16, 2012 2:47 AM
Answer

André Ligeiro

Rank: New Member

Posts: 1

Join Date: April 16, 2012

Recent Posts

Hi,

I need to read a list of images from documents and media folder. I´m using Liferay 6.1 and I know that I need to use DLAppServiceUtil.

Can someone give me an example how to do it in (edit.jsp)?

Thank you very much.
Shamik Hore
RE: add image in documents and media portlet
May 2, 2012 10:16 PM
Answer

Shamik Hore

Rank: New Member

Posts: 10

Join Date: April 18, 2012

Recent Posts

Hiii All ,

Can you please explain how to read and add images and videos from Document and Media portlet in my custom portlet ?
And what is the API for this ?


Thanks
Shamik
Hitoshi Ozawa
RE: add image in documents and media portlet
May 3, 2012 5:04 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

The "Add" button is appearing in the Documents and Media library in Liferay 6.1.0 GA1 and there isn't any problem uploading image files.

You don't need to use API to add images. After logging in, just select "Go to" and select "Control Panel" -> "Documents and Media library".

That should answer that topic of this thread.

If you have different question from the topic of this thread, please create a new thread and not post to this thread.
Shamik Hore
RE: add image in documents and media portlet
May 4, 2012 12:12 AM
Answer

Shamik Hore

Rank: New Member

Posts: 10

Join Date: April 18, 2012

Recent Posts

Hi Hitoshi,
Thanks for your reply.
But I think you didn't understand properly what i want to know... emoticon
I want to add Images in Document and Media portlet programatically.
Ok I have found out the API its DLAppServiceUtil

Thanks ,
Shamik
devaraj s
RE: add image in documents and media portlet
June 12, 2012 12:10 AM
Answer

devaraj s

Rank: Regular Member

Posts: 206

Join Date: May 21, 2012

Recent Posts

hi ,
according to shamik hore requirement, i also need same as that. I mean to do this, I want to write a program in outside liferay enviornment by using API. If so plz can any one help me with simple source code explanation.
Dipanjan Das
RE: add image in documents and media portlet
December 18, 2012 10:16 AM
Answer

Dipanjan Das

Rank: Junior Member

Posts: 30

Join Date: September 28, 2012

Recent Posts

devaraj s:
hi ,
according to shamik hore requirement, i also need same as that. I mean to do this, I want to write a program in outside liferay enviornment by using API. If so plz can any one help me with simple source code explanation.


Are you able to do it ? i.e. are you able to upload or download media files remotely in Liferay 6.1 ? Please reply, its urgent...
devaraj s
RE: add image in documents and media portlet
December 20, 2012 12:52 AM
Answer

devaraj s

Rank: Regular Member

Posts: 206

Join Date: May 21, 2012

Recent Posts

Mac D:
devaraj s:
hi ,
according to shamik hore requirement, i also need same as that. I mean to do this, I want to write a program in outside liferay enviornment by using API. If so plz can any one help me with simple source code explanation.


Are you able to do it ? i.e. are you able to upload or download media files remotely in Liferay 6.1 ? Please reply, its urgent...



Follow this thread.
Dipanjan Das
RE: add image in documents and media portlet
February 8, 2013 3:27 PM
Answer

Dipanjan Das

Rank: Junior Member

Posts: 30

Join Date: September 28, 2012

Recent Posts

I am able to uploaddocument and media files remotely on Liferay 6.1 GA2 but NOT GA1; because it does not provides method addFileEntry() on DLFileEntryService.
Adeel Aslam
RE: add image in documents and media portlet
August 14, 2013 6:16 PM
Answer

Adeel Aslam

Rank: New Member

Posts: 18

Join Date: December 8, 2012

Recent Posts

Hi,

I have Add Button in Document and Media Portlet exception in 2 of the three machines I use the same bundle of Liferay at.

On two machines Add button is visible.

Trying to look at the log only reveals that there is Null pointer exception java.lang.NullPointerException
04:12:40,075 ERROR [http-thread-pool-8012(40)][IncludeTag:154] java.lang.NullPointerException
at org.apache.jsp.html.portlet.document_005flibrary.add_005fbutton_jsp._jspService(add_005fbutton_jsp.java:1290)

Adeel Aslam
Daniel Tyger
RE: add image in documents and media portlet
November 14, 2013 12:04 PM
Answer

Daniel Tyger

Rank: Junior Member

Posts: 55

Join Date: February 5, 2013

Recent Posts

Adeel Aslam:
Hi,

I have Add Button in Document and Media Portlet exception in 2 of the three machines I use the same bundle of Liferay at.

On two machines Add button is visible.

Trying to look at the log only reveals that there is Null pointer exception java.lang.NullPointerException
04:12:40,075 ERROR [http-thread-pool-8012(40)][IncludeTag:154] java.lang.NullPointerException
at org.apache.jsp.html.portlet.document_005flibrary.add_005fbutton_jsp._jspService(add_005fbutton_jsp.java:1290)

Adeel Aslam


Adeel - I am having this same issue - I have not found a solution anywhere and I am not using db sharding - using the tomcat bundle for 6.1 GA2 or the latest GA3 bombs on me in the Control Panel Docs and Media screen draws...

Have you found a solution?