Foren

Liferay 7 theme development

thumbnail
Syed Nasar, geändert vor 7 Jahren.

Liferay 7 theme development

Junior Member Beiträge: 64 Beitrittsdatum: 03.09.15 Neueste Beiträge
Hi ,
I got stuck in liferay 7 theme developing. I want to know whether there is easy way to create theme rather than this.

In addition, is there any way to create theme using plugin sdk as liferay 6.2?
thumbnail
Mohammad Azharuddin, geändert vor 7 Jahren.

RE: Liferay 7 theme development

Expert Beiträge: 492 Beitrittsdatum: 17.09.12 Neueste Beiträge
Not sure about the different approach . But it better to use new approach .
thumbnail
Boris Gligorijević, geändert vor 7 Jahren.

RE: Liferay 7 theme development (Antwort)

New Member Beiträge: 6 Beitrittsdatum: 17.08.15 Neueste Beiträge
Syed Nasar:
Hi ,
I got stuck in liferay 7 theme developing. I want to know whether there is easy way to create theme rather than this.

In addition, is there any way to create theme using plugin sdk as liferay 6.2?


Hi Nasar,

I believe you can use the old way of building theme, e.g. with maven or ant (sdk) based tools.
Then just deploy the war file, it should be converted to an osgi bundle by Liferay itself.
I have not tried it, however. Perhaps the better question is - what does not work with the new way?
Thirumal Reddy, geändert vor 7 Jahren.

RE: Liferay 7 theme development

Regular Member Beiträge: 216 Beitrittsdatum: 03.12.15 Neueste Beiträge
Hi
are we able to migrate 6.2 theme into 7 directly..?

Thanks..
thumbnail
Fernando Fernandez, geändert vor 7 Jahren.

RE: Liferay 7 theme development

Expert Beiträge: 396 Beitrittsdatum: 22.08.07 Neueste Beiträge
Thirumal Reddy:
Hi
are we able to migrate 6.2 theme into 7 directly..?
Thanks..


Probably not. For starters, Velocity is deprecated. Check https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/upgrading-themes.

HTH

Fernando
thumbnail
Syed Nasar, geändert vor 7 Jahren.

RE: Liferay 7 theme development

Junior Member Beiträge: 64 Beitrittsdatum: 03.09.15 Neueste Beiträge
Hi Boris,

Thank you for the suggestion.
After many struggle, at last I developed theme using ant and deployed successfully.
Thirumal Reddy, geändert vor 7 Jahren.

RE: Liferay 7 theme development

Regular Member Beiträge: 216 Beitrittsdatum: 03.12.15 Neueste Beiträge
Hi Syed Nasar,
how you developed.?
if you provide steps it will be helpful for others.

Thanks,
Thirumal.
thumbnail
Syed Nasar, geändert vor 7 Jahren.

RE: Liferay 7 theme development (Antwort)

Junior Member Beiträge: 64 Beitrittsdatum: 03.09.15 Neueste Beiträge
Thirumal Reddy:
Hi Syed Nasar,
how you developed.?
if you provide steps it will be helpful for others.

Thanks,
Thirumal.


1.Setup liferay 7 plugin sdk
2. Inside folder \plugin sdk\dependencies\com.liferay.css.builder \lib , put jars like "com.liferay.frontend.theme.unstyled",etc.
3.In build-common.xml, mention this jar.
4.change ftl to vm in liferay-look-and-feel.xml
5. deploy.
thumbnail
Gustavo Oliveira, geändert vor 7 Jahren.

RE: Liferay 7 theme development

Junior Member Beiträge: 98 Beitrittsdatum: 23.09.15 Neueste Beiträge
Syed Nasar:
Hi ,
I got stuck in liferay 7 theme developing. I want to know whether there is easy way to create theme rather than this.



I was wondering the same thing, whats the point of having a developer studio if we cant use it to create the most important feature . I think its temporary.