PDA

View Full Version : Possible to embed php code in another site to call thumbs?


dscottf
5th of August 2004 (Thu), 10:30
I have both a postnuke site ( http://www.fx4.net ) and an EE site ( http://photo.fx4.net )

What I would like to figure out is how to call (snippets code?) from outside of EE to display thumbnails outside of EE (with links to inside of EE)

I could put iframes in blocks in postnuke and call snippets php, but there are some issues with that. There is a php block in postnuke that simple enacts any code you put there. I don't know enough about php to hack the code to make it functional from another url -and- not use ?get for parameters

dscottf
5th of August 2004 (Thu), 12:22
getting a bit closer. I have been able to embed the 'include' using a php block in postnuke (the trick was not using <?php and ?> )

so I have full functionality of snippets.php

now, is there a way to include the search functions mentioned in this thread (http://photography-on-the.net/forum/showthread.php?t=17826&highlight=embed+html) using snippets?

I want to get random thumbs, but only horizontal for space considerations