Commit Graph
42 Commits
Author SHA1 Message Date
holivier 2f6b0f19a3 Documented: remove from plugin cmssite link to document genereted from docbook help files 2020-10-26 18:45:19 +01:00
Deepak Dixit 443411cdf4 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-plugins/trunk@1836889 13f79535-47bb-0310-9956-ffa450edef68
2018-07-28 11:50:09 +00:00
Deepak Dixit 1f164336e9 Improved: Remove use of deprecated language attribute from script tag
(OFBIZ-10491)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1836546 13f79535-47bb-0310-9956-ffa450edef68
2018-07-24 11:27:20 +00:00
Rishi Solanki c1c14b8e9c Improved: Remove empty field values from xml data files so that it will not override existing data with empty values. Removed all empty data fields from data files plugins components.
(OFBIZ-10282)
Thanks to Arun Patidar for reporting and review.
Thanks to Suraj Khurana for providing patch for the improvement.
Thanks to Jacques for discussion and finalizing the work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1830546 13f79535-47bb-0310-9956-ffa450edef68
2018-04-30 10:56:31 +00:00
Jacques Le Roux 392cdc25e6 Improved: Hardcoded stylesheets and javascript resources
(OFBIZ-)

The 'HtmlHead.ftl' file of the cmssite component contains following hardcoded 
style sheet and javascript resources:
•/images/fieldlookup.js
•/images/selectall.js
•/images/ecommain.css
•/ecommerce/images/blog.css
•/content/images/contentForum.css

Thanks: Pierre Smits, Anil and Swapnil

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1815798 13f79535-47bb-0310-9956-ffa450edef68
2017-11-20 12:41:46 +00:00
Deepak Dixit f02613b01b Improved: No functional change, Only added license header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1812310 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 18:43:49 +00:00
Deepak Dixit 97ae936753 Improved: Updated ecommain.css reference, as its moved from common theme to ecommerce (OFBIZ-9771)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1811222 13f79535-47bb-0310-9956-ffa450edef68
2017-10-05 18:26:49 +00:00
Deepak Dixit ae025f88ee Improved: Updated contentForum.css path in plugins.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1811131 13f79535-47bb-0310-9956-ffa450edef68
2017-10-04 18:57:13 +00:00
Deepak Dixit d4b11cf0a4 Improved: Updated moved file references for plugins (OFBIZ-5776)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1809393 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 11:10:35 +00:00
Taher A. Alkhateeb 436c99ca6d Implemented: renamed the directory specialpurpose to plugins
(OFBIZ-7972)

In another step towards completing the plugin system for OFBiz, we renamed
the /specialpurpose directory to /plugins and changed all occurences of the
word "specialpurpose" to "plugins" in all files found in the system

Reference discussion: http://markmail.org/message/hpyuxkmftiyn44w2


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/plugins@1778271 13f79535-47bb-0310-9956-ffa450edef68
2017-01-11 10:48:47 +00:00
Pranay Pandey 22c44b3967 Implemented: Multisite support in specialpurpose/cmssite
(OFBIZ-7120)

Second patch for providing demo data for multisite feature.

Thanks Mohammed Rehan Khan for the contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1761156 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 08:15:20 +00:00
Pranay Pandey 1438b0490a [OFBIZ-7132] Applied slightly modified patch from the ticket. Added WebSiteAlias usage example to cmssite data.
Thanks Chandan Khandelwal for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1748800 13f79535-47bb-0310-9956-ffa450edef68
2016-06-17 06:49:30 +00:00
Jacques Le Roux 8a7c7a697b Fix for ContentWorker at OFBIZ-6669. For that I have added owasp-java-html-sanitizer-r239.jar and put a "content.sanitize=true" property in content.properties with some explanations. The reason I put this property is because the sanitizer does some (safe) changes which might be unwanted in a context where you are "sure" no one can inject/exploit your DB, see the JIra issue for details. Note that this does not affect the *ContentWrapper.java classes where we use OWASP encoding and not sanitizer. The reason we need the sanitizer here is because we are no only handling content but also HTML code...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1708274 13f79535-47bb-0310-9956-ffa450edef68
2015-10-13 00:40:47 +00:00
Jacopo Cappellato f5556274fc OFBIZ-5896 This commits fixes a regression I introduced with rev. 1635232 (this actually reverts that commit) and provides a different and better fix for the error affecting the "Did you know?" screenlet.
ContentServicesComplex.getAssocAndContentAndDataResourceCacheMethod was not using the passed contentId in condition list, and also was not using the ContentAssocDataResourceViewFrom/To view entity to get the result. Thanks to Deepak Dixit for the patch.
Misc minor cleanups (removed commented out code) and some small formatting fixes.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1643061 13f79535-47bb-0310-9956-ffa450edef68
2014-12-03 07:17:12 +00:00
Jacopo Cappellato 92bc7d9bc3 Fixes for the "Did you know?" screenlet in ecommerce that was throwing errors after Scott's recent fix to a content related method (the fix has exposed the data issues).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1635232 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 18:02:51 +00:00
Jacopo Cappellato b8e5179039 Moved the docbook distribution from applications/content to specialpurpose/cmssite, the only component that requires it. The Docbook schemas are still in the content component because they are required to render the online help screens of the applications.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1524112 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 16:11:00 +00:00
Bruno Busco 542ff232bd A patch from Patrick Antivackis "Addind Error Pages (404 - 410) possibilities for the Content app" (https://issues.apache.org/jira/browse/OFBIZ-3022) - OFBIZ-3022
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@826205 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 09:12:39 +00:00
Hans Bakker daa6a68f8c put a littlebit more explanation at the cms demo site, adjusted the setup documents
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@818382 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 06:58:54 +00:00
Hans Bakker 703f4ced6d show a list of public documents within cmssite
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@810374 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 06:25:24 +00:00
Hans Bakker 06e773a339 correction on r809257
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@809452 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 02:41:00 +00:00
Jacopo Cappellato fddc7353b5 Fix for typo.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@788009 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 12:59:06 +00:00
Anil Patel d2694490dd Improved html markup in demo data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@786404 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 07:41:27 +00:00
Hans Bakker 8329e0a553 corrections to re-enable the xml file with a ftl template applied to it requested by Jacques
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@782562 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 08:51:46 +00:00
Jacques Le Roux 05db556f45 Typo in contentName
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@779517 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 09:58:48 +00:00
Jacques Le Roux 67d577fe8a Last line commented and $ removed for now : not working -->
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@776236 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 08:32:35 +00:00
Jacques Le Roux 470840d089 No need to escape in CDATA http://www.w3.org/TR/REC-xml/#dt-chardata. Trying to fix an issue with CMSS_DEMO_TPL_DATA when rendering, exactly:
Error rendering FTL template (Expression thisContent.content.CMSS_DEMO_TPL_DATA is undefined on line 9, column 33 in DataResource:CMSS_DEMO_HOME.)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@773346 13f79535-47bb-0310-9956-ffa450edef68
2009-05-10 14:44:43 +00:00
Hans Bakker 0ad5af65ed improve form, remove debug messages and show with demo data how to render an xml datResourceId using an ftl dataResourceId as template
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@766217 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 05:33:50 +00:00
Jacques Le Roux 97bb3073c9 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Hans Bakker ec91e1c730 running the ofbiz site under the ofbiz websitecms system (make sure you load the demo data)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@737311 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 07:08:25 +00:00
Hans Bakker 91e4ef03d3 just a quick import of the ofbiz site into svn. if we can redirect the ofbiz.apache.org site to this site at localhost:8080/ofbiz we have the ofbiz site running under ofbiz..and update the site in the normal ofbiz svn......next step is to make use of the ofbiz content facilities
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@736967 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 07:17:44 +00:00
Hans Bakker 6aa6bac2f9 show example of a blog in cmssite
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@733595 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12 03:36:38 +00:00
Hans Bakker 5269893a25 inserted demo data to show the usage of screen widgets in cmssite
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@733410 13f79535-47bb-0310-9956-ffa450edef68
2009-01-11 02:26:26 +00:00
Jacopo Cappellato 5b7d151235 Fixed an issue in my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@685572 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 14:32:43 +00:00
Jacopo Cappellato a53b9f4057 Example of how a content base page can decorate a region of a decorator with a custom content/data-resource pair.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@685568 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 14:25:40 +00:00
Jacopo Cappellato 56593aee76 Small enhancement to the demo data of the demo CMS site to show a way to use the Sub-Content Pattern to reach content using the publish point and the mapKey.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@684563 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 17:55:35 +00:00
Jacopo Cappellato 9e4d997020 Minor changes to the demo data (just renamed a few ids to improve readability) and added some notes to better describe the structure of the data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@684277 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 15:36:59 +00:00
David E. Jones a12b5688ba A few little cleanups, moved the ftl demo files to the database and simplified the controller file quite a bit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@677645 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 17:37:02 +00:00
Andrew Zeneski 8f937d7447 added demo purpose data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@530520 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 19:01:15 +00:00
David E. Jones 0bf17dd05b Various cleanups in the cmsssite templates and data; implemented a change to support rendering the Content instead of the DataResource when it is decorated, which is necessary in order for the thisContent object to exist and function, which is necessary for including sub-content and such; also implemented the content map facade link element to get a link out of the context that the cms event puts in it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@516669 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 09:38:03 +00:00
David E. Jones f604fec8e6 Added a demo home page, and another page; NOTE that this still includes some test stuff that is having some issues, like the incomplete link thingy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@516642 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 02:26:53 +00:00
Andrew Zeneski 54b3fae226 added more demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@516549 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 20:53:07 +00:00
David E. Jones c00e031d29 Added skeleton cmssite component and webapp with a few example pages; plan is to flesh this out to make a little demo site
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@516537 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 20:13:31 +00:00