problem with the cpg

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Guest

problem with the cpg

Post by Guest »

hi, i try to add the coppermine gallery into serendipity.
i followed the instruction in this thread:
http://www.s9y.org/forums/viewtopic.php ... ht=gallery

i have done all the changes, but there is no effect..
last week i have add(same technical way) a other picture gallery into serendipity- and there wasnt any problems.

this is the first part of the theme.php of coppermine:

Code: Select all

<?php 
$serendipity_directory = '../serendipity/';

$cwd = getcwd(); 
chdir($serendipity_directory); 
define('S9Y_INCLUDE_PATH', $serendipity_directory); 
include_once(S9Y_INCLUDE_PATH . 'serendipity_config.inc.php'); 
include_once(S9Y_INCLUDE_PATH . 'include/functions.inc.php'); 
include_once(S9Y_INCLUDE_PATH . 'include/plugin_api.inc.php'); 
include_once(S9Y_INCLUDE_PATH . 'include/plugin_internal.inc.php'); 

$serendipity['smarty_file'] = 'index.tpl'; 
$serendipity['smarty_raw_mode'] = false; 
serendipity_smarty_init(); 
$serendipity['smarty']->assign( 
array( 
'leftSidebarElements' => serendipity_plugin_api::count_plugins('left'), 
'rightSidebarElements' => serendipity_plugin_api::count_plugins('right') 
) 
); 

chdir($cwd); 
ob_start(); 
/* SERENDIPITY HOOK END */ 

// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.3.2                                            //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002-2004 Gregory DEMAR                                     //


...........

?>
the template.html is empty because i dont need the cpg menue...
.htaccess + deinit.php allready exist
and the files are on the server like this:
root/deluxe/cpg
root/deluxe/serendipity

thx for reading...
Post Reply