Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
Roman Hoyenko
Creating a new theme
26 de Abril de 2011 09:08
Resposta

Roman Hoyenko

Community Moderator

Ranking: Liferay Master

Mensagens: 868

Data de entrada: 8 de Outubro de 2007

Mensagens recentes

I just installed Liferay and want to create a new theme for it. I started reading documentation and it says:

On Windows enter the following instead:

create.bat deep-blue "Deep Blue"

I can't find this create.bat file - where is it located? I also downloaded the development environment, but I don't see a new theme project there, there are ones for portlet, hook, service builder, template, but I don't see theme.

Can someone please point me to the right direction?

I would like to avoid installing IDE, I just want to have a separate project with ant build script - I work in corporate environment and I need to do builds on a different machine from the checked out source, so can't install IDE there.
Roman Hoyenko
RE: Creating a new theme
26 de Abril de 2011 09:17
Resposta

Roman Hoyenko

Community Moderator

Ranking: Liferay Master

Mensagens: 868

Data de entrada: 8 de Outubro de 2007

Mensagens recentes

Ok, I found a new theme creation in IDE, but I want to have an independent build with ant file - is it possible?

Also, looks like I need to hook to a runtime, I already have a weblogic runtime, is it possible to hook to it, or I need to create a new Tomcat one and then deploy manually onto weblogic?
Roman Hoyenko
RE: Creating a new theme
26 de Abril de 2011 09:51
Resposta

Roman Hoyenko

Community Moderator

Ranking: Liferay Master

Mensagens: 868

Data de entrada: 8 de Outubro de 2007

Mensagens recentes

Ok, just answering my questions, looks like PluginSDK is the way to go, found here:

http://www.liferay.com/downloads/liferay-portal/additional-files

I might write as I discover more issues.
Path Finder LifeRay
RE: Creating a new theme
29 de Abril de 2011 00:22
Resposta

Path Finder LifeRay

Ranking: Expert

Mensagens: 262

Data de entrada: 18 de Setembro de 2009

Mensagens recentes

Hi all,
I am back after a quite some time. Now I started LR 6.0 with themes. I created a new theme using cmd prompt(c:LR-6.0.6/themes/mytheme>create new "new") and I tried to deploy it using ant deploy.

But I am not able to deploy as it is giving the following error
1D:\netbeans_liferay\liferay-plugins-sdk-6.0.6\themes\build-common-theme.xml:114: The following error occurred while executi
2ng this line:
3D:\netbeans_liferay\liferay-plugins-sdk-6.0.6\themes\build-common-theme.xml:129: D:\netbeans_liferay\bundles\tomcat-6.0.29\
4lib\ext not found.


I don't find a solution for it.emoticon

Pls help me,


Thanks,
Sergio Gonzalez Barrios
RE: Creating a new theme
29 de Abril de 2011 05:54
Resposta

Sergio Gonzalez Barrios

Ranking: Junior Member

Mensagens: 65

Data de entrada: 26 de Abril de 2011

Mensagens recentes

To make a deploy you have to do it from cmd prompt using this command from your folder theme: ant deploy

In your situation:c:LR-6.0.6/themes/new -> ant deploy

you have to have and apache ant tomcat in your computer to execute this command.


I hope to help you
Roman Hoyenko
RE: Creating a new theme
29 de Abril de 2011 09:44
Resposta

Roman Hoyenko

Community Moderator

Ranking: Liferay Master

Mensagens: 868

Data de entrada: 8 de Outubro de 2007

Mensagens recentes

Are you using Liferay SDK to create the theme? If yes, you need to set up the properties in
build..properties.

Main directories are

app.server.type=weblogic
app.server.dir=C:/bea/user_projects/domains/
app.server.deploy.dir=${app.server.dir}/autodeploy
app.server.lib.global.dir=${app.server.dir}/lib
app.server.portal.dir=C:/#tmp/portal-web/

auto.deploy.dir=${app.server.dir}/../deploy


those directories should exist, so the build script can work.
Path Finder LifeRay
RE: Creating a new theme
29 de Abril de 2011 22:04
Resposta

Path Finder LifeRay

Ranking: Expert

Mensagens: 262

Data de entrada: 18 de Setembro de 2009

Mensagens recentes

Hi,
Thanks for the quick reply. I did all the things, but no luck there emoticon , still the same problem. By the problem statement I thunk it is asking for some ext related library or folder in bundles of tomcat dir.(hope you saw my last post which u replied). But I am not able to find that folder, since that is not available.

waiting for your reply,

Thanks,
Roman Hoyenko
RE: Creating a new theme
2 de Maio de 2011 07:34
Resposta

Roman Hoyenko

Community Moderator

Ranking: Liferay Master

Mensagens: 868

Data de entrada: 8 de Outubro de 2007

Mensagens recentes

Just create the directory and see if it works. Build scripts require some directories to be there even though they don't use files from the directories.
Path Finder LifeRay
RE: Creating a new theme
5 de Maio de 2011 23:32
Resposta

Path Finder LifeRay

Ranking: Expert

Mensagens: 262

Data de entrada: 18 de Setembro de 2009

Mensagens recentes

Hi,
thanx for your reply. Now I created a theme and trying to create a drop down menu. But cant find any help to get thru it emoticon . Do you have any suggetions.

thanx for helping me out,
Path finder.
Roman Hoyenko
RE: Creating a new theme
6 de Maio de 2011 15:38
Resposta

Roman Hoyenko

Community Moderator

Ranking: Liferay Master

Mensagens: 868

Data de entrada: 8 de Outubro de 2007

Mensagens recentes

you can reuse Liferay default theme, it already has a dropdown menu integrated. I think the default theme is pretty good, I would use it as a start for your theme - it is not cluttered, very good start for your own theme.
Path Finder LifeRay
RE: Creating a new theme
8 de Maio de 2011 21:38
Resposta

Path Finder LifeRay

Ranking: Expert

Mensagens: 262

Data de entrada: 18 de Setembro de 2009

Mensagens recentes

Hi Roman,
Thanx for your replies. Now I used the drop down menus of Classic Theme and now I want to try images in some space of a portal. Is it possible without using a portlet. I want to create an image and a series of images down under for the introduction page.
Maarten van Heiningen
RE: Creating a new theme
11 de Maio de 2011 01:47
Resposta

Maarten van Heiningen

Ranking: Regular Member

Mensagens: 173

Data de entrada: 5 de Fevereiro de 2009

Mensagens recentes

Hi,

You could make a webcontent object with a structure and a template for this.

Maarten
Path Finder LifeRay
RE: Creating a new theme
11 de Maio de 2011 03:05
Resposta

Path Finder LifeRay

Ranking: Expert

Mensagens: 262

Data de entrada: 18 de Setembro de 2009

Mensagens recentes

Hi Maarten,
I want to use some space of a page for the images(as like in a welcome page images of a website). Do you web content display portlet or you said some template, now I am using liferay6 templates. There I am unable to create a row with 2 columns having later column again to be 2 rows.

If you understood help me please or I will elaborate it in detail in the next post.