構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Joshua Messina
Resources Browser not working for Web Content
2012/05/02 14:05
答え

Joshua Messina

ランク: Junior Member

投稿: 30

参加年月日: 2012/04/13

最近の投稿

I am currently trying to rebuild my site, and I want to use a web content display on the main page to display an image. The issue I am having is that when I go to add an image to the web content, the resources browser doesn't seem to do anything. The window opens but then disappears, though it still appears on the taskbar. I wouldn't be too concerned about that if I knew the proper way to resolve content pathways on my server. If I have a file stored in E:\Documents and Settings\Administrator\My Documents\My Pictures that I want to use, what do I type in the URL field of the web content image properties window? Simply typing the path to the image doesn't seem to work.
Hitoshi Ozawa
RE: Resources Browser not working for Web Content
2012/05/02 20:51
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7990

参加年月日: 2010/03/23

最近の投稿

Can you upload your file from Control Panel -> Document and Media library?
Joshua Messina
RE: Resources Browser not working for Web Content
2012/05/03 8:13
答え

Joshua Messina

ランク: Junior Member

投稿: 30

参加年月日: 2012/04/13

最近の投稿

I have done that as well, and it worked, but I don't know how to get it from the documents and media library into the web content. Is there some way to do this?
Hitoshi Ozawa
RE: Resources Browser not working for Web Content
2012/05/03 8:34
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7990

参加年月日: 2010/03/23

最近の投稿

The difficult part is selecting the right scope (in the past post, I've selected the "Global" scope) before selecting the Documents and Media library in the Control Panel. You'll need to select the right scope. When you do, the image files should appear when you select the "image" icon -> Browser Server button.
Joshua Messina
RE: Resources Browser not working for Web Content
2012/05/03 9:19
答え

Joshua Messina

ランク: Junior Member

投稿: 30

参加年月日: 2012/04/13

最近の投稿

The problem still exists. When I press the Browse Server button the Resources Browser window opens but then disappears, leaving only its button on the taskbar to indicate that it even opened in the first place. I can take a screen shot if that would be more helpful.
Hitoshi Ozawa
RE: Resources Browser not working for Web Content
2012/05/03 9:44
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7990

参加年月日: 2010/03/23

最近の投稿

I can take a screen shot if that would be more helpful.


That would be helpful.

Another way is to go to Control Panel -> Documens and Media library and get the url of the image.

Go back to the Web Content portlet and select the "source" button and entering <img src="url of image" /> to see if this works.

Anyways, I'm not sure why the popup is closing. Are you on linux? Are you sure there aren't any errors in the console or log file?
Joshua Messina
RE: Resources Browser not working for Web Content
2012/05/03 12:44
答え

Joshua Messina

ランク: Junior Member

投稿: 30

参加年月日: 2012/04/13

最近の投稿

Hitoshi Ozawa:
Another way is to go to Control Panel -> Documens and Media library and get the url of the image.


That actually did it. Thanks!