You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by tiffanymlk <st...@gmail.com> on 2010/04/05 20:07:15 UTC

removing widgets from myportal's showPortalPage

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.
-- 
View this message in context: http://n4.nabble.com/removing-widgets-from-myportal-s-showPortalPage-tp1751856p1751856.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: removing widgets from myportal's showPortalPage

Posted by tiffanymlk <st...@gmail.com>.
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] <
ml-node+1752023-430995873-210756@n4.nabble.com<ml...@n4.nabble.com>
> 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< (link removed) >.
>
>
>

-- 
View this message in context: http://n4.nabble.com/removing-widgets-from-myportal-s-showPortalPage-tp1751856p1752038.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: removing widgets from myportal's showPortalPage

Posted by Adrian Crum <ad...@hlmksw.com>.
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 :)

Re: removing widgets from myportal's showPortalPage

Posted by tiffanymlk <st...@gmail.com>.
never mind my question, I just discovered the Preferences submenu in the
MyPortal module. It does all the work for you :)
-- 
View this message in context: http://n4.nabble.com/removing-widgets-from-myportal-s-showPortalPage-tp1751856p1751872.html
Sent from the OFBiz - User mailing list archive at Nabble.com.