Commit Graph
32 Commits
Author SHA1 Message Date
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
Jacopo Cappellato 3c128ad8b8 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@1643061 13f79535-47bb-0310-9956-ffa450edef68
2014-12-03 07:17:12 +00:00
Jacopo Cappellato 77e602dc99 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@1635232 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 18:02:51 +00:00
Anil Patel 5c128c231d [OFBIZ-3719] Reverting DOCTYPE hardcoding from cmsevents. Giving control back to the template.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1628015 13f79535-47bb-0310-9956-ffa450edef68
2014-09-27 22:38:02 +00:00
Ashish Vijaywargiya aff06fcbc6 Applied the patch OFBIZ-4902_specialpurpose.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
Thanks http://ofbiz.us team for providing the patch work. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618313 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 08:40:28 +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 4130cae251 Removes blanks at EOL
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076116 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 06:42:15 +00:00
Jacques Le Roux 32f5b6db55 Fix issues when rendering as templates subContents in Content Manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1074624 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 16:54:33 +00:00
Jacques Le Roux 24fe5ff37e Merges the jQuery branch back to the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044503 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 20:40:08 +00:00
Jacques Le Roux f2fbad78d5 Improvement on r960336. Fix a problem reported by Scott on dev ML.
I tested locally, and I think I have done it right this time


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960491 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 09:10:19 +00:00
Jacques Le Roux 82aba53fa5 Improvement on r960336 (should fix a problem reported by Scott on dev ML.)
I tested locally, but I'm not quite sure it's sufficient


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960401 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 21:23:47 +00:00
Ashish Vijaywargiya 9712434557 Applied patch from jira issue: OFBIZ-3719 - Include DOCTYPE at the begining of CMS driven html page.
Description of work:
Include DOCTYPE at the begining of html pages, that are render through cms.
Currently DOCTYPE is included in HtmlHead.ftl for cms.
By doing so the DOCT YPE is always included on the top of the page before rendering single HTML statement.

Thanks Deepak & Rishi for the contribution and Scott for the comments.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935886 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 12:03:21 +00:00
Bruno Busco 845361b235 A patch from Blas Rodriguez Somoza
OFBIZ-3612 - XHTML validation errors (specialpurpose_cmssite)
XHTML validation errors
- Unencoded ampersands in urls.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929286 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 21:04:26 +00:00
Adam Heath 2eb1768f1d Fix lots of bad xhtml tags, need to have a space before the ending /.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@923545 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 01:56:41 +00:00
Hans Bakker 5893eb5f78 Public documents not showing when not logged in
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893399 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 04:00:34 +00:00
Jacques Le Roux 88e6b9481b I realized that in some cases it's better to keep the country part of locale, so this is better than r887164 (Fix a calendar i18n initialization issue in lookup.ftl)
And generalized to all FTL files where needed.
I only tested for lookups, but should be ok, since the same trick is used in other FTL files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887166 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 12:07:48 +00:00
Jacques Le Roux 059cf20ff9 Fix a bug introduced with r886143 (when a language.js was missing no default was given)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886723 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 09:45:33 +00:00
Jacques Le Roux 3dd84d9f25 A patch from Sascha Rodekamp " Colors and localisation for the calendar" (https://issues.apache.org/jira/browse/OFBIZ-1825) - OFBIZ-1825
Simple and clear implementation!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886143 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 13:54:17 +00:00
Jacques Le Roux b9c3ddef08 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@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Hans Bakker 33b973ccc5 show example of a blog in cmssite
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@733595 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12 03:36:38 +00:00
Hans Bakker c1baa3025f inserted demo data to show the usage of screen widgets in cmssite
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@733410 13f79535-47bb-0310-9956-ffa450edef68
2009-01-11 02:26:26 +00:00
Jacopo Cappellato 4b79877c9b Improved template decorator resource: now it searches for the htmlHead/header/footer sub contents associated to the Content that is going to be decorated before using (if they are not found) the ones associated to the Content record of the decorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685564 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 14:17:36 +00:00
Scott Gray 31f94919b7 Replaced the Tigra calendar with Calendar Date Select (http://code.google.com/p/calendardateselect/) - OFBIZ-1808
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663501 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 08:45:10 +00:00
David E. Jones e3cc06b406 Undo changes from Adrian Crum in rev 567090; different way of addressing this is being discussed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567316 13f79535-47bb-0310-9956-ffa450edef68
2007-08-18 19:04:24 +00:00
David E. Jones 344fea6893 Undoing partial revert of rev 567090 by Adrian Crum in 567097; a partial revert is a BAD idea because it turns the rest of it into a manual process; next will be to undo the 567090 commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567315 13f79535-47bb-0310-9956-ffa450edef68
2007-08-18 19:01:55 +00:00
Adrian Crum 71471255c0 Reverted ecommerce style sheet portion of last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567097 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 17:55:25 +00:00
Adrian Crum 73290f1b58 Moved the ecommain.css file to the ecommerce component. Existing installations will need to update the stylesheet field in their ProductStore entity.
Moved forum.properties file to the content component.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567090 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 17:22:04 +00:00
David E. Jones d87948529c 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@516669 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 09:38:03 +00:00
David E. Jones d54938ab3b A few cleanups and fixed the stuff related to using cms instead of control for the ControlServlet name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516594 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 22:45:06 +00:00
Andrew Zeneski feb93b420f updated templates w/ dynamic content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516567 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 21:44:44 +00:00
David E. Jones f6541b3481 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@516537 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 20:13:31 +00:00