forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: miikali on February 04, 2004, 01:08:19 am

Title: info/update/latest news box
Post by: miikali on February 04, 2004, 01:08:19 am
i start my coppermine gallery about year a go, when my son born to serve my far living family members. The site is a quite success, thanks to coppermine :)
Now i wonder is it a possible to have that kinda feature where i can put some txt info how is my son today? If you don't follow what i mean (perhaps my shitty english) just look around any typical portal basic "latest news" kinda thing.
Other question:
(this might be off topic)
is it possible to give rights to visitors upload fotos in every directory(not only to quest(user?)-gallery). Without giving them admin rights
Title: info/update/latest news box
Post by: hyperion on February 04, 2004, 02:37:02 am
1. Yes, please read the documentation regardign the anycontent box.

2. Check the mods board.
Title: info/update/latest news box
Post by: miikali on February 07, 2004, 11:23:09 pm
where i can find that document? I read all of what came with installing files with zero reluts.
Do i need to my BS news talk direct to anycontent.php file? And (if so) where
Code: [Select]
<?php
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.2.0                                            //
// ------------------------------------------------------------------------- //
// Copyright &#40;C&#41; 2002,2003 Gregory DEMAR <gdemar@wanadoo.fr>                 //
// http&#58;//www.chezgreg.net/coppermine/                                       //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team                                        //
// see /docs/credits.html for details                                        //
// ------------------------------------------------------------------------- //
// 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         //
// &#40;at your option&#41; any later version.                                       //
// ------------------------------------------------------------------------- //
starttable&#40;"100%", "Welcome"&#41;;

?>

<tr><td class="tableb" >
This is for any content block - just a test - Edit the file "anycontent.php" to change what is shown here
</td></tr>
<?php
endtable
&#40;&#41;;

?>
Title: info/update/latest news box
Post by: Casper on February 08, 2004, 12:22:10 am
Hi,

what you need to do is edit this bit of the anycontent.php;

starttable("100%", "Welcome");

?>
<tr><td class="tableb" >
This is for any content block - just a test - Edit the file "anycontent.php" to change what is shown here
</td></tr>
<?php
endtable();

edit the red as you want, put in more tables/rows/cells as you need.

then, when done and uploaded, login as admin, go to config, and add it to the 'contents of main page', like this;

Code: [Select]
breadcrumb/anycontent/catlist/alblist.......
Title: info/update/latest news box
Post by: Casper on February 08, 2004, 10:47:01 am
@ miikali,
I moved yor upgrade posts to the support forum.
Title: info/update/latest news box
Post by: miikali on February 08, 2004, 11:31:06 am
problem with the big pictures:
when i push the thumbnail i got weird fatal error message:
"Fatal error: Call to undefined function: display_film_strip() "
/displayimage.php on line 582
what i have done :)