Fórum

Don't see download button on edit article

Uyen Do, modificado 9 Anos atrás.

Don't see download button on edit article

New Member Postagens: 7 Data de Entrada: 13/08/10 Postagens Recentes
I developing theme with import Resource.
I create web content with structure and template.
And i edit web content button i don't see download button to get article.xml as the guide on document liferay.
web content (based on structure and template): Edit the article, click Download to download it as a file article.xml. Create a folder for the template under resources-importer/journal/articles/, rename the downloaded article.xml file as desired, and copy it into the folder for the template. The web content article’s XML fills in the data required by the structure.


I click on admin on toolbar and select Content in Site Administration, chosen web content and chosen article to edit but i don't see anywhere download button!
Anybody can help me??
thumbnail
Krzysztof Golebiowski, modificado 9 Anos atrás.

RE: Don't see download button on edit article

Liferay Master Postagens: 549 Data de Entrada: 25/06/11 Postagens Recentes
Hello Uyen,
In 6.1 this button used to be next to preview button (only if custom structure was selected), check attached screenshot. However in 6.2 it has dissapeared! I don't know what happend, it is a question for Liferay developers. I see that it is not present in https://github.com/liferay/liferay-portal/blob/6.2.1-ga2/portal-web/docroot/html/portlet/journal/article_toolbar.jsp as well.

Anyway, you can always get this XML directly from database. Just open your database client and navigate to JournalArticle, find you article and copy value from Content column.

Regards,
KG
Uyen Do, modificado 9 Anos atrás.

RE: Don't see download button on edit article

New Member Postagens: 7 Data de Entrada: 13/08/10 Postagens Recentes
Krzysztof Golebiowski:
Hello Uyen,
In 6.1 this button used to be next to preview button (only if custom structure was selected), check attached screenshot. However in 6.2 it has dissapeared! I don't know what happend, it is a question for Liferay developers. I see that it is not present in https://github.com/liferay/liferay-portal/blob/6.2.1-ga2/portal-web/docroot/html/portlet/journal/article_toolbar.jsp as well.

Anyway, you can always get this XML directly from database. Just open your database client and navigate to JournalArticle, find you article and copy value from Content column.

Regards,
KG


Hello Krzysztof ,

Thanks for answer my question!

It's very helpful with me.

Best Regards,
thumbnail
Andew Jardine, modificado 9 Anos atrás.

RE: Don't see download button on edit article

Liferay Legend Postagens: 2416 Data de Entrada: 22/12/10 Postagens Recentes
Personally I am not seeing this as the best "work around". Is there a reason why this button was removed? I mean, if nothing else, one of the benefits of the resource importer is the ability to automatically create content when it runs.

(yes I know you can still export to a LAR and you can import LAR files are part of the resource importer -- not really the point though).
thumbnail
Byrån Zaugg, modificado 9 Anos atrás.

RE: Don't see download button on edit article

Expert Postagens: 252 Data de Entrada: 06/04/12 Postagens Recentes
Andew Jardine:
Is there a reason why this button was removed?


Some background and it's reintroduction is here: https://issues.liferay.com/browse/LPS-31355
And the commits: https://github.com/liferay/liferay-plugins/compare/29ad913%5E1...fe8f095730a69d32609b493fb0f811f9f812c256