Jacques Le Roux
fdeedf23ee
Improved: Adds the HTML <input> accept Attribute in form widgets and Freemaker templates (OFBIZ-12049)
...
As explained at
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
this is only an help for the users (ie not a security feature), but an
appreciable one easy to implement.
Here we start with website/WebSiteCMSContent.ftl
Also add some missing file extensions
2020-12-07 18:45:25 +01:00
James Yong
39c1e280f9
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
refactoring +
importLibrary function to use crossDomain = true to allow js file to be shown under browser's sources folder
2020-08-16 18:05:32 +08:00
James Yong
55df1c7db0
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
Use importLibrary js function to load elrte js and css
Tested on
https://localhost:8443/content/control/findForumMessages?forumGroupId=WebStoreFORUM&forumId=10000
https://localhost:8443/content/control/WebSiteCms?webSiteId=CmsSite
2020-08-16 14:35:35 +08:00
Michael Brohl
c332322017
Fixed: CMS add content not working.
...
(OFBIZ-10833)
This fixes the missing content association and wrong update of the
parent content reported by Ingo Wolfmayr. Thanks Sebastian Berg for
providing the patch.
2020-02-18 21:28:14 +01:00
Deepak Dixit
ef0c694a46
Improved: Use application/javascript instead of text/javascript
...
(OFBIZ-10492)
Replace text/javascript with application/javascript in all the script tag
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1836886 13f79535-47bb-0310-9956-ffa450edef68
2018-07-28 10:51:52 +00:00
Deepak Dixit
397628ba7d
Improved: Remove use of deprecated language attribute from script tag
...
(OFBIZ-10491)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1836545 13f79535-47bb-0310-9956-ffa450edef68
2018-07-24 11:26:23 +00:00
Jacques Le Roux
aa98ace180
Fixed: Error on updating sub content of CMS webSIte
...
(OFBIZ-10096)
Steps to reproduce:
Get to
https://demo-trunk.ofbiz.apache.org/content/control/WebSiteCms?webSiteId=CmsSite
4. From WebSIteNav, click on Cms Site Demo Home page
Edit content in editor and click save button (available in editor)
It gives error:
The Following Errors Occurred:
The following required parameter is missing:
[IN] [updateContentAssoc.contentIdTo]
jleroux: the elrte internal button works but not the widget Save button
Thanks: Aditya
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1821115 13f79535-47bb-0310-9956-ffa450edef68
2018-01-14 18:43:49 +00:00
Jacques Le Roux
70b99a6db9
Reverts from r1821001 (for OFBIZ-10113) some unrelated files (pending changes)
...
that inadvertently slipped in.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1821028 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 20:06:03 +00:00
Jacques Le Roux
19d9b3ca30
Improved: Replace Asm select plugin with Select2.
...
(OFBIZ-10113)
Current Asm Select Plugin
http://www.ryancramer.com/journal/entries/asmselect_v104/
can be replaced with Select2 (https://select2.org/ ).
* Select2 has much better community support on GitHub with 386 contributors
while Asm Select Plugin is handled by Ryan Cramer on http://www.ryancramer.com/ .
* Select2 has 37 releases while Asm select has very few releases yet.
* Both the plugin has MIT license.
Refer https://select2.org/ and
https://github.com/select2/select2 for more features and other information.
Added i18n support so added logic in JsLanguageFileMappingCreator and
JsLanguageFilesMapping accordingly.
Added some custom CSS as the Select2 seems to be too fancy in accordance
with the current OFBiz themes
Verify:
Multiple drop-downs field in FormWidgetExamples.
https://localhost:8443/example/control/FormWidgetExamples
Find Request page with StatusId , CustRequestId
https://localhost:8443/ordermgr/control/FindRequest
I have replaced the plugins though I feel the implementation of select multiple
js code is to be reviewed & refactored. I will pick when I am done with all my
current tasks if I get some consensus.
Thanks: Aditya
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1821001 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 15:47:47 +00:00
Deepak Dixit
d310aaf2cd
Improved: Inconsistent String Comparisons, Applied patch for ftl file.
...
Thanks Devanshu Vyas for your contribution. (OFBIZ-9254)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812285 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 11:31:40 +00:00
Deepak Dixit
88493836bc
Improved: Moved jquery related js/plugins from images to common-theme webapp and made changes accordinlgy. (OFBIZ-5776)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809389 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 10:41:28 +00:00
Deepak Dixit
834691742b
(OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Jacques Le Roux
be402d8a4e
A patch from Ingo Wolfmayr for "CMS does not store "Long text"" https://issues.apache.org/jira/browse/OFBIZ-7050
...
When you create content via CMS
(Content --> Websites --> [Select Website for example WebStore] --> CMS )
the text content does not get stored. No error message available.
TextData was not submitted. Additionally I corrected a Javascript call as the used function signature does not exist.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743100 13f79535-47bb-0310-9956-ffa450edef68
2016-05-10 05:51:38 +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