coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: carefree on July 17, 2007, 01:35:33 PM

Title: Mass dynamic rotation?
Post by: carefree on July 17, 2007, 01:35:33 PM
Im looking to integrate a dynamic content rotation program with coppermine 1.4.12.

The dynamix script uses these codes:

Javascript: <script language=javascript src="http://www.MYSITE.com/all/psDynamic/psDynamic.php?command=view&cid=&j=1"></script>

SSI: <!--#include virtual="/all/psDynamic/psDynamic.php?command=view&cid=" -->

PHP:  <? include "http://www.MYSITE.com/all/psDynamic/psDynamic.php?command=view&cid=" ; ?>

Is it possible to integrate any of these into coppermine?
If I can, which file should I edit?

Thanks in advance :)
Title: Re: Mass dynamic rotation?
Post by: Nibbler on July 17, 2007, 04:52:19 PM
You could add the javascript into your theme's template.html or use the php in your theme's theme.php or you could set the URL as a custom header/footer in config.