5119 Posts in 1527 Topics by 1119 members
| Go to End | Next > | |
| Author | Topic: | 3057 Views |
-
Image Rotator For SilverStripe Application

30 January 2009 at 1:22pm
Hi,
An article about adding image rotator functionality to the ss site.
http://erhanabay.com/2009/01/30/image-rotator-for-your-silverstripe-application/
Comments and suggestions are welcome...
-
Re: Image Rotator For SilverStripe Application

30 January 2009 at 9:45pm
Cool writeup , would you mind creating a recipe in the Silverstripe Wiki as well ? That way , all info will be centralized.
See http://doc.silverstripe.com/doku.php?id=recipes:start&s=recipes
-
Re: Image Rotator For SilverStripe Application

30 January 2009 at 10:47pm
Nice one. I'm going to use the JW player in an up coming project and this will be a great help since i'm a SS newbie.
-
Re: Image Rotator For SilverStripe Application

31 January 2009 at 2:33am
Thank you.
I am going to add it as soon as I have time.
-
Re: Image Rotator For SilverStripe Application

31 January 2009 at 5:06am
Very nicely architected, though I'm not sure that a flash object is necessary. I usually do this with a few lines of javascript, as seen here:
-
Re: Image Rotator For SilverStripe Application

31 January 2009 at 5:25am
Different approach, nice job!
But flash rotator can handle swf files as well. ;)
-
Re: Image Rotator For SilverStripe Application

31 January 2009 at 6:05am
another example with javascript
-
Re: Image Rotator For SilverStripe Application

11 March 2009 at 5:44pm
Hi UncleCheese
I have in Page.php created a function
function FrontPageRotator() {
return DataObject::get("Image", "`ParentID` = 31");
}And in Page.ss the following template code
<% if frontPageRotator %>
<% control frontPageRotator %>
$Link<br />
<% end_control %>
<% end_if %>I wanted to have $Image.setWidth(140) instead of $Link, but I dont seem to be able to refer to $Image.
Can you help?Thanks in advance.
Best regards Trym
| 3057 Views | ||
| Go to Top | Next > |



