I wold like to published some text into my gallery. It should look like FAQ section, but instead of FAQ content there should be my text. I know that i need to create new html file and put it into directory DOCS/name.html, and i should also create new php file and put it into root directory. I guess i could do it like faq.php, but i don't know to modify it to show content of my name.html file.
Could somebody advice me how to do it. Thanks.
You might want to look into this:
http://cpg-contrib.org/thumbnails.php?album=1
It includes an html editor. Here's an example: http://takethu.com/index.php?file=minicms/cms&id=25
Content can be standalone pages or integrated with gallery categories, albums, or photos.
Another option: create a file in coppermine's root directory (not into the docs dir) and put this into it:<?php
/*************************
Coppermine Photo Gallery
************************
Copyright (c) 2003-2005 Coppermine Dev Team
v1.1 originaly written by Gregory DEMAR
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
********************************************
Coppermine version: 1.4.3
**********************************************/
define('IN_COPPERMINE', true);
require('include/init.inc.php');
pageheader('Your page title');
starttable('-1', 'Your table heading');
?>
Your content
<?php
endtable();
pagefooter();
ob_end_flush();
?>
Quote from: GauGau on January 29, 2006, 11:43:27 PM
Another option: create a file in coppermine's root directory (not into the docs dir) and put this into it
...
SNIP
thanks that works, but i have problems with my text, it hangs on the border
how i get a more distance to border?
<?php
/*************************
Coppermine Photo Gallery
************************
Copyright (c) 2003-2005 Coppermine Dev Team
v1.1 originaly written by Gregory DEMAR
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
********************************************
Coppermine version: 1.4.3
**********************************************/
define('IN_COPPERMINE', true);
require('include/init.inc.php');
pageheader('more about me');
starttable('-1', ' more about me ');
?>
Meine Bilder auf dieser Seite sind mit der Canon 300D entstanden, die ich seit März '04 benutze. Davor habe ich lange Zeit mit einer analogen Practica fotografiert. Weiteres folgt ...
<?php
endtable();
pagefooter();
ob_end_flush();
?>
my gallery link: http://fotopic69.fo.funpic.de/cpgallery/ich.php
bye
Torsten
Your content should be valid html.
<?php
/*************************
Coppermine Photo Gallery
************************
Copyright (c) 2003-2005 Coppermine Dev Team
v1.1 originaly written by Gregory DEMAR
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
********************************************
Coppermine version: 1.4.3
**********************************************/
define('IN_COPPERMINE', true);
require('include/init.inc.php');
pageheader('more about me');
starttable('-1', ' more about me ');
?>
<tr><td>
Meine Bilder auf dieser Seite sind mit der Canon 300D entstanden, die ich seit März '04 benutze. Davor habe ich lange Zeit mit einer analogen Practica fotografiert. Weiteres folgt ...
</td></tr>
<?php
endtable();
pagefooter();
ob_end_flush();
?>