Hi Jacques, I think we will import all help pages to OFBiz CMS and change the *HelpUrls.xml files according. Not a big issue.
2009/3/15 Jacques Le Roux <jacques.le.r...@les7arts.com>: > Hi Bruno, > >> Author: buscob >> Date: Sun Mar 15 09:28:21 2009 >> New Revision: 754641 >> >> URL: http://svn.apache.org/viewvc?rev=754641&view=rev >> Log: >> Removed "Help" menu items in MyPortal and ProjectMgr Applications. >> For those a relative *HelpUrls.xml file has been created to point to the >> same Confluence pages. >> (At the moment, when entering Confluence with those links, Confluence >> complains that the requested page is actually present in a different space >> and offers a link to go there. We should consider to move ALL linked pages >> in the same space) > > There is maybe another mean using Confluence specific syntax, I will have a > look. I begin to wonder though what will happen for all stuffes relying on > Confluence/Jira (not much, if any, in Jira) when we will move to use > OFBiz/CMS instead... > > Jacques > >> Added: >> ofbiz/trunk/specialpurpose/myportal/config/MyPortalHelpUrls.xml >> ofbiz/trunk/specialpurpose/projectmgr/config/ProjectMgrHelpUrls.xml >> Modified: >> ofbiz/trunk/specialpurpose/myportal/widget/CommonScreens.xml >> ofbiz/trunk/specialpurpose/myportal/widget/MyPortalMenus.xml >> ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml >> ofbiz/trunk/specialpurpose/projectmgr/widget/Menus.xml >> >> Added: ofbiz/trunk/specialpurpose/myportal/config/MyPortalHelpUrls.xml >> URL: >> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/config/MyPortalHelpUrls.xml?rev=754641&view=auto >> >> ============================================================================== >> --- ofbiz/trunk/specialpurpose/myportal/config/MyPortalHelpUrls.xml >> (added) >> +++ ofbiz/trunk/specialpurpose/myportal/config/MyPortalHelpUrls.xml Sun >> Mar 15 09:28:21 2009 >> @@ -0,0 +1,25 @@ >> +<?xml version="1.0" encoding="UTF-8"?> >> +<!-- >> + >> + Licensed to the Apache Software Foundation (ASF) under one >> + or more contributor license agreements. See the NOTICE file >> + distributed with this work for additional information >> + regarding copyright ownership. The ASF licenses this file >> + to you under the Apache License, Version 2.0 (the >> + "License"); you may not use this file except in compliance >> + with the License. You may obtain a copy of the License at >> + >> + http://www.apache.org/licenses/LICENSE-2.0 >> + >> + Unless required by applicable law or agreed to in writing, >> + software distributed under the License is distributed on an >> + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY >> + KIND, either express or implied. See the License for the >> + specific language governing permissions and limitations >> + under the License. >> +--> >> +<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> >> + <property key="MYPORTAL_main"> >> + <value xml:lang="en">My Portal</value> >> + </property> >> +</resource> >> >> Modified: ofbiz/trunk/specialpurpose/myportal/widget/CommonScreens.xml >> URL: >> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/widget/CommonScreens.xml?rev=754641&r1=754640&r2=754641&view=diff >> >> ============================================================================== >> --- ofbiz/trunk/specialpurpose/myportal/widget/CommonScreens.xml >> (original) >> +++ ofbiz/trunk/specialpurpose/myportal/widget/CommonScreens.xml Sun Mar >> 15 09:28:21 2009 >> @@ -34,6 +34,9 @@ >> <property-map resource="ProductUiLabels" >> map-name="uiLabelMap" global="true"/> >> <property-map resource="ProjectMgrUiLabels" >> map-name="uiLabelMap" global="true"/> >> <property-map resource="HumanResUiLabels" >> map-name="uiLabelMap" global="true"/> >> + >> + <property-map resource="MyPortalHelpUrls" >> map-name="helpUrlsMap" global="true"/> >> + >> <set field="layoutSettings.companyName" >> from-field="uiLabelMap.MyPortalInformation" global="true"/> >> <set field="layoutSettings.companySubtitle" >> from-field="uiLabelMap.PartyCompanySubtitle" global="true"/> >> <set field="applicationMenuName" value="MyPortalAppBar" >> global="true"/> >> >> Modified: ofbiz/trunk/specialpurpose/myportal/widget/MyPortalMenus.xml >> URL: >> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/widget/MyPortalMenus.xml?rev=754641&r1=754640&r2=754641&view=diff >> >> ============================================================================== >> --- ofbiz/trunk/specialpurpose/myportal/widget/MyPortalMenus.xml >> (original) >> +++ ofbiz/trunk/specialpurpose/myportal/widget/MyPortalMenus.xml Sun Mar >> 15 09:28:21 2009 >> @@ -23,9 +23,6 @@ >> <menu name="MyPortalAppBar" title="${uiLabelMap.PageTitleMyPortal} >> ${partyNameView.personalTitle} ${partyNameView.firstName} >> ${partyNameView.middleName} ${partyNameView.lastName} >> ${partyNameView.groupName}" >> extends="CommonAppBarMenu" >> extends-resource="component://common/widget/CommonMenus.xml"> >> <menu-item name="main" >> parent-portal-page-value="${parameters.parentPortalPageId}"/> >> - <menu-item name="Help" title="${uiLabelMap.CommonHelp}" >> align-style="opposed"> >> - <link >> target="http://docs.ofbiz.org/display/OFBENDUSER/My+Portal?decorator=printable" >> target-window="new"/> >> - </menu-item> >> <menu-item name="Preferences" >> title="${uiLabelMap.CommonPreferences}" align-style="opposed"> >> <link >> target="ManagePortalPages?parentPortalPageId=${parameters.parentPortalPageId}"/> >> </menu-item> >> >> Added: ofbiz/trunk/specialpurpose/projectmgr/config/ProjectMgrHelpUrls.xml >> URL: >> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/config/ProjectMgrHelpUrls.xml?rev=754641&view=auto >> >> ============================================================================== >> --- ofbiz/trunk/specialpurpose/projectmgr/config/ProjectMgrHelpUrls.xml >> (added) >> +++ ofbiz/trunk/specialpurpose/projectmgr/config/ProjectMgrHelpUrls.xml >> Sun Mar 15 09:28:21 2009 >> @@ -0,0 +1,49 @@ >> +<?xml version="1.0" encoding="UTF-8"?> >> +<!-- >> + >> + Licensed to the Apache Software Foundation (ASF) under one >> + or more contributor license agreements. See the NOTICE file >> + distributed with this work for additional information >> + regarding copyright ownership. The ASF licenses this file >> + to you under the Apache License, Version 2.0 (the >> + "License"); you may not use this file except in compliance >> + with the License. You may obtain a copy of the License at >> + >> + http://www.apache.org/licenses/LICENSE-2.0 >> + >> + Unless required by applicable law or agreed to in writing, >> + software distributed under the License is distributed on an >> + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY >> + KIND, either express or implied. See the License for the >> + specific language governing permissions and limitations >> + under the License. >> +--> >> +<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> >> + <property key="PROJECTMGR_main"> >> + <value xml:lang="en">Project Manager Application Roles</value> >> + </property> >> + <property key="PROJECTMGR_MyTasks"> >> + <value xml:lang="en">Project Manager Application Roles</value> >> + </property> >> + <property key="PROJECTMGR_MyTimesheet"> >> + <value xml:lang="en">Project Manager Application Roles</value> >> + </property> >> + <property key="PROJECTMGR_FindProject"> >> + <value xml:lang="en">Project Manager Application Roles</value> >> + </property> >> + <property key="PROJECTMGR_FindTask"> >> + <value xml:lang="en">Project Manager Application Roles</value> >> + </property> >> + <property key="PROJECTMGR_FindResource"> >> + <value xml:lang="en">Project Manager Application Roles</value> >> + </property> >> + <property key="PROJECTMGR_FindTimeSheet"> >> + <value xml:lang="en">Project Manager Application Roles</value> >> + </property> >> + <property key="PROJECTMGR_EditSkillTypes"> >> + <value xml:lang="en">Project Manager Application Roles</value> >> + </property> >> + <property key="PROJECTMGR_RequestList"> >> + <value xml:lang="en">Project Manager Application Roles</value> >> + </property> >> +</resource> >> >> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml >> URL: >> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml?rev=754641&r1=754640&r2=754641&view=diff >> >> ============================================================================== >> --- ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml >> (original) >> +++ ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml Sun Mar >> 15 09:28:21 2009 >> @@ -30,6 +30,8 @@ >> <property-map resource="HumanResUiLabels" >> map-name="uiLabelMap" global="true"/> >> <property-map resource="CommonUiLabels" >> map-name="uiLabelMap" global="true"/> >> >> + <property-map resource="ProjectMgrHelpUrls" >> map-name="helpUrlsMap" global="true"/> >> + >> <!-- The two default (global) stylesheets are added to the >> list >> of stylesheets to the first and second position --> >> >> >> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/Menus.xml >> URL: >> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/Menus.xml?rev=754641&r1=754640&r2=754641&view=diff >> >> ============================================================================== >> --- ofbiz/trunk/specialpurpose/projectmgr/widget/Menus.xml (original) >> +++ ofbiz/trunk/specialpurpose/projectmgr/widget/Menus.xml Sun Mar 15 >> 09:28:21 2009 >> @@ -51,10 +51,6 @@ >> </condition> >> <link target="requestlist"/> >> </menu-item> >> - >> - <menu-item name="help" title="${uiLabelMap.CommonHelp}" >> align-style="opposed"> >> - <link >> target="http://docs.ofbiz.org/display/OFBENDUSER/Project+Manager+Application+Roles?decorator=printable" >> url-mode="plain" target-window="new"/> >> - </menu-item> >> </menu> >> <menu name="ProjectTabBar" extends="CommonTabBarMenu" >> extends-resource="component://common/widget/CommonMenus.xml"> >> <actions> >> >> > > >