Just figured out, J2 uses the template files *.tpsml to control the pages contents. Modify the template.tpsml found at root of pages directory and it worked. Just comment out the portlets not wanted.
However when placed the template.tpsml under _user\guest this does not override the defualt template i.e. template.tpsml. Any one can guide plz? anyz-2 wrote: > > Using Velocity template i can change certain look and feel elements but i > could not get a way to avoid Jetspped portlets (like PageNavigator, > Jetspeed > Toolbox, Weather) that are attached to every new PSML page. > > > > > On Thu, Jan 13, 2011 at 12:13 PM, anyz <[email protected]> wrote: > >> I exported my psml using J2 site manager and it looks simple as given >> below. Only thing i notice i added psml page using Minimal template. Is >> it >> displaying default J2 Top, Left and Right frames. How can i get rid of >> default J2 frames and have my PSML dispalyed in IE Window. >> >> Thanks >> >>> >> <?xml version="1.0" encoding="UTF-8"?> >> <page id="/admin\myapp.psml" hidden="false"> >> <title>lwsi</title> >> <short-title>Minimal</short-title> >> <fragment id="P-12d3c3d4dbc-10001" type="layout" >> name="jetspeed-layouts::VelocityTwoColumns"> >> <fragment id="P-12d798e4e7e-10000" type="portlet" >> name="MyAPP::MyPortlet1"> >> <property name="column" value="0"></property> >> <property name="row" value="0"></property> >> </fragment> >> <fragment id="P-12d798e52c2-10001" type="portlet" >> name="MyAPP::MyPortlet2"> >> <property name="column" value="1"></property> >> <property name="row" value="0"></property> >> </fragment> >> <fragment id="P-12d798e759e-10002" type="portlet" >> name="MyApp:MyPortlet3"> >> <property name="column" value="0"></property> >> <property name="row" value="1"></property> >> </fragment> >> </fragment> >> <defaults></defaults> >> </page> >> >> >> >> >> On Tue, Jan 11, 2011 at 7:49 PM, anyz <[email protected]> wrote: >> >>> My J2 installation stores PSML in DB. As i add new psml page with >>> minimal >>> template using J2 Admin applicaiton it contains ToolBox portlet and >>> weather >>> portlets on right, Page Navigator Portlet on left and JetSpeed header on >>> top >>> of page. I want to customize my psml according to my applicaiton layout. >>> But >>> i could not find a way to edit the template or PSML page and tailor it >>> as >>> required? >>> >>> Thanks >>> >> >> > > -- View this message in context: http://old.nabble.com/How-to-edit-PSML-layout-tp30644364p30695836.html Sent from the Jetspeed - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
