Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » how to embed only the flickr module

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1754 Views
  • Tales Thaler
    Avatar
    Community Member
    3 Posts

    how to embed only the flickr module Link to this post

    Hi, I want to know how to embed only the flickr module in a html file.

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: how to embed only the flickr module Link to this post

    just a standard html file or are you using a SilverStripe template file

  • Tales Thaler
    Avatar
    Community Member
    3 Posts

    Re: how to embed only the flickr module Link to this post

    No Silverstripe template used. Anyway, SS is installed and working. I just need to embed the flickr module into another html inside the site.

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: how to embed only the flickr module Link to this post

    the module won't work outputing to an html file as html is completely static and you can't call the Flickr Modules functions from it.

    You would need to convert that HTML file to a Page within SilverStripe and access the flickr module that way

  • Tales Thaler
    Avatar
    Community Member
    3 Posts

    Re: how to embed only the flickr module Link to this post

    Ok, I've got it, I should use it in a php file that calls the flickr module function. but I want to know if it is possible to put ONLY the flickr module, without the SS header, footer, nav bar, etc.

    Thank you.

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: how to embed only the flickr module Link to this post

    Well everything in SilverStripe is pretty integrated so just 'including the flickr code' is quite messy for an external HTML file. If the html file you are trying to use flickr from is separate from your SilverStripe install (which I am assuming) then you could try use a separate PHP Flickr Library class - http://lerdorf.com/php/flickr_api.phps which doesnt have any 'hooks' into SilverStripe and you can use those methods in your php file.

    1754 Views
Page: 1
Go to Top

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

Comments on this website? Please give feedback.