Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
How to create custom theme in liferay? Tanaji Londhe June 20, 2012 5:25 PM
RE: How to create custom theme in liferay? David H Nebinger June 20, 2012 7:16 PM
RE: How to create custom theme in liferay? interesting facts June 20, 2012 10:04 PM
RE: How to create custom theme in liferay? Tanaji Londhe June 22, 2012 3:27 AM
RE: How to create custom theme in liferay? Hitoshi Ozawa June 24, 2012 6:11 AM
RE: How to create custom theme in liferay? Tanaji Londhe June 24, 2012 10:59 PM
RE: How to create custom theme in liferay? Anil Kumar June 24, 2012 11:11 PM
RE: How to create custom theme in liferay? Tanaji Londhe June 24, 2012 11:47 PM
RE: How to create custom theme in liferay? Anil Kumar July 3, 2012 8:28 PM
How to create custom Layouts in Liferay portal 6.1? Anil Kumar July 3, 2012 8:37 PM
RE: How to create custom Layouts in Liferay portal 6.1? Neetu Mishra July 6, 2012 1:45 AM
RE: How to create custom Layouts in Liferay portal 6.1? Mazhar Alam July 6, 2012 3:08 AM
RE: How to create custom Layouts in Liferay portal 6.1? Neetu Mishra July 9, 2012 12:03 AM
RE: How to create custom Layouts in Liferay portal 6.1? Mazhar Alam July 10, 2012 12:59 AM
RE: How to create custom Layouts in Liferay portal 6.1? Neetu Mishra July 10, 2012 1:41 AM
RE: How to create custom Layouts in Liferay portal 6.1? Mazhar Alam July 10, 2012 11:56 PM
RE: How to create custom theme in liferay? Neetu Mishra July 16, 2012 7:23 AM
RE: How to create custom theme in liferay? Vaibhav Mittal July 24, 2012 2:47 AM
RE: How to create custom theme in liferay? Neetu Mishra July 24, 2012 2:55 AM
RE: How to create custom theme in liferay? Vaibhav Mittal July 24, 2012 3:18 AM
RE: How to create custom theme in liferay? Neetu Mishra July 24, 2012 3:29 AM
RE: How to create custom theme in liferay? Vaibhav Mittal July 24, 2012 4:06 AM
RE: How to create custom theme in liferay? Neetu Mishra July 24, 2012 4:09 AM
RE: How to create custom theme in liferay? deepthi p September 10, 2012 5:29 AM
RE: How to create custom theme in liferay? Neetu Mishra September 10, 2012 8:08 PM
RE: How to create custom theme in liferay? deepthi p September 25, 2012 4:08 AM
RE: How to create custom theme in liferay? Hitoshi Ozawa June 30, 2012 7:47 AM
Tanaji Londhe
How to create custom theme in liferay?
June 20, 2012 5:25 PM
Answer

Tanaji Londhe

Rank: Regular Member

Posts: 196

Join Date: April 25, 2012

Recent Posts

Hi, I recently start work on liferay portal and I search for simple application to create a Custom Theme in liferay but I can't found anywhere, So please help me.
Thanks
David H Nebinger
RE: How to create custom theme in liferay?
June 20, 2012 7:16 PM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11046

Join Date: September 1, 2006

Recent Posts

Use the plugins sdk. Read the online develop doco. Review some of the sample themes. Purchase the Liferay in Action book. Take a course from Liferay. Lots of options, don't know what you searched for, but the options are out there.
interesting facts
RE: How to create custom theme in liferay?
June 20, 2012 10:04 PM
Answer

interesting facts

Rank: Junior Member

Posts: 53

Join Date: May 17, 2012

Recent Posts

Download Liferay IDE and make changes to create custom theme... You will come to know when you download liferay IDE
Tanaji Londhe
RE: How to create custom theme in liferay?
June 22, 2012 3:27 AM
Answer

Tanaji Londhe

Rank: Regular Member

Posts: 196

Join Date: April 25, 2012

Recent Posts

Thanx, and that book(Liferay in Action) is very good.
Hitoshi Ozawa
RE: How to create custom theme in liferay?
June 24, 2012 6:11 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Liferay's online documentation should be sufficient to create a simple theme.

http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/creating-liferay-them-7
Tanaji Londhe
RE: How to create custom theme in liferay?
June 24, 2012 10:59 PM
Answer

Tanaji Londhe

Rank: Regular Member

Posts: 196

Join Date: April 25, 2012

Recent Posts

Thank you very much Hitoshi, thats a very nice link.
Anil Kumar
RE: How to create custom theme in liferay?
June 24, 2012 11:11 PM
Answer

Anil Kumar

Rank: New Member

Posts: 14

Join Date: June 24, 2012

Recent Posts

Hi,
Am new to Liferay portal 6.1 so please help me to handle out the service builder , and am facing lot of problems in configuring MySql with Liferay portal6.1.

Thank,
N Anil Kumar
Tanaji Londhe
RE: How to create custom theme in liferay?
June 24, 2012 11:47 PM
Answer

Tanaji Londhe

Rank: Regular Member

Posts: 196

Join Date: April 25, 2012

Recent Posts

Hi Anil,

1) In Service Builder you can create simply DB table in a xml file. Based xml definition, Service create Hibernate & Spring configuration, finder methods, model layer, all DAOs layer and SQL to create the table on all DBs.

2)" ......./liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/classes" go to directory folder then create one properties file called "portal-ext.properties" and enter following properties in that file. This properties for only MySql DB. You can go through this link you will get some idea (http://www.liferay.com/community/wiki/-/wiki/Main/Database+Configuration)

jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
jdbc.default.username=
jdbc.default.password=
Hitoshi Ozawa
RE: How to create custom theme in liferay?
June 30, 2012 7:47 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Anil, if you have a new question unrelated to the topic of the thread, please create a new thread. New threads can be created without any cost freely
and keeping 1 topic to a thread allows people with similar problems to search and find answers.
Anil Kumar
RE: How to create custom theme in liferay?
July 3, 2012 8:28 PM
Answer

Anil Kumar

Rank: New Member

Posts: 14

Join Date: June 24, 2012

Recent Posts

Hi,

Thanks for your valuable time.
Anil Kumar
How to create custom Layouts in Liferay portal 6.1?
July 3, 2012 8:37 PM
Answer

Anil Kumar

Rank: New Member

Posts: 14

Join Date: June 24, 2012

Recent Posts

Hi all,

I tried creating my custom layouts, the custom layout is deployed but there is no reflect to Liferay Portal when i select the custom layout.
Please provide any links/code to create custom layouts.
Neetu Mishra
RE: How to create custom Layouts in Liferay portal 6.1?
July 6, 2012 1:45 AM
Answer

Neetu Mishra

Rank: Junior Member

Posts: 76

Join Date: May 21, 2012

Recent Posts

Hi Anil,

This link may help to you for template creation
Layout Template
OR you can check your logs whether your layout is successfully registered or not.

Please always create a new thread for your queries as Hitoshi said. Here is the URL where you can select the category for your queries and post your queries accordingly.
Forum Categories
Mazhar Alam
RE: How to create custom Layouts in Liferay portal 6.1?
July 6, 2012 3:08 AM
Answer

Mazhar Alam

Rank: Regular Member

Posts: 201

Join Date: November 25, 2011

Recent Posts

Hi,
Any one tried with rowspan and colspan attribute in creating the layout.?
Neetu Mishra
RE: How to create custom Layouts in Liferay portal 6.1?
July 9, 2012 12:03 AM
Answer

Neetu Mishra

Rank: Junior Member

Posts: 76

Join Date: May 21, 2012

Recent Posts

Mazhar Alam:
Any one tried with rowspan and colspan attribute in creating the layout.?


Hi Mazhar,

You can try some thing like this:

 1
 2       <div class="portlet-layout">
 3              <div class="aui-w35 portlet-column portlet-column-first" id="column-1">
 4                     $processor.processColumn("column-1", "portlet-column-content portlet-column-content-first")
 5              </div>
 6              <div class="aui-w35 portlet-column" id="column-2">
 7                     $processor.processColumn("column-2", "portlet-column-content")
 8              </div>
 9              <div class="aui-w30 portlet-column portlet-column-last" id="column-3">
10                     $processor.processColumn("column-3", "portlet-column-content portlet-column-content-last")
11              </div>
12       </div>
13       <div class="portlet-layout">
14              <div class="aui-w70 portlet-column portlet-column-first" id="column-4">
15                     $processor.processColumn("column-4", "portlet-column-content portlet-column-content-first")
16              </div>
17              <div class="aui-w30 portlet-column portlet-column-last" id="column-5">
18                     $processor.processColumn("column-5", "portlet-column-content portlet-column-content-last")
19              </div>
20       </div>


Here column-1, column-2 & column-4 will give you a look of colspan because of two aui-w35 & one aui-w70.
and similarly, column-3 & column-5 will give a look of rowspan because they have same class i.e aui-w30. Please find it in attachments also. emoticon

It will become very simple if you try with Liferay SDK to create this.emoticon
Attachment

Attachments: rowspan_&_colspan.png (9.5k)
Mazhar Alam
RE: How to create custom Layouts in Liferay portal 6.1?
July 10, 2012 12:59 AM
Answer

Mazhar Alam

Rank: Regular Member

Posts: 201

Join Date: November 25, 2011

Recent Posts

Thanks Neetu for your suggestion,however i require the layout as this-
See attached image.
Attachment

Attachments: sample.PNG (5.8k)
Neetu Mishra
RE: How to create custom Layouts in Liferay portal 6.1?
July 10, 2012 1:41 AM
Answer

Neetu Mishra

Rank: Junior Member

Posts: 76

Join Date: May 21, 2012

Recent Posts

Hi Mazhar,

Just always remember to divide the page layout in terms of columns & rows. So like according to your requirements you can divide the page into two rows in which first row is divided into two columns (Lets say 30% & 70%) & the second row should have three columns( say 30%, 45%, & 25%).

Please note few points:
1) The sum of the percentage of all the columns in a row should be 100%.
2) You can add multiple portlets in a column.


Cheers!!
Mazhar Alam
RE: How to create custom Layouts in Liferay portal 6.1?
July 10, 2012 11:56 PM
Answer

Mazhar Alam

Rank: Regular Member

Posts: 201

Join Date: November 25, 2011

Recent Posts

Thanks Again Neetu for your suggestion.
Neetu Mishra
RE: How to create custom theme in liferay?
July 16, 2012 7:23 AM
Answer

Neetu Mishra

Rank: Junior Member

Posts: 76

Join Date: May 21, 2012

Recent Posts

Welcome!! emoticon
Vaibhav Mittal
RE: How to create custom theme in liferay?
July 24, 2012 2:47 AM
Answer

Vaibhav Mittal

Rank: Junior Member

Posts: 54

Join Date: July 16, 2012

Recent Posts

Hi Neetu ! Your way around for Mazhar's requirement is nice as i also found no way for creating a template who has 1 column and 2 rows adjacent to that column. When i tried this i found 1 problem. If we make template defined by you then blank space is left below the 1st 30% for the second 30% which is obvious. Don't we have another way?
Neetu Mishra
RE: How to create custom theme in liferay?
July 24, 2012 2:55 AM
Answer

Neetu Mishra

Rank: Junior Member

Posts: 76

Join Date: May 21, 2012

Recent Posts

Vaibhav Mittal:
blank space is left below the 1st 30% for the second 30% which is obvious.


Hi Vaibhav,

I didn't get it clearly. so it would be good if you add the snapshot of your problem.

Thanks,
Neetu
Vaibhav Mittal
RE: How to create custom theme in liferay?
July 24, 2012 3:18 AM
Answer

Vaibhav Mittal

Rank: Junior Member

Posts: 54

Join Date: July 16, 2012

Recent Posts

Like we have below template:
60 40
60 40
60 40
My requirememt is to put 1 web content in top coloumn (60) and 1 each in 40, 40 and 40 and we want nothing in both 60. Then web page will show blank space for these two.
I have attatched Scren shot. Here i have added 3 portlet adjacent to image which fulfills the requirement of placing 3 different portlet adjacent to 1 column but now the blank space is left below 60(which is between content and footer).
Attachments: Space Issue.jpeg (129.9k)
Neetu Mishra
RE: How to create custom theme in liferay?
July 24, 2012 3:29 AM
Answer

Neetu Mishra

Rank: Junior Member

Posts: 76

Join Date: May 21, 2012

Recent Posts

Hi Vaibhav,

I got your the point now. Just create one row with 60 & 40 column as you can add multiple portlets in a column.

See the attached screen shot, it might help you to understand the whole problem emoticon
Attachment

Attachments: single_row.png (10.3k)
Vaibhav Mittal
RE: How to create custom theme in liferay?
July 24, 2012 4:06 AM
Answer

Vaibhav Mittal

Rank: Junior Member

Posts: 54

Join Date: July 16, 2012

Recent Posts

Thnxx a lot Neetu !! I applied almost 20 P&C in code of layout to get this result but i did not emphasies ur point "you can add multiple portlets in a column". Problem is solved.
Neetu Mishra
RE: How to create custom theme in liferay?
July 24, 2012 4:09 AM
Answer

Neetu Mishra

Rank: Junior Member

Posts: 76

Join Date: May 21, 2012

Recent Posts

Anytime vaibhav.. &

did not emphasies ur point


It's alright !! emoticon
deepthi p
RE: How to create custom theme in liferay?
September 10, 2012 5:29 AM
Answer

deepthi p

Rank: New Member

Posts: 8

Join Date: September 10, 2012

Recent Posts

hi ,
Can we divide layout in to 3 rows of specified width (like 25 ,50,25).
Please help me .
thanks.
Neetu Mishra
RE: How to create custom theme in liferay?
September 10, 2012 8:08 PM
Answer

Neetu Mishra

Rank: Junior Member

Posts: 76

Join Date: May 21, 2012

Recent Posts

deepthi p:
hi ,
Can we divide layout in to 3 rows of specified width (like 25 ,50,25).
Please help me .
thanks.


Hi Deepthi,

You can divide your page vertically but It's not possible to divide the page horizontally. Horizontal division is based on the height of your portlet so one thing you can do is try to fix the height using the CSS. emoticon

Please let me know if you need any more help for my side. emoticon
deepthi p
RE: How to create custom theme in liferay?
September 25, 2012 4:08 AM
Answer

deepthi p

Rank: New Member

Posts: 8

Join Date: September 10, 2012

Recent Posts

Thanks neetu ,
i will try that using css and let you know if i face any issue .