profilepagelayout.html – Changes Between 6.5 MP1 and 6.5 MP2

 

Summary of Changes:

-         Moved FlyoutJSTag declaration from portletdefaultlayout.html to support displaying of Join Community Flyout on any portal page. [Go to change]

-         Changed flyout onclick call to pass in the flyout URL. The flyout will display in the selectionEditor div defined in portletdefaultlayout.html when on a MyPage or Community Page and display in the basenavSelectionEditor div on all other pages. [Go to change]

-         Added “basenavSelectionEditor” div. [Go to change]

-         Added “Edit My Communities” link in the Community drop-down menu when in adaptive layout mode. [Go to change]

-         Removed the old “Join Communities” and “Unsubscribe Communities” links from the Community drop-down. [Go to change]

 

 

Diff Legend

 

Type

Meaning

Matching Text

No difference between the sources. Text is the same.

Edited Text

Edited text that has been added into the newer source.

Important Difference

Changes made to existing text.

Deleted

A deletion has occurred in the original source.  It is shown in red or black with strike through font.

1

1

First column denotes line numbers in MP1 source. Second column denotes line numbers in MP2 source.

 

1

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

 

1

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

2

2

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:pt="http://www.plumtree.com/xmlschemas/ptui/">

3

3

<!-- This page uses the base page layout. -->

4

4

<head>

5

5

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

6

6

<title><pt:basepage.title/></title>

7

7

<pt:standard.stylesheets/>

8

8

<link href="pt://images/plumtree/portal/private/css/mainstyle.css" rel="stylesheet" type="text/css" />

149

149

<pt:basepage.header/>

150

150

<pt:basepage.navarea pt:area="BELOWHEADER"/>

151

151

<!-- Begin Navigation links -->

152

152

<div id="ali-mainNav">

153

153

<ul id="ali-nav">

154

154

 

 

155

    <pt:joincommunitypageeditor.addcommunitiesflyoutdata pt:id="flyoutLink" pt:scope="session" />

 

156

    <pt:logic.existexpr pt:data="flyoutLink" pt:key="hasFlyout"/>

 

157

    <pt:logic.if pt:expr="$hasFlyout">

 

158

      <pt:logic.iftrue>

 

159

        <pt:portletpageeditor.flyoutjs pt:flyoutID="selectionEditor" pt:onclick="openFlyout" pt:headerId="ali-header-nav" pt:url="$flyoutLink.url" pt:specifyonclickurl="true" pt:basenavFlyoutID="basenavSelectionEditor"/>

 

160

      </pt:logic.iftrue>

 

161

    </pt:logic.if>

 

162

 

155

163

    <pt:core.comment><!-- set value for page layout --></pt:core.comment>

156

164

    <pt:portletpage.currpagelayoutid pt:id="pageLayout" />

157

165

    <pt:logic.intexpr pt:expr="($pageLayout) > -1" pt:key="isClassicLayout"/>

158

166

 

159

167

    <pt:core.comment><!-- MRC - Profile links --></pt:core.comment>

160

168

    <pt:ptdata.myprofiledata pt:id="myProfileLinks" />

213

221

    <pt:logic.if pt:expr="$addMyCommMenu">

214

222

    <pt:logic.iftrue>

215

223

 

216

224

        <pt:core.comment><!-- Definition of Tab --></pt:core.comment>

217

225

        <li><a href="#"><pt:logic.value pt:value="$#1841.ptmsgs_portalbrowsingmsgs" /> <img src="pt://images/plumtree/portal/private/img/main_nav_arrow.gif" /></a>

218

226

          <ul>

 

227

            <pt:core.comment><!-- Add "Edit My Communities" flyout editor link to the top of the community list --></pt:core.comment>

 

228

            <pt:joincommunitypageeditor.addcommunitiesflyoutdata pt:id="commFlyoutLink" />

 

229

            <pt:logic.existexpr pt:data="commFlyoutLink" pt:key="hasCommFlyout"/>

 

230

                                         

 

231

            <pt:logic.if pt:expr="$hasCommFlyout"><pt:logic.iftrue>

 

232

                <pt:logic.variable pt:key="commflyoutjs" pt:value="try {PTFlyoutselectionEditor.openFlyout('"/>

 

233

                <pt:logic.concat pt:key="commflyoutjs" pt:value1="$commflyoutjs" pt:value2="$commFlyoutLink.url" />

 

234

                <pt:logic.concat pt:key="commflyoutjs" pt:value1="$commflyoutjs" pt:value2="'); return false;} catch (e) {return true;}" />

 

235

                                           

 

236

                <li><pt:core.html pt:tag="a" onclick="$commflyoutjs" class="ali-nav-actions" href="#" ><pt:logic.value pt:value="$#825.ptmsgs_portalcommonmsgs"/></pt:core.html></li>

 

237

            </pt:logic.iftrue></pt:logic.if>              

 

238

                  

219

239

            <pt:core.comment><!-- Begin list Communities --></pt:core.comment>

220

240

            <pt:logic.if pt:expr="$hasCommLinks">

221

241

            <pt:logic.iftrue>

222

242

                <pt:logic.sort pt:data="commLinks" pt:sorteddata="sortedComms" />

223

243

                <pt:logic.foreach pt:data="sortedComms" pt:var="link">

232

252

                <pt:logic.iftrue>

233

253

                 <pt:logic.if pt:expr="$isClassicLayout">

234

254

                   <pt:logic.iftrue>

235

255

                     <pt:core.comment><!-- Add all community actions to the community list if the page layout is "classic" (i.e., not adaptive)--></pt:core.comment>

236

256

                     <pt:ptdata.communityactionsdata        pt:id="commActionsToDisplay"         />

237

257

                   </pt:logic.iftrue>

238

 

                   <pt:logic.iffalse>

239

 

                     <pt:core.comment><!-- Add just "Join Communities" and "Unsubscribe Communities" action links to the community list if the page layout is not "classic" (i.e., adaptive)--></pt:core.comment>

240

 

                     <pt:ptdata.joincommunitiesdata         pt:id="commActionsToDisplay"         />

241

 

                     <pt:ptdata.unsubscribecommunitiesdata  pt:id="commActionsToDisplay"         />

242

 

                   </pt:logic.iffalse>

243

258

                 </pt:logic.if>

244

259

                 </pt:logic.iftrue>

245

260

 

 

261

                 <pt:logic.variable pt:key="joincommstr" pt:value="$#297.ptmsgs_portalcommonmsgs"/>

 

262

                 <pt:logic.variable pt:key="unsubscribecommstr" pt:value="$#638.ptmsgs_portalcommonmsgs"/>

 

263

                                 

 

264

                 <pt:core.comment><!-- Skip displaying of "Join Communities" and "Unsubscribe Communities" action links in the community list --></pt:core.comment>

246

265

                 <pt:logic.foreach pt:data="commActionsToDisplay" pt:var="link">

 

266

                     <pt:logic.variable pt:key="commactiontitle" pt:value="$link.title"/>

 

267

                     <pt:logic.stringexpr pt:expr="($commactiontitle) == ($joincommstr)" pt:key="isjoinactionlink" />

 

268

                     <pt:logic.stringexpr pt:expr="($commactiontitle) == ($unsubscribecommstr)" pt:key="isunsubscribeactionlink" />

 

269

                     <pt:logic.boolexpr pt:expr="($isjoinactionlink) || ($isunsubscribeactionlink)" pt:key="displayActionLink"/>

 

270

                     <pt:logic.if pt:expr="$displayActionLink">

 

271

                        <pt:logic.iffalse>

247

272

                          <li><pt:core.html pt:tag="a" class="ali-nav-actions" href="$link.url" ><pt:logic.value pt:value="$link.title"/></pt:core.html></li>

 

273

                        </pt:logic.iffalse>

 

274

                     </pt:logic.if>  

248

275

                 </pt:logic.foreach>

249

 

 

250

276

             </pt:logic.if>

251

277

             <pt:core.comment><!-- End Community Actions--></pt:core.comment>

252

278

           </ul>

253

279

        </li>

358

384

  <pt:basepage.navarea pt:area="LEFTOFBODY"/>

359

385

</div>

360

386

<div style="float:right; width:200px;" >

361

387

  <pt:basepage.navarea pt:area="RIGHTOFBODY"/>

362

388

</div>

 

389

 

 

390

<div id="basenavSelectionEditor" style="float:left; height:0px; text-align:center;">

 

391

</div>

 

392

 

363

393

<pt:basepage.navarea pt:area="ABOVEBODY"/>

364

394

<pt:common.error/>

365

395

<pt:basepage.content/>

366

396

<pt:basepage.navarea pt:area="BELOWBODY"/>

367

397

<pt:basepage.navarea pt:area="ABOVEFOOTER"/>

368

398

<pt:basepage.footer/>