Commit Graph
72 Commits
Author SHA1 Message Date
Michael Brohl 662a3f9d1c Improved: Remove Compdoc functionality from content manager
(OFBIZ-10476)
2021-02-13 17:33:05 +01:00
Nicolas Malin 7165768251 Implemented: Add a framework method to get main webapp menu with the webapp name
(OFBIZ-10601)

To improve theme management and provide better tools for new themes, we implement a method to obtain the main menu of a webapp.
Instead of just managing a menu, we extend the functionality by offering a method to expose a summary of the webapp, to simplify the navigation.

For this we add a new attribute on webapp definition app-shortcut-screen :

    <webapp name="mywebapp"
            ...
            app-shortcut-screen="component://mycomponent/widget/CommonScreens.xml#ShortcutApp"
            ...
    />

The idea is to define a new purpose screen *Shortcut* that contains what defines a webapp when an action or navigation has been requested. With this screen you can load a menu, a search, a complex description and use all screen powerfulness to resolve what displaying and support by theming

    <screen name="ShortcutApp">
        <section>
            <actions>
                <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
            </actions>
            <widgets>
                <decorator-screen name="ShortcutDecorator" location="component://common/widget/CommonScreens.xml">
                    <decorator-section name="body">
                        <include-menu name="MyShortcutAppBar" location="component://mycomponent/widget/CommonMenus.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

Each component are self-sufficient to define what shortcuts to display without framework change or knowledge about other component.
Each theme can implement and customize the display rendering at will.

To illustrate an example of implementation we set sub menu for each webapp defined on applications and exploit it on bluelight theme.

Thanks for Dennis Balkir, Jacques Leroux, Leila Mekika and Julien Nicolas for their involvement
2021-01-15 08:56:23 +01:00
holivier a65c000a07 Documented: remove docbook help files for content
(OFBIZ-11587)

All files have been migrated to asciidoc format and help link now point
to the html file generated from the asciidoc files

In the global Help Docbook index tree, remove all points about
content and add a short page with a link to the new help
2020-06-19 17:23:02 +02:00
Jacques Le Roux 5819450924 Improved: Make Create Menu tab bar for CompDoc consistent
(OFBIZ-8188)

Adds a create CompDoc tab bar in the main decorator to maintain the consistency 
throughout the tab bar of CompDoc.

Thanks: Avnindra Sharma

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867699 13f79535-47bb-0310-9956-ffa450edef68
2019-09-29 08:03:56 +00:00
Jacques Le Roux 4d646ce052 Improved: Use "Create" instead of "Create New" on the various screens of all
components
(OFBIZ-9905)

As the title says + removes now useless labels

Thanks: Aayush Jain for report, Sourabh Jain for the fix, Pierre Smits and 
Rishi Solanki for comments

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1858291 13f79535-47bb-0310-9956-ffa450edef68
2019-04-27 17:56:44 +00:00
Deepak Dixit 23e4b72f17 Fixed: Alert message : Developer: for lookups to work you must provide a form name! appears when try to select contentId from Lookup.
(OFBIZ-10012)
Applied slightly modified patch 
Thanks  Sonal for reporting and Aditya Sharma for providing patch for the issue


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825205 13f79535-47bb-0310-9956-ffa450edef68
2018-02-24 10:22:18 +00:00
Deepak Dixit 71d9a5e21b Fixed: Moved contentForum.css to contentimages webapp and updated path accordinlgy. This will complete the r1658621 and r1674451 (OFBIZ-6259)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811130 13f79535-47bb-0310-9956-ffa450edef68
2017-10-04 18:56:33 +00:00
Deepak Dixit 69a3268067 Improved: Moved OfbizUtil.js and fieldlookup.js from images to common-theme and made changes accordingly. (OFBIZ-5776)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809391 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 11:01:24 +00:00
Deepak Dixit b6bcecd716 Fixed: Typo introduced in r#1806326 (OFBIZ-9607)
Thanks Rohit Rai for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806714 13f79535-47bb-0310-9956-ffa450edef68
2017-08-30 17:18:30 +00:00
Deepak Dixit 1a7aee6685 Improved:Use from-field pattern instead of value=dollor pattern in 'set' element
Apply slightly modified patch from jira issue, fixed some typo (OFBIZ-9607)
Thanks Suraj Khurana and Rohit Rai for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806326 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 20:23:40 +00:00
Deepak Dixit d415614fbf Improved: Consitent menu bar in following screens decorator:
- Feature Category
- Product Store  
- DataResource
- Template
- CMS Content

(OFBIZ-8187)(OFBIZ-8186)(OFBIZ-8185)(OFBIZ-8184)(OFBIZ-8183)

Thanks Avnindra Sharma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768267 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 18:26:40 +00:00
Deepak Dixit 1db94eeaee (OFBIZ-1319) Replace selectall.js occurance with OfbizUtil.js.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752900 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 06:46:24 +00:00
Jacques Le Roux c8ba932772 Fixes a "typo" in last commit for "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
We used targetNamespace (should only be used in schema) instead of xsi:schemaLocation



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749634 13f79535-47bb-0310-9956-ffa450edef68
2016-06-22 05:58:26 +00:00
Jacques Le Roux 89212904bd Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
This is the 2nd step: puts back the original names, so it will be transparent for remaining references in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749489 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:37:47 +00:00
Jacques Le Roux 4931db1ed9 Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061 by replacing xsd files references in xml files by -ns.xsd files and removing the concerned xsd files
This is a 1st step, in a 2nd I will put back the original names, so it will be transparent for remaining reference in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749488 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:14:16 +00:00
Deepak Dixit 84ad66589e (OFBIZ-7021) Renamed content component ftl file name from lower case to upper case pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742457 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 18:11:54 +00:00
Deepak Dixit cee0263cef (OFBIZ-6815) relocate .ftl files in the content component
Thanks Pierre for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740446 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 06:12:08 +00:00
Jacques Le Roux 3db0424069 Fixes "Failed to load contentForum.css" - https://issues.apache.org/jira/browse/OFBIZ-6956
Got the following error when accessing ecommerce main page
"NetworkError: 404 Not Found - https://127.0.0.1:8443/contentimages/contentForum.css"

jleroux: contentimages webapp path was wrongly used there instead of simply content. I replaced all occurrences


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736628 13f79535-47bb-0310-9956-ffa450edef68
2016-03-25 18:02:16 +00:00
Michael Brohl 0027619e9e Manually applied patch from jira issue OFBIZ-5679: Functionality to add WebSitePathAlias records is missing.
This adds a "Create Website Path Alias" menu item to the WebSiteAliases view and allows to edit/delete teh entries.

Thanks Pierre Smits for reporting the issue and Willem Janssen for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682295 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 18:10:51 +00:00
Jacques Le Roux 23c89bab02 This defines the NotoSans font as default for report and FOP-PDF examples
With NotoSans by default, no need to specify the NotoSans "font-family" to write special characters in examples PDF (including content called from example).
This already worked in reports because of "fop.font.family=NotoSans" in fop.properties. It's also the way to use for custom reports.

I also added <auto-embed/> like we have <auto-detect/> but I'm unsure of what it does exactly (I suppose it embeds the fonts glyphs in the PDF) because the FOP documentation is unclear about it (to say the least). If someone knows better please chime in!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1675061 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 08:03:41 +00:00
Jacques Le Roux 4879e9c470 This reapplies r1519245: The path /content/images/ was used in some places (only for contentForum.css it seems) but no mount point was associated, here is a fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658621 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 06:04:39 +00:00
Anil Patel 20d5e4975f [OFBIZ-5675] Fix permission issues. Thanks Pierre Smits for bug report.
Thanks Deepak Dixit for fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626452 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:04:58 +00:00
Jacques Le Roux ef9582c387 A patch from Pierre Smits for "User with update permission can't access screens in content application" https://issues.apache.org/jira/browse/OFBIZ-5676
When a user has security permission 'CONTENTMGR_UPDATE' he should be able to access various screens in the content application, but he can't.

This applies to screens associated to menu-items:
Content
DataSource
Content Setup
DataResource Setup
Template
CMS

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609885 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 07:13:49 +00:00
Jacques Le Roux 513d684918 Closes https://issues.apache.org/jira/browse/OFBIZ-5521 as not a problem
It was my bad, I was simply stupid on this, reverts r1519245


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1562767 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 10:33:26 +00:00
Jacques Le Roux 06e7d2a646 The path /content/images/ was used in some places (only for contentForum.css it seems) but no mount point was associated, here is a fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1519245 13f79535-47bb-0310-9956-ffa450edef68
2013-09-01 08:18:47 +00:00
Jacques Le Roux b4cc50a2ac Adrian suggested to removes all style="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340389 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:39:47 +00:00
Hans Bakker 7245203a92 simplify webanalytics entity and moved from product to content, this entity has nomally only a single record so a conversion program is not provided. After upgrade, save the content of the entitye web_analytics_config and drop it in webtools. Then restart and re-enter the saved record
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1204455 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 11:34:32 +00:00
Hans Bakker 53abb5b2ac added an function on the website level: 'SEO' to generate missing seofiendly url's on a catalog, category, product and content level. entities records which have alread a seofriendly alternative url are not touched
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1153034 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 05:56:47 +00:00
Bruno Busco d46461ef36 Merged multiple labels in one
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904735 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30 08:49:59 +00:00
Bruno Busco 11c1256111 Added a "create" class to the buttontext for buttons that represents "Create New" operations.
This allows themes to style these buttons with additional "+" icons or whatever.
The idea is to add a "functional" class wherever needed so that the button-bar can be styled better by the theme.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899899 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 08:19:35 +00:00
Bruno Busco 5430d8ed95 Moved TabBar Menus from the "body" decorator-section to the "pre-body" decorator section.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897674 13f79535-47bb-0310-9956-ffa450edef68
2010-01-10 18:12:24 +00:00
Bruno Busco 97162a6517 Content component
Moved TabBar Menus from the "body" decorator-section to the "pre-body" decorator section.
Fixed a wrong menu location

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885342 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 07:26:45 +00:00
Bruno Busco 1e39c7bd92 Part of OFBIZ-3067 - Menus and form widget files location
Content component
Moved menus from webapp to widget folder


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828872 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 22:18:00 +00:00
Bruno Busco c30c24b95c Changed <container style="screenlet"> pattern to <screenlet...>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826269 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 15:11:32 +00:00
Marco Risaliti 40096417d8 Fix the content decorators and add some labelTitleProperty to various screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816728 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 17:48:15 +00:00
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Jacques Le Roux c894ce4036 Securing URLs, link element in screens and menus : 13th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760815 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 08:41:00 +00:00
Hans Bakker 041ccc0a7d rename applicationext component to commonext
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@748388 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 04:05:47 +00:00
Hans Bakker 5192a24e48 introduction of a common component for applications. moved the 2 lines containing party info to this component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@748144 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 13:36:51 +00:00
Marco Risaliti 7712182402 A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746406 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 22:53:32 +00:00
Hans Bakker 564527ce31 add a content navigation tree, demo data and including a DOS tree conversion program to be able to mimic an office file server
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745407 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 08:04:48 +00:00
Marco Risaliti 8cbb40ff26 A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745287 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 23:07:11 +00:00
Marco Risaliti 30bd7c76df A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745286 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 22:57:14 +00:00
David E. Jones a0d0a10ebc Resolved some more problems with the general html encoding, most of which are from funny code that should be cleaned up anyway so haven't run into any dilemmas so far; still looking though so could happen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742053 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 11:08:32 +00:00
Marco Risaliti a68519cc0b Artifact cleaning on content component after recent changes on xsd files (OFBIZ-2137)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739777 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 15:16:33 +00:00
Jacques Le Roux 5d9fd471dc <field-map(.*)env-name => <field-map$1from-field
<service(.*)result-map-name => <service$1result-map

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739764 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 13:54:08 +00:00
Jacques Le Roux 08915956a1 <if-empty field-name= => <if-empty field=
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739739 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 11:07:47 +00:00
Jacques Le Roux 572b7683e0 All tabs to 4 spaces in *.groovy, *.java, *.xml : less problems in future with that aspect...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737003 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:08:47 +00:00
Hans Bakker aeff3a680e hide website keys when creating a new website, show content title on login screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@734044 13f79535-47bb-0310-9956-ffa450edef68
2009-01-13 05:49:52 +00:00
Marco Risaliti d4a976cf2e Some missing italian translations and some missing i18n in order and content component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@732423 13f79535-47bb-0310-9956-ffa450edef68
2009-01-07 18:40:27 +00:00