coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: shadowone on November 10, 2005, 09:28:07 PM

Title: How to MOD the Random File Box?
Post by: shadowone on November 10, 2005, 09:28:07 PM
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?
Title: Re: How to MOD the Random File Box?
Post by: Nibbler on November 10, 2005, 11:06:37 PM
Remove the random box in config and then start using anycontent. Both things are explained in the documentation.
Title: Re: How to MOD the Random File Box?
Post by: shadowone on November 11, 2005, 10:34:38 PM
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 (http://www.radiocontrolimages.com), you will notice that anycontent box has no space between the category box. How can I add a space between them?
Title: Re: How to MOD the Random File Box?
Post by: Joachim Müller on November 12, 2005, 04:15:02 AM
why don't you just add a <br /> to anycontent's output?
Title: Re: How to MOD the Random File Box?
Post by: shadowone on November 12, 2005, 08:49:57 PM
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)
Title: Re: How to MOD the Random File Box?
Post by: Nibbler on November 12, 2005, 09:14:47 PM
Put in a <br /> at the end of anycontent.php as suggested.
Title: Re: How to MOD the Random File Box?
Post by: Joachim Müller on November 12, 2005, 09:15:18 PM
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]
Title: Re: How to MOD the Random File Box?
Post by: shadowone on November 14, 2005, 04:13:49 AM
It worked, sorry I miss understood you the first time.