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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

PieceMaker module for silverstripe


Go to End


11 Posts   3846 Views

Avatar
Chrisazuka

Community Member, 20 Posts

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?

Avatar
dospuntocero

Community Member, 54 Posts

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.

Avatar
Webdoc

Community Member, 349 Posts

19 September 2011 at 12:51pm

Edited: 19/09/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);

Go to Top