forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: n1ght1ngale on November 05, 2004, 06:41:25 pm

Title: news module
Post by: n1ght1ngale on November 05, 2004, 06:41:25 pm
Could you make small news module for coppermine? So that you can write at the main page about new uploads to gallery and anounce new galleries?
Title: Re: news module
Post by: Nibbler on November 05, 2004, 06:46:06 pm
Tried simply using anycontent.php ?
Title: Re: news module
Post by: Joachim Müller on November 05, 2004, 06:48:19 pm
That's what anycontent is meant to be used for.
The term "module" doesn't apply to coppermine anyway, since it might be misleading for some who come here seeking nuke support (which is not to be found on this board).

You're welcome to post a hack, but I'm afraid I have to turn your request down to make this part of the coppermine core code.

Joachim

[edit]
@Nibbler: you beat me to it by seconds  ;)
[/edit]
Title: Re: news module
Post by: n1ght1ngale on November 05, 2004, 07:08:25 pm
Hm, could you tell me how to use anycontent.php? (I'm sorta dummy :)) It's content displaying at the main page?
I have to manually edit it every time? So it can't display time and date of new message (if I don't write it myself)?
Title: Re: news module
Post by: Joachim Müller on November 06, 2004, 07:55:44 am
you can either write some content into it (you will have to edit anycontent.php each time you want to change your news), or you can have any sort of php code you could think of that can do whatever you can come up with - it's up to you.

Joachim