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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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.