17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1636 Views |
-
how to embed only the flickr module

8 August 2008 at 1:30pm Last edited: 8 August 2008 9:49pm
Hi, I want to know how to embed only the flickr module in a html file.
-
Re: how to embed only the flickr module

9 August 2008 at 10:17pm
just a standard html file or are you using a SilverStripe template file
-
Re: how to embed only the flickr module

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.
-
Re: how to embed only the flickr module

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
-
Re: how to embed only the flickr module

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.
-
Re: how to embed only the flickr module

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.
| 1636 Views | ||
|
Page:
1
|
Go to Top |


