Moved the feature that allows a new user to register for an account from MyPortal to the framework so that it is available in any application.
It has also been slightly reworked (code cleaning and internationalization).
Two flags in general.properties allows to configure if the register function must be enabled or not and if the captcha function should be used.
The captcha function needs to be improved because at the moment the code is contained in an hidden field so that it is very easy for a computer to bypass it.
A possible fix for this could be to put the MD5 coding of the captcha code in the hidden field.
Then the event that checks the code should compare the MD5 codes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1042196 13f79535-47bb-0310-9956-ffa450edef68
Added screenlet styles to the ecommain.css
Added several missin screenlet-body tags.
This allows better and more omogeneus rendering when mixing together FTL and screenlet widgets.
To be continued...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1042133 13f79535-47bb-0310-9956-ffa450edef68
This patch adds several closely-related features, intended to improve the display of products and their images in the ecommerce webapp.
When additional images for a product are uploaded via the Catalog, the scaled versions that were already being created in service addAdditionalViewForProduct are now recorded as ProductContent. This makes them easily available for use elsewhere.
New ProductContentType values were added to identify these content types. The obviously consistent string to use for these was too long, and so I had to choose something less consistent, but shorter and hopefully still clear. I used XTRA instead of ADDITIONAL.
The sizes to which additional images are rescaled has been changed, so they better fit in the ecommerce display. Relevant sizes in productdetail.ftl have been updated to match these sizes.
The ecommerce product display now uses the scaled additional images if available, rather than relying on the web browser to scale the images.
When displaying a single product in ecommerce, the main image is larger than the additional images. Hovering over an additional image displays a larger version in place of the main image.
Clicking on an additional image displays a popup with a detailed version of the image.
To use the new features, one or more large images (suggest at least 600x600) should be attached as additional images to a product, using the form on the bottom of the content tab for a product in Catalog. Viewing the product in ecommerce should then exhibit the above behaviour.
I have tried to maintain backwards compatibility, so that products with the old-style use of additional images will continue to display as they did previously. This means some of the code is not as streamlined as it might be.
JLR: You might prefer to keep the old ImageProperties.xml values...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1042024 13f79535-47bb-0310-9956-ffa450edef68
It was introduced by r1039574, related to OFBIZ-4031
I guess Bruno discovered it while working on MyPortal. So it could be that there are more errors like this (<value> tags outside of the <property> tags)
Unfortunately
* The are not reported as errors by XSD when you load the file in an XML editor
* The Label manager does not report them
* The patch is 93074 lines and 5MB
* It's hard to scan this kind of errors in a patch even a small one
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1039859 13f79535-47bb-0310-9956-ffa450edef68
Anne: some screen widgets set the field title-property instead of titleProperty. This causes errors in the logs, and means that the page title is not being set.
While preparing this patch, I discovered the labels referred to by some of these titleProperties were not available in Order component. However the missing ones were in Ecommerce. So I copied the missing ones to OrderUiLabels.xml.
JLR: instead of copying labels in OrderUiLabels.xml, I moved them to CommonUiLabels.xml: less and more consistent changes in the future.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1037559 13f79535-47bb-0310-9956-ffa450edef68
1. Change Active list screen to be the Open List screen: Open screen shows the items that which have the active status in Ebay.
2. Merge the Sold- and the Unsold screen to be the Closed List screen: The Closed List screen shows the items that are sold and the items which are out of date.
3. Create the services to get transactions and orders from eBay and show it in the Transaction screen and Order screen.
4. Create the services to import the transactions and orders from eBay to OFBiz.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1003451 13f79535-47bb-0310-9956-ffa450edef68
dom to be finished loading. Wrap such code with a dom:loaded observer.
Also, change all window->load calls to dom:loaded observers. The former
happens after all images have finished loading, while the later happens
just after the dom has finished parsing. This is better, as sometimes
the images may take a long time to finish downloading, and until they do,
none of the manipulation will take place.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@997420 13f79535-47bb-0310-9956-ffa450edef68