Hi,
I have an existing website www.justflockto.com which uses the Smarty template engine to produce the outputed HTML. I would like to implement Coppermne within the site and at the same time continue to use the Smarty engine rather than create a Coppermine theme that is identical to my site. The main reason why I want to use Smarty is that the existing pages contain headers that include meta tags based upon the users location and page content is generated for the users location.
So the questions I have are... is it possible to embed albums / upload etc in an existing page - perhaps by calling a coppermine PHP function?
can themes be turned off?
can smarty be used?
Anyhelp most appreciated.
Darren
I don't know the Smarty template engine. If you want to embed content to external pages, you can use the CPMFetch plugin. I'm not sure what you expect if you "turn off" themes. The Coppermine theme engine has a fallback, which uses the defaults from include/themes.inc.php.
Thanks for the reply Andre... I've google'd CPMFetch and it it looks like I could use this....Is there a homepage for this plugin? The URL http://www.fistfullofcode.com/projects/copperminefetch/ (got via a google search) doesn't seem to work for me!....also from the coppermine-gallery.net site I can find versions for CPM 1.4.x but not for 1.5.x (I'm playing with the latest version btw ).
When I mean't turn themes off, I mean't stop the code that parses the theme from executing .... in hindsite I suspect it was a silly question.
Thanks for your help
Darren.
Quote from: lurkalot on August 05, 2011, 08:52:25 AM
you can download cpmFetch from the bottom of the first post in this thread, http://forum.coppermine-gallery.net/index.php/topic,35450.0.html
Then please read this thread to get it working in 1.5.14 http://forum.coppermine-gallery.net/index.php/topic,65412.0.html