cancel
Showing results for 
Search instead for 
Did you mean: 

Removing Back to Top Option from Article used in WPC

Former Member
0 Kudos

Hi Techies,

I am working on WPC 7.31 Portal.

I want to remove "BACK TO TOP" Option from Article Section.

Kindly suggest.

Regards,

Chinmay J

Accepted Solutions (1)

Accepted Solutions (1)

fabianl
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Chinmay,

have you try to define your WPC Page via XSL, see here (its for 7.0 but it shoud be identical with 7.3):

http://help.sap.com/saphelp_nw70/helpdata/en/45/ff04f9931f703fe10000000a155369/frameset.htm

br,

fabian

Former Member
0 Kudos

Thanks Fabian,

Will Have to check XSL now.

Former Member
0 Kudos

Hi Guys

I have the same requirement to remove back to top from the WPC articles, because when you have several articles it looks lame.  I entered an OSS message and they closed it saying it is a consulting issue.

I reviewed the suggest article about XSL, but that is for web forms and not WPC.

Really appreciate if you can advise how to control back to top


Thanks

Lee Lewis

Former Member
0 Kudos


I found it!

Need to edit wpc_article.xsl and comment out like below

In Portal goto Portal Content Administration > KM Content > root > etc > wpceditor > styles

select context menu for wpc_article.xsl

Edit Locally

Opens notepad

<!-- Comment out back to top Lee Lewis

     <div class="wpcbacktotop">

      <a class="wpca" href="#" onclick="javascript:window.location.reload(false)">

       <xsl:value-of disable-output-escaping="yes"

        select="wpc:getString('xsl.xmsg.back_to_top', string(/document/@locale))" />

      </a>

     </div>

     -->

Save and close notepad

Check In

Restart java instance to take affect

Hope this helps

Lee Lewis

former_member183915
Active Contributor
0 Kudos

Hi lee,

We do have same requirement but once i do the changes and take poratl server restart , the changes done are overwritten by SAP standard file. Any inputs on the same? I have raised a separate thread as well

Regards,

Navya

Answers (0)