cancel
Showing results for 
Search instead for 
Did you mean: 

how to get the new layouts

Former Member
0 Kudos

Hi Pals,

I am using Netweaver Portal content Studio java full trial version 2004. Am creating views using URl method and has created 3 views.

There are some 6 or 7 available Layouts.

Is there any method with which I can customize the layouts and make in my own way. I also couldn’t get the way to increase the width of the views.

Do help me if you can.

Thanks in advance

AK

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Anil,

you should also have a look in the SAP Library. There you will find a detailed section about <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/7e/a7103e42324b5ae10000000a11405a/frameset.htm">Page Layouts</a> and how to create custom page layouts.

Best regards,

Martin

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Kumar,

i have answered for a question which is similar to urs.please refer the following thread.

https://forums.sdn.sap.com/click.jspa?searchID=2475441&messageID=3374430

if u have any doubts send them.

regards,

Tamil K

venkatakalyan_karanam
Active Contributor
0 Kudos

Hi

Sap provided some default templates,you have to stick those layouts.

First of all i didnt get Netweaveer portal content studio.

I know NWDS while creating the view in webdynpro using Nwds

We should not go beyond the Layouts provided by the sap

Use Any layout given by them

regards

kalyan

Former Member
0 Kudos

Hi Anil,

the PAR file com.sap.portal.layouts.default.par contains the standard SAP layouts. Download the file, rename it and import it into your NWDS. Have a look at the jsp files and the portalapp.xml used to define the layout. I suggest you modify one of the layouts and remove the remaining ones. Deploy the new PAR file to your portal server. To make your new layout available to portal pages you have to create a new layout object. Make sure that the parameter "Is Template" is set to "Yes". Afterwards your layout will appear in all layout selection dialogs.

Best regards,

Martin

Former Member
0 Kudos

hi Anil,

send ur mail ID, i post full documents.

Regards,

Senthil kumar K

Former Member
0 Kudos

Hello Sentil,

akthegr8@gmail.com

Former Member
0 Kudos

Hi Anil,

I sent document for u. Follow that pdf file.

Regards,

Senthil kumar K.

Former Member
0 Kudos

Hi Senthil,

Canyou send me the pdf for creating cutom layouts please...

Email: ram.iyer@gmail.com

Regards,

Ramesh

Former Member
0 Kudos

Hi Anil,

This is a code to create a Page Layout. JSP file:

<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibHtmlb" prefix="hbj" %>

<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibLayout" prefix="lyt" %>

<lyt:template>

<hbj:content id="myContext" >

<hbj:page title="Portal Page">

<table width="100%" cellpadding="0" cellspacing="0">

<tr>

<td width="100%" colspan="3"><lyt:container id="topdata" /></td>

</tr>

<tr>

<td width="40%"><lyt:container id="column1" /></td>

<td width="30%"><lyt:container id="column2" /></td>

<td width="30%"><lyt:container id="column3" /></td>

</tr>

<tr>

<td colspan="3"><lyt:container id="bottomdata" /></td>

</tr>

<tr>

<td bgcolor="#000000" align="center" colspan="4">

<font color="#CCCCCC" size="1">

Copyright 2003, <strong>WidgetCorp, Inc.</strong>

</font></td>

</tr>

</table>

</hbj:page>

</hbj:content>

</lyt:template>

XML file:

<?xml version="1.0" encoding="ISO-8859-1"?>

<application>

<application-config>

<property name="SharingReference"

value="com.sap.portal.htmlb,com.sap.portal.useragent,com.sap.portal.pagebuilder"/>

</application-config>

<component name="3ColWithHdr">

<component-config>

<property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout"/>

<property name="ResourceBundleName" value="pagebuilder_nls"/>

</component-config>

<component-profile>

<property name="ComponentType" value="com.sapportals.portal.layout"/>

<property name="com.sap.portal.pcm.Title" value="3 Column w/ Header - Footer"/>

<property name="com.sap.portal.pcm.Description" value="Layout 40/30/30 plus Hdr "/>

<property name="com.sap.portal.reserved.layout.TagLibLayout"

value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>

<property name="com.sap.portal.reserved.layout.TagLibHtmlb"

value="/SERVICE/com.sap.portal.htmlb/taglib/htmlb.tld "/>

<property name="com.sap.portal.reserved.layout.TemplateFile"

value="MultiColumnWithHeader.jsp"/>

<property name="com.sap.portal.reserved.layout.Cont1" value="topdata">

<property name="title" value="Top Content"/>

<property name="orientation" value="horizontal"/>

</property>

<property name="com.sap.portal.reserved.layout.Cont2" value="column1">

<property name="title" value="Column 1"/>

<property name="orientation" value="vertical"/>

</property>

<property name="com.sap.portal.reserved.layout.Cont3" value="column2">

<property name="title" value="Column 2"/>

<property name="orientation" value="vertical"/>

</property>

<property name="com.sap.portal.reserved.layout.Cont4" value="column3">

<property name="title" value="Column 3"/>

<property name="orientation" value="vertical"/>

</property>

<property name="com.sap.portal.reserved.layout.Cont5" value="bottomdata">

<property name="title" value="Bottom Content"/>

<property name="orientation" value="horizontal"/>

</property>

</component-profile>

</component>

</components>

<services/>

</application>

After creating portal Application to upload ur PAR file in to the portal and create layout based on that PAR.

If u need more detals send ur personal Mail ID, i send u a doc.

Regards,

Senthil kumar K