What file? What file?
 

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

What file?

Started by oldskool-nick, December 23, 2003, 04:07:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

oldskool-nick

This is kind of hard to explain, but if you look at my gallery: http://www.glassin-world.com/glassin_world/gallery/index.php
See where it says "Installs" and "Random Pictures" and "Last Additions"? What file are they located in? I want to modify them, (I want to put pics instead of the text) but I can't seem to find the fie. Also sorry if this is posted in the wrong forum, but it isn't really support, so I figured it would be okay in here. Thanks guys,

-Nick

Casper

For the 'Random' and 'lastup', you need to do the following;


1. Edit your language file as shown below.
$lang_meta_album_names = array(
        'random' => '<img src="themes/yourtheme/images/random.gif" alt="Random" border="0">',
        'lastup' => '<img src="themes/yourtheme/images/last.gif" alt="Last Up" border="0">',
        'lastalb'=> 'Last updated albums', //new in cpg1.2.0
        'lastcom' => 'Last comments',
        'topn' => 'Most viewed',
        'toprated' => 'Top rated',
        'lasthits' => 'Last viewed',
        'search' => 'Search results', //new in cpg1.2.0
        'favpics'=> 'Favourite Pictures' //new in cpg1.2.0


2. upload the images you wish to use to the themes/yourtheme/images folder, and the updated language file.  
Note, if you offer language selection, you will need to do this on all used languages, or visitors using that language will see the normal text.

Here is a view of a test of this I did earlier.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.langportrd.f2s.com%2Fimages%2FScreenShot013.jpg&hash=39df8b76cdf0cfd1a739d43cf7fe9195a9d76524)

Doing the same for individual album names will require a different approach.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here