Login | Forgot password | Register

X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

Jump to:

179 Posts in 40 Topics by 84 members

Migrating a Site to Silverstripe

SilverStripe Forums » Migrating a Site to Silverstripe » Incorporating Flash with Dynamic Content

What you need to know when migrating your existing site to SilverStripe.

Page: 1
Go to End
Author Topic: Incorporating Flash with Dynamic Content 1311 Views
  • Ctrl+Z
    avatar
    Community Member
    7 posts

    Incorporating Flash with Dynamic Content Link to this post

    Hi, this is only loosely relating to silverstripe and is probably much more a flash issue, but I thought I may as well try out the silverstripe community and see how I go.

    Well anyway, I have a flash banner/gallery type object on my website which I am migrating to my new silverstripe website. At the moment the images, text, and links are hard coded into the fla and I have to edit it by hand when I want to make changes. Could someone point me in the right direction on integrating this into my site so that it updates based on the latest content? Or so I can control it from within the CMS?

    Obviously the first step is getting the flash to load an xml file and read the items. Anyone know how to do this in a straightforward way or have some links to tutorials?

    All feedback appreciated - thanks

  • Ingo
    avatar
    Administrator
    596 posts

    Re: Incorporating Flash with Dynamic Content Link to this post

    You can output XML from SilverStripe in various ways. One of the easiest is RestfulServer (http://doc.silverstripe.com/doku.php?id=restfulserver). It uses XMLDataFormatter, a utility class which might be helpful for you as well. And then there's the good old "make a new template with XML header" way ;) There's not much difference to creating an HTML template really. As for your banner, I'd suggest an image relation on your homepage in the CMS ($has_one Image), which you can then form into XML with a new controller method on Page.php

    1311 Views
Page: 1
Go to Top

Currently Online: Euphemismus

Welcome to our latest member: fearofbuttons

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.