Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

PieceMaker module for silverstripe


11 Posts   1321 Views


19 September 2011 at 10:54am Community Member, 20 Posts

Webdoc, did u download his just amended one? and can you makes the changes to it and upload/attach it for download?


19 September 2011 at 12:13pm Community Member, 54 Posts

I decided that its easier to modify the 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.


19 September 2011 at 12:51pm (Last edited: 19 September 2011 12:54pm), Community Member, 332 Posts

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);