Hi, I want to know how to embed only the flickr module in a html file.
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.
just a standard html file or are you using a SilverStripe template file
No Silverstripe template used. Anyway, SS is installed and working. I just need to embed the flickr module into another html inside the site.
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
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.
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.