removing widgets from myportal's showPortalPage

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

removing widgets from myportal's showPortalPage

tiffanymlk
hi,

I have a problem with modifying the showPortalPage in the myportal module:

When a client logs into the myportal module, particuarly the showPortalPage, the path of the web portal is https://localhost:8443/myportal/control/showPortalPage?portalPageId=MYPORTAL_EMPLOYEE1&parentPortalPageId=MYPORTAL_EMPLOYEE

So in order to remove one of the widgets from showing, I went to the MyPortalTypeData.xml and  found the following code:
<PortalPagePortlet portalPageId="MYPORTAL_CUSTOMER1" portalPortletId="party" portletSeqId="00001" columnSeqId="00001"  sequenceNum="6"/>
    <PortalPagePortlet portalPageId="MYPORTAL_CUSTOMER1" portalPortletId="contact" portletSeqId="00001" columnSeqId="00001"  sequenceNum="8"/>
    <PortalPagePortlet portalPageId="MYPORTAL_CUSTOMER1" portalPortletId="PaymentMethods" portletSeqId="00001" columnSeqId="00001"  sequenceNum="10"/>
    <PortalPagePortlet portalPageId="MYPORTAL_CUSTOMER1" portalPortletId="UserLogin" portletSeqId="00001" columnSeqId="00002" sequenceNum="3"/>
    <PortalPagePortlet portalPageId="MYPORTAL_CUSTOMER1" portalPortletId="Attributes"


So if for instance I want to remove the "PaymentMethods" portlet, I just thought of commenting:
 <!--<PortalPagePortlet portalPageId="MYPORTAL_CUSTOMER1" portalPortletId="PaymentMethods" portletSeqId="00001" columnSeqId="00001"  sequenceNum="10"/>-->

however, when I save the file and refresh the web browser, the same portlets are shown. Hence no update seems to be made.

Is there a different procedure to update the MyPortal module? Should I rebuild ofbi again?

Thanks in advance,
Steph M.
Reply | Threaded
Open this post in threaded view
|

Re: removing widgets from myportal's showPortalPage

tiffanymlk
never mind my question, I just discovered the Preferences submenu in the MyPortal module. It does all the work for you :)
Reply | Threaded
Open this post in threaded view
|

Re: removing widgets from myportal's showPortalPage

Adrian Crum
Also keep in mind that the xml file you were working on is a demo data
file - it is only read/loaded during an initial install.

-Adrian

tiffanymlk wrote:
> never mind my question, I just discovered the Preferences submenu in the
> MyPortal module. It does all the work for you :)
Reply | Threaded
Open this post in threaded view
|

Re: removing widgets from myportal's showPortalPage

tiffanymlk
Thanks a lot. I didn't realise. I still need to work my way through that module, since actually I wanted to add a portlet in the 'MyProfile' page of the client, that will enable the client to view Project current details assigned to him/her. I know that a similar portlet already exists however, no project is showing even though I assigned the client as a resource of the project. I think this is because the client was no righs to view the projectmgr module. 

On Mon, Apr 5, 2010 at 9:59 PM, Adrian Crum [via OFBiz] <[hidden email]> wrote:
Also keep in mind that the xml file you were working on is a demo data
file - it is only read/loaded during an initial install.

-Adrian

tiffanymlk wrote:
> never mind my question, I just discovered the Preferences submenu in the
> MyPortal module. It does all the work for you :)



View message @ http://n4.nabble.com/removing-widgets-from-myportal-s-showPortalPage-tp1751856p1752023.html
To unsubscribe from Re: removing widgets from myportal's showPortalPage, click here.