Missing labels on search.php page Missing labels on search.php page
 

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

Missing labels on search.php page

Started by shoucate, March 05, 2009, 01:39:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shoucate

I just upgraded to 1.4, chose a new template by someone from the forum here and I have been stumbling around trying to customize it. In my sorry attempts, somehow I have turned off all the labels for my search form. I am not sure what I did, or how to get them back.

Initially I was trying to find the wording "search the file collection" to change it, since it sounds like the "borg" from star trek labeled it. LOL. I could never even find the wording to customize it so......AGHHH. Does anyone have any clues, besides returning to factory settings and starting over? 

Thanks in advance!

Here's the page to look at:

http://www.silverspoonmurals.com/gallery

Joachim Müller

All wording can be changed by editing the language file with a plain text editor (notepad.exe should do the trick). If your language is English, edit lang/english.php, find the string you want to see changed and change it as you see fit.
In your case, your copy of the American English language file appears to be broken - when accessing http://www.silverspoonmurals.com/gallery/search.php?lang=english there are indeed no page items at all. When accessing the same page in another language (e.g. using the British English language file instead: http://www.silverspoonmurals.com/gallery/search.php?lang=english_gb), the page controls display fine. This being said: undo your edits that broke lang/english.php or get a fresh Coppermine package, extract the missing language file from the fresh package and overwrite the broken copy of yours.
However, IMO you have another issue: you have completely removed all menu items, which is not a bright idea if you ask me: although I can understand that some don't need all menu items and therefor want to get rid of them, I find it impossible to navigate a gallery with all menu items gone (or how should people ever go to search.php if there is no menu items that leads them there?). Only people who know their way around in coppermine pretty well can make heads or tails out of your gallery - there are simply too many unrelated menu items from other parts of your site.
To switch to another default theme temporarily (just for you, not for everyone), go to http://www.silverspoonmurals.com/gallery/?theme=classic - to go back to your custom theme, go to http://www.silverspoonmurals.com/gallery/?theme=xxx
If you want to undo parts of your edits to your custom theme, you'll have to provide the theme files for us, i.e. zip the custom theme folder and attach the zip to your posting.

Joachim

P.S. It's not a bright idea to display the identical google adsense block three times on a page that is already heavily cluttered. I'm pretty sure that your income from google's adsense program could be improved and in the same instant the level of fragmentation of your page could be decreased for the benefit of your purse as well as for the benefit of the site's visitors.

shoucate

Thank you for answering Juachim. I know I spelled that wrong sorry. When you write your post you can't see the previous response.

I definitely fiddled on this thing until I wasn't sure what I did wrong. I will reupload the english lang file. Can I ask what is the difference between the eng lan and the eng lang gp. I was confused that there were two files.

As far as the navigation is concerned, because I don't allow uploads from other users, I had to remove (by commenting out) some of the nav buttons. I don't want last up because I have an art contest every month and I don't want that art to be confused with mine. I don't want most popular showing, because they always pull up the same files...the older ones are always going to be more popular because they have more hits. There is a method to my madness, at least on the buttons on the left. Since this theme was not a coppermine theme, but a contribution, it also has room for a nav on the right. I customized it to highlight a few of the links from the rest of my website. That was before I was able to get my own header in there with nav. Which looks bad with the gray bar under it with the login button. Not sure how to get rid of that. I just left the login button for my convenience.

Years ago I did a long search for photo galleries and coppermine was the best solution I could find. I have been using coppermine since 2005. At that time I had someone install and customize it for me. I am very happy with it and people have been able to navigate it easily. It has taken til this year for me to update the files to the newest version and I am back to trying to customize it again. That is why it looks so bad right now.

I appreciate your advice. Any suggestions on the adsense, better positioning I will certainly be all ears.

Rip me to shreds if you must. But keep in mind I only know enough to be dangerous. LOL (not a php programmer)

Thanks!


Joachim Müller

Quote from: shoucate on March 05, 2009, 03:49:46 PM
Can I ask what is the difference between the eng lan and the eng lang gp. I was confused that there were two files.
lang/english.php is the language file for international English - the default English language file that Coppermine developers use instantly. The other file is lang/english_gb.php, which is the British English language file ("GB" stands for "Great Britain"). The differences are tiny ("Favorites" vs. "Favourites" for example).

Quote from: shoucate on March 05, 2009, 03:49:46 PMAny suggestions on the adsense, better positioning I will certainly be all ears.
Please start a separate thread for that if you want this discussed, providing all needed information in that thread. We have a strict "one issue per thread" policy.

shoucate


shoucate

Thank you Joachim Müller! Issue resolved will start new thread.