How to MOD the Random File Box? How to MOD the Random File Box?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

How to MOD the Random File Box?

Started by shadowone, November 10, 2005, 09:28:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shadowone

I am just wondering how hard is it to change the Random File Box and Replace it with a set of text? How can I do this?

Nibbler

Remove the random box in config and then start using anycontent. Both things are explained in the documentation.

shadowone

Nice! Thanks for the INFO, It works preatty good. I got one more question regarding this topic. How can I add a line between anycontent and the next module?

If you look in my gallery, you will notice that anycontent box has no space between the category box. How can I add a space between them?

Joachim Müller

why don't you just add a <br /> to anycontent's output?

shadowone

If you look on the image below, you will notice the two arrows, break lines in the anycontent.php wont solve the problem. whats the name of the file that handles the {GALLERY}?

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.radiocontrolimages.com%2Fscrap%2Fspaces.gif&hash=1c860b744ecdec655bd5de9a2c6bf627e6c95e53)

Nibbler

Put in a <br /> at the end of anycontent.php as suggested.

Joachim Müller

line breaks in anycontent will solve this as well. Don't fiddle with the core code if you can easily accomplish the very same thing much more easily.

[edit]
Nibbler, you beat me to it answering this thread ;D. Posting nevertheless ;).
[/edit]

shadowone

It worked, sorry I miss understood you the first time.