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.

Archive /

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

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

how to embed only the flickr module


Go to End


6 Posts   2178 Views

Avatar
Tales Thaler

Community Member, 3 Posts

8 August 2008 at 1:30pm

Edited: 08/08/2008 9:49pm

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

Avatar
Willr

Forum Moderator, 5523 Posts

9 August 2008 at 10:17pm

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

Avatar
Tales Thaler

Community Member, 3 Posts

10 August 2008 at 5:24am

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

Avatar
Willr

Forum Moderator, 5523 Posts

10 August 2008 at 11:07am

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

Avatar
Tales Thaler

Community Member, 3 Posts

10 August 2008 at 11:26am

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.

Avatar
Willr

Forum Moderator, 5523 Posts

10 August 2008 at 11:39am

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.