Foren
Reg : Complex Layout Development
Dhandapani S, geändert vor 12 Jahren.
Reg : Complex Layout Development
Regular Member Beiträge: 176 Beitrittsdatum: 24.03.09 Neueste Beiträge
Hi All,
I want to develop custom layout with mixed of rows and columns.
Before Liferay 6 version, I was developing layout using table,tr and td. But In Liferay 6 onwards its all about only DIV tag. So using DIV tag, how can i develop mixed rows and columns layout.
It would be great, any one share me some sample layout tpl file.
Thanks in advance.
Regards
Dhandapani S.
I want to develop custom layout with mixed of rows and columns.
Before Liferay 6 version, I was developing layout using table,tr and td. But In Liferay 6 onwards its all about only DIV tag. So using DIV tag, how can i develop mixed rows and columns layout.
It would be great, any one share me some sample layout tpl file.
Thanks in advance.
Regards
Dhandapani S.
Samuel Kong, geändert vor 12 Jahren.
RE: Reg : Complex Layout Development
Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
Dhandapani,
You can take a look at the built in page layout template to get some ideas.
https://github.com/liferay/liferay-portal/tree/master/portal-web/docroot/layouttpl/custom
If you're not comfortable working with DIV based layouts, you can still use TABLES for your layout. In fact, the built in templates fall back on tables for IE 6 and 7.
You can take a look at the built in page layout template to get some ideas.
https://github.com/liferay/liferay-portal/tree/master/portal-web/docroot/layouttpl/custom
If you're not comfortable working with DIV based layouts, you can still use TABLES for your layout. In fact, the built in templates fall back on tables for IE 6 and 7.
Dhandapani S, geändert vor 12 Jahren.
RE: Reg : Complex Layout Development
Regular Member Beiträge: 176 Beitrittsdatum: 24.03.09 Neueste Beiträge
Hi Samuel,
Could you please share me some sample tpl file using DIV tag for IE 8 and above browser compatibility.
Regards
Dhandapani S
Could you please share me some sample tpl file using DIV tag for IE 8 and above browser compatibility.
Regards
Dhandapani S
Dhandapani S, geändert vor 12 Jahren.
RE: Reg : Complex Layout Development
Regular Member Beiträge: 176 Beitrittsdatum: 24.03.09 Neueste Beiträge
Hi Samuel,
Could you please share me some sample tpl file (Complex mixed rows and columns) using DIV tag for IE 8 and above browser compatibility.
Regards
Dhandapani S
Could you please share me some sample tpl file (Complex mixed rows and columns) using DIV tag for IE 8 and above browser compatibility.
Regards
Dhandapani S
Jitendra Rajput, geändert vor 12 Jahren.
RE: Reg : Complex Layout Development
Liferay Master Beiträge: 875 Beitrittsdatum: 07.01.11 Neueste Beiträge
you can use OOB layouts as a reference. Just look into portal source if you are using enterprise edition
Dhandapani S, geändert vor 12 Jahren.
RE: Reg : Complex Layout Development
Regular Member Beiträge: 176 Beitrittsdatum: 24.03.09 Neueste Beiträge
Hi All,
I need to develop custom layout using DIV tag. The layout should be looking like below attachment
Regards
Dhans
I need to develop custom layout using DIV tag. The layout should be looking like below attachment
Regards
Dhans
Anhänge:
Samuel Kong, geändert vor 12 Jahren.
RE: Reg : Complex Layout Development
Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
You can find sample templates files at https://github.com/liferay/liferay-portal/tree/master/portal-web/docroot/layouttpl/custom
Rojalin Patri, geändert vor 12 Jahren.
RE: Reg : Complex Layout Development
Expert Beiträge: 287 Beitrittsdatum: 22.03.11 Neueste Beiträge
But Samuel,i don't think any of those available templates give a idea of creating a layout mixed with rows and columns as inquired by Dhandapani.
i am also looking for a same type of Layout..
i am also looking for a same type of Layout..
Samuel Kong, geändert vor 12 Jahren.
RE: Reg : Complex Layout Development
Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
Please refer to 1_2_1_columns.tpl and 2_2_columns.tpl
Randy Parsons, geändert vor 11 Jahren.
RE: Reg : Complex Layout Development
Junior Member Beiträge: 33 Beitrittsdatum: 04.01.11 Neueste Beiträge
Were you ever able to figure out your layout?
I also need to use mixed rows and columns. The samples that everyone keeps do not address what you originally asked. Every Liferay example that I find shows distinct rows that may have 2 or more columns but none show distinct columns that have on or more additional columns within them.
If anyone else does have an example of this type it would really be beneficial.
I personally am looking for something like this:
3 columns (20%, 60%, 20%)
Column 2 is further split into 2 columns (50%, 50%)
Thanks.
I also need to use mixed rows and columns. The samples that everyone keeps do not address what you originally asked. Every Liferay example that I find shows distinct rows that may have 2 or more columns but none show distinct columns that have on or more additional columns within them.
If anyone else does have an example of this type it would really be beneficial.
I personally am looking for something like this:
3 columns (20%, 60%, 20%)
Column 2 is further split into 2 columns (50%, 50%)
Thanks.
Samuel Kong, geändert vor 11 Jahren.
RE: Reg : Complex Layout Development
Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
Can you just create a 5 column layout (20, 30, 30, 20)?
Kalpesh Sangani, geändert vor 10 Jahren.
RE: Reg : Complex Layout Development
New Member Beiträge: 4 Beitrittsdatum: 22.11.11 Neueste Beiträge
Hi,
You can create simple 2-1-layout layout and add nested portlet in first row first column and configured your created layout
You can create simple 2-1-layout layout and add nested portlet in first row first column and configured your created layout
Eric Smith, geändert vor 10 Jahren.
RE: Reg : Complex Layout Development
Junior Member Beiträge: 66 Beitrittsdatum: 28.08.12 Neueste BeiträgeDhandapani S:
Hi All,
I need to develop custom layout using DIV tag. The layout should be looking like below attachment
Regards
Dhans
Did you ever figure this out? I'm running into a similar issue with the attached layout. I don't think the 1-2-1 and 2-2 layouts help.
Thanks,
Eric
Eric Smith, geändert vor 10 Jahren.
RE: Reg : Complex Layout Development
Junior Member Beiträge: 66 Beitrittsdatum: 28.08.12 Neueste Beiträge
The way to do complex page layouts is by using the nested portlet portlet
How to: https://www.permeance.com.au/web/tim.telcik/home/-/blogs/1222232
How to: https://www.permeance.com.au/web/tim.telcik/home/-/blogs/1222232