Advanced search  

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]

Pages: [1]   Go Down

Author Topic: How to MOD the Random File Box?  (Read 4518 times)

0 Members and 1 Guest are viewing this topic.

shadowone

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
How to MOD the Random File Box?
« 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?
« Last Edit: November 14, 2005, 07:02:29 am by GauGau »
Logged

Nibbler

  • Guest
Re: How to MOD the Random File Box?
« Reply #1 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.
Logged

shadowone

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: How to MOD the Random File Box?
« Reply #2 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, you will notice that anycontent box has no space between the category box. How can I add a space between them?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to MOD the Random File Box?
« Reply #3 on: November 12, 2005, 04:15:02 am »

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

shadowone

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: How to MOD the Random File Box?
« Reply #4 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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.radiocontrolimages.com%2Fscrap%2Fspaces.gif&hash=1c860b744ecdec655bd5de9a2c6bf627e6c95e53)
Logged

Nibbler

  • Guest
Re: How to MOD the Random File Box?
« Reply #5 on: November 12, 2005, 09:14:47 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to MOD the Random File Box?
« Reply #6 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]
Logged

shadowone

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: How to MOD the Random File Box?
« Reply #7 on: November 14, 2005, 04:13:49 am »

It worked, sorry I miss understood you the first time.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.