forum.coppermine-gallery.net

No Support => General discussion (no support!) => Topic started by: thebign on November 23, 2003, 01:48:12 pm

Title: Simple Integration with Pmachine and Coppermine Photogallery
Post by: thebign on November 23, 2003, 01:48:12 pm
23. november 2003

I use PmachinePro 2.3 for articles and calendar, and Coppermine Photogallery to take care of my pictures.

What to do:

1. Download latest version of Coppermine Photogallery http://coppermine.sf.net/
2. In Coppermine Photogallery folder: edit file anycontent.php
3. In Coppermine Photogallery online admin mode, choose config and make the settings in

   Section Album list view:
   The content of the main page: anycontent/catlist/alblist/random,1/lastup,1/lastcom,1

4. That should be it

I use the same theme for Pmachine and Coppermine Photogallery and you have to copy template.html from the chosen theme from Coppermine  into your web root and rename the file to weblog.php, archives.php, archivesum.php, more.php, comments.php and so on.

Edit the template.html file (this is with use of the theme CaliskinV6:

<link rel="stylesheet" href="/galleryfoldername/themes/caliSkinV6/style.css" />

<img src="/galleryfoldername/themes/caliSkinV6/images/caliskin_v6topleft.gif" alt="" />

Edit all calls to theme for theme pictures and css.

This is just suggestion how you can use Pmachine and Coppermine Photogallery on the same page.

You can see my version on http://thebign.dk

This guide and files can be downloaded on http://thebign.dk/tools

Take Care And Have Fun
Title: Simple Integration with Pmachine and Coppermine Photogallery
Post by: Joachim Müller on November 23, 2003, 02:21:44 pm
actually there's a port available for real integration of coppermine (1.1) into pmachine, but thanks for the info.

GauGau
Title: Help with pMachine Port
Post by: phylaxis on December 09, 2003, 09:34:51 pm
I am attempting to install the pMachine Coppermine port under Mac OS X 10.3, PHP 4.3.4 and mySQL 3.23.49. I have the install complete according to your instructions, but I keep getting the following error:

Quote
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in/Users/phylaxis/Sites/thelangleys/gallery/themes/default/theme.php on line 660


 Fatal error: Call to undefined function: pageheader() in /Users/phylaxis/Sites/thelangleys/gallery/index.php on line 450


Any help is appreciated. Thanks
Title: Simple Integration with Pmachine and Coppermine Photogallery
Post by: hyperion on December 09, 2003, 09:41:47 pm
The first error is usually a typo when editing your theme.  Look for missing $ ; " ' { or } from line 660 back.

The second error should be a result of the failure of the theme file to open.  Fix the first, and the second should go away.
Title: Simple Integration with Pmachine and Coppermine Photogallery
Post by: Joachim Müller on December 09, 2003, 11:21:39 pm
@phylaxis: please do not double-post, you already got an answer by hyperion.

GauGau