10376 Posts in 2191 Topics by 1708 members
| Go to End | ||
| Author | Topic: | 783 Views |
-
Re: PieceMaker module for silverstripe

19 September 2011 at 10:54am
Webdoc, did u download his just amended one? and can you makes the changes to it and upload/attach it for download?
-
Re: PieceMaker module for silverstripe

19 September 2011 at 12:13pm
I decided that its easier to modify the Config.ss file instead of adding lots of fields to the cms. my main reason for that is the end user normally will break the slideshow. i used the new unclecheese´s kickassets module, so you can drag any file: swf, mp4, fly, jpg or png and it will just work.
i think i forgot to comment something about that. sorry.. hehe
if you want, you can mix the 2 versions and add all the config stuff to the cms, i was too lazy to doit, actually instead of suffering trying to understand my trainee code, i just rewrote the complete module.
-
Re: PieceMaker module for silverstripe

19 September 2011 at 12:51pm Last edited: 19 September 2011 12:54pm
Hi dospuntocero
Can u help
If i write code to PMDecorator.php
new TextField('SliderWidth',_t('PieceMaker.IMAGEWIDTH',"Slider Width")),
new TextField('SliderHeight',_t('PieceMaker.IMAGEHEIGHT',"Slider Height"))How to get them working here
swfobject.embedSWF("PieceMaker/flash/piecemaker.swf", "PieceMaker-container", "SliderWidth-here", "SliderHeight-here", "10", "PieceMaker/flash/expressInstall.swf", flashvars, params, attributes);
| 783 Views | ||
| Go to Top |



