留言板

[Liferay 7] Convert old website to liferay 7

Nam Trương,修改在7 年前。

[Liferay 7] Convert old website to liferay 7

New Member 帖子: 13 加入日期: 15-8-6 最近的帖子
Hello everyone,

I have a news website and now i want to move it to liferay 7. I'm creating a portlet to convert category and news table form my old website to assetCategory and web content in liferay 7. I have had success with the category table but i don't know what to do with news table. Please tell me how to solve. Thanks you

p/s: my English very bad
Nam Trương,修改在7 年前。

RE: [Liferay 7] Convert old website to liferay 7

New Member 帖子: 13 加入日期: 15-8-6 最近的帖子
Please help me emoticon
thumbnail
Sushil Patidar,修改在7 年前。

RE: [Liferay 7] Convert old website to liferay 7

Expert 帖子: 467 加入日期: 11-10-31 最近的帖子
Hi,
Go though the upgrade process link. I think that should help you to upgrade to Liferay7.

Regards
thumbnail
Paras Jain,修改在7 年前。

RE: [Liferay 7] Convert old website to liferay 7

New Member 帖子: 16 加入日期: 09-6-9 最近的帖子
Can you tell more about your news table?
Look at asset framework documentation
Also how to leverage asset frame for custom entities
https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/adding-updating-and-deleting-assets-for-custom-entities
Nam Trương,修改在7 年前。

RE: [Liferay 7] Convert old website to liferay 7

New Member 帖子: 13 加入日期: 15-8-6 最近的帖子
My old website was not built by liferay. News table structre is:
Id
CateId
Title
summary
Content
UserId
Image
CreateDate
Url
I was converted categoryid to assetcategory
thumbnail
Sushil Patidar,修改在7 年前。

RE: [Liferay 7] Convert old website to liferay 7

Expert 帖子: 467 加入日期: 11-10-31 最近的帖子
Hi,

I think you may map following fields to asset category.
Id
CateId
Title
summary
UserId
CreateDate

For other field like content and image, you can use web content if content is large and map categories to web content.

Regards