-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 for your personal system that is a viable way. but it will cost a client to have a new consultant to get familar with you customization, like one user that posted here. so think through the complete life cycle of the implementation.
Marco Westermann sent the following on 2/16/2009 1:56 PM: > Hi, > > thanks for your answers, but you misunderstood the question a little bit > I think (or I misanderstand your answers). I only wanted to include an > existing flash object (which comes from a web ressource of the > manufactures web page, for example embed the following lines of code > instead of the image: > > <script type='text/javascript' > src='http://www.bic-media.com/dmrs/js/widget/DMRWidget.js'></script> > <script type='text/javascript'>try {new DMRWidget('9783481025038', > 'skin=black,buyButton=no,download=no,lang=de');} catch (e) {}</script> > > but I think, I have already a suggestion: > > I changed the productdetail.ftl, so where the image is placed on the > site, I decide wether to place the image or to include the appropriate > flash-object via java script. As this has to be configurable I have to > change the product configuration and add some new fields. > > By the way: As this is the first day evaluating OfBiz I was impressed, > that I could manage these. So great work, folks. > > Thanks a lot. > > with best regards, > Marco > > Todd Burdeinei schrieb: >> Yes- especially since most product catalogs will have a style guide of >> specific brand related traits that can live locally in the same swf >> file for >> all the products. Things like internally embedded fonts, images and >> placement can all live in and get re-used by the same swf file. Swf files >> can also call other swf files and xml files to get content. Since you can >> also load mp3 and jpgs from the xml and flash wrappers, its unlikely that >> you'd need to generate a swf from scratch >> For most applications for catalog items you'd never really need to >> generate >> the swf itself dynamically- even graphs and other vector based >> drawings can >> be made from params passed in. >> >> There are some tools out there for making graphs and dynamically >> generated >> swfs, but the few I found were bsd or closed. >> >> >> >> On Mon, Feb 16, 2009 at 12:48 PM, BJ Freeman <[email protected]> wrote: >> >> > would you say focusing on just compiled swf first then possibly > expanding would be a good path to follow? > > Todd Burdeinei sent the following on 2/16/2009 12:10 PM: > >>>>> As far as that goes- you could contribute, as long as you didn't try to >>>>> package your dependencies also. Like how we have configurations and >>>>> > support > >>>>> for mysql, but don't include mysql in the ofbiz package. "For this part >>>>> > go > >>>>> here" etc etc. >>>>> >>>>> On Mon, Feb 16, 2009 at 11:55 AM, BJ Freeman <[email protected]> >>>>> > wrote: > >>>>> you have a point. >>>>> I always assume someone will contribute. >>>>> :D >>>>> >>>>> Todd Burdeinei sent the following on 2/16/2009 11:46 AM: >>>>> >>>>>>>> Wouldn't the license incompatibility only come into play if you >>>>>>>> try to >>>>>>>> redistribute those other libraries with ofbiz? You could write >>>>>>>> > handlers > >>>>> and >>>>> >>>>>>>> connections for them and everything short of actually shipping them >>>>>>>> > with > >>>>>>>> your code. >>>>>>>> What if you didn't intend to redistribute? >>>>>>>> >>>>>>>> On Mon, Feb 16, 2009 at 11:35 AM, BJ Freeman <[email protected]> >>>>>>>> >>>>> wrote: >>>>> >>>>>>>> the libraries licenses would have to be compatible with the apache >>>>>>>> >>>>> license. >>>>> >>>>>>>> you still need a way to work within the ofbiz framework. >>>>>>>> >>>>>>>> Todd Burdeinei sent the following on 2/16/2009 11:23 AM: >>>>>>>> >>>>>>>>>>> Flash movies can have a variety of information passed to them >>>>>>>>>>> from >>>>>>>>>>> > the > >>>>>>>>>>> freemarker templates. You could create a 'master' flash movie and >>>>>>>>>>> > load > >>>>>>>>>>> components dynamically through the params for the swf file or >>>>>>>>>>> > through > >>>>> swf >>>>> >>>>>>>>>>> javascript handler. You can also wrap jpgs in a flash wrapper and >>>>>>>>>>> > load > >>>>>>>> them >>>>>>>> >>>>>>>>>>> in dynamically as well. >>>>>>>>>>> There are a variety of libraries for generating swf files from >>>>>>>>>>> > scratch > >>>>>>>> also. >>>>>>>> >>>>>>>>>>> On Mon, Feb 16, 2009 at 10:28 AM, BJ Freeman >>>>>>>>>>> <[email protected]> >>>>>>>>>>> >>>>>>>> wrote: >>>>>>>> >>>>>>>>>>> come to think of it you would have to have the rendering >>>>>>>>>>> engine add >>>>>>>>>>> >>>>> the >>>>> >>>>>>>>>>> support information for a swf file as well have parms in the >>>>>>>>>>> EditProductContent that would be passed to the rendering engine. >>>>>>>>>>> <OBJECT >>>>>>>>>>> CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" >>>>>>>>>>> >>>>>>>>>>> CODEBASE=" >>>>>>>>>>> >>>>>>>>>>> > http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0 > > >>>>>>>>>>> " >>>>>>>>>>> ID="Sample" >>>>>>>>>>> WIDTH="400" >>>>>>>>>>> HEIGHT="300"> >>>>>>>>>>> <param name="Movie" value="myfile.swf"> >>>>>>>>>>> <param name="Src" value="myfile.swf"> >>>>>>>>>>> <param name="WMode" value="Window"> >>>>>>>>>>> <param name="Play" value="-1"> >>>>>>>>>>> <param name="Loop" value="-1"> >>>>>>>>>>> <param name="Quality" value="High"> >>>>>>>>>>> <param name="Menu" value="-1"> >>>>>>>>>>> <param name="Scale" value="ShowAll"> >>>>>>>>>>> <param name="DeviceFont" value="0"> >>>>>>>>>>> <param name="EmbedMovie" value="0"> >>>>>>>>>>> <param name="BGColor" value="FFFFFF"> >>>>>>>>>>> <param name="Stacking" value="below"> >>>>>>>>>>> <embed NAME="Sample" SRC="myfile.swf" >>>>>>>>>>> WMODE="Window" >>>>>>>>>>> PLAY="true" >>>>>>>>>>> LOOP="true" >>>>>>>>>>> QUALITY="high" >>>>>>>>>>> BGCOLOR="#FFFFFF" >>>>>>>>>>> SCALE="showall" >>>>>>>>>>> WIDTH="100%" >>>>>>>>>>> HEIGHT="100%" >>>>>>>>>>> TYPE="application/x-shockwave-flash" >>>>>>>>>>> >>>>>>>>>>> PLUGINSPAGE=" >>>>>>>>>>> >>>>>>>>>>> > http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwaveflash > > >>>>>>>>>>> "> >>>>>>>>>>> </OBJECT> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> BJ Freeman sent the following on 2/16/2009 10:15 AM: >>>>>>>>>>> > https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=WG-9943 > > >>>>>>>>>>>>>> If you want to upload like images that is one effort. Like >>>>>>>>>>>>>> > provide > >>>>> the >>>>> >>>>>>>>>>>>>> upload for swf files on the EditProductContent page, and store >>>>>>>>>>>>>> >>>>> them. >>>>> >>>>>>>>>>>>>> Also determine if the swf replaces the which of the Image >>>>>>>>>>>>>> files, >>>>>>>>>>>>>> >>>>> like >>>>> >>>>>>>> in >>>>>>>> >>>>>>>>>>>>>> the upload feature >>>>>>>>>>>>>> >>>>>>>>>>>>>> if you just want to ftp into the image folder the swf files >>>>>>>>>>>>>> that >>>>>>>>>>>>>> >>>>> would >>>>> >>>>>>>>>>>>>> be the easiest. then just put in the swf file name in the >>>>>>>>>>>>>> images >>>>>>>>>>>>>> >>>>>>>>>>> manually. >>>>>>>>>>> >>>>>>>>>>>>>> have not researched if the rendering engine is file >>>>>>>>>>>>>> specific or >>>>>>>>>>>>>> > if > >>>>> it >>>>> >>>>>>>>>>>>>> will just put file in the EditProductContent image. you can >>>>>>>>>>>>>> give >>>>>>>>>>>>>> > it > >>>>> a >>>>> >>>>>>>>>>>>>> try and see. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Marco Westermann sent the following on 2/16/2009 7:23 AM: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Hi all, >>>>>>>>>>>>>>> we want to embed flash-objects instead of the image in the >>>>>>>>>>>>>>> > product > >>>>>>>>>>>>>>> detail view (in the ecommerce-module). For example to show a >>>>>>>>>>>>>>> >>>>> reading >>>>> >>>>>>>>>>>>>>> rehearsal. But this has to be configurable, as the most >>>>>>>>>>>>>>> > products > >>>>>>>> still >>>>>>>> >>>>>>>>>>>>>>> needs a normal image while some of them needs the >>>>>>>>>>>>>>> > flash-objects. > >>>>>>>> Would >>>>>>>> >>>>>>>>>>>>>>> that be much work to realise. >>>>>>>>>>>>>>> Thanks for any advises. >>>>>>>>>>>>>>> with best regards, >>>>>>>>>>>>>>> Marco Westermann >>>>>>>>>>>>>>> >>> >> >> >> >> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJmeSPrP3NbaWWqE4RAvA5AKCMoZLPr1uvIphGe6TzXE8C1hOzvwCfY4AH /gPm/fV+dev/0IH9mVKA8n8= =PT1Y -----END PGP SIGNATURE-----
