Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Joshua Messina
Resources Browser not working for Web Content
2 de Maio de 2012 14:05
Resposta

Joshua Messina

Ranking: Junior Member

Mensagens: 30

Data de entrada: 13 de Abril de 2012

Mensagens recentes

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
2 de Maio de 2012 20:51
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 8000

Data de entrada: 23 de Março de 2010

Mensagens recentes

Can you upload your file from Control Panel -> Document and Media library?
Joshua Messina
RE: Resources Browser not working for Web Content
3 de Maio de 2012 08:13
Resposta

Joshua Messina

Ranking: Junior Member

Mensagens: 30

Data de entrada: 13 de Abril de 2012

Mensagens recentes

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
3 de Maio de 2012 08:34
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 8000

Data de entrada: 23 de Março de 2010

Mensagens recentes

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
3 de Maio de 2012 09:19
Resposta

Joshua Messina

Ranking: Junior Member

Mensagens: 30

Data de entrada: 13 de Abril de 2012

Mensagens recentes

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
3 de Maio de 2012 09:44
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 8000

Data de entrada: 23 de Março de 2010

Mensagens recentes

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
3 de Maio de 2012 12:44
Resposta

Joshua Messina

Ranking: Junior Member

Mensagens: 30

Data de entrada: 13 de Abril de 2012

Mensagens recentes

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!