掲示板

Resources Browser not working for Web Content

thumbnail
11年前 に Joshua Messina によって更新されました。

Resources Browser not working for Web Content

Junior Member 投稿: 30 参加年月日: 12/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.
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Resources Browser not working for Web Content

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Can you upload your file from Control Panel -> Document and Media library?
thumbnail
11年前 に Joshua Messina によって更新されました。

RE: Resources Browser not working for Web Content

Junior Member 投稿: 30 参加年月日: 12/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?
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Resources Browser not working for Web Content

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
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.
thumbnail
11年前 に Joshua Messina によって更新されました。

RE: Resources Browser not working for Web Content

Junior Member 投稿: 30 参加年月日: 12/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.
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Resources Browser not working for Web Content (回答)

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
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?
thumbnail
11年前 に Joshua Messina によって更新されました。

RE: Resources Browser not working for Web Content

Junior Member 投稿: 30 参加年月日: 12/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!