This is for beginners.
I've seen alot of questions about how to change different text in the gallery on here and in the mailing archives, so this should cover it all.
The easiest way i can reccomend to you is to download an editor (you should have one already if your trying to alter gallery)and run searches in the whole gallery directory for results of the same words you want to remove using the editor, then go to the file and see if its the right thing you want removed. Example; i use "crimson editor" which is available free from tucows.com. After you start it up, hit "Search" then "Find in files". Make sure it will be searching the entire gallery directory (if not browse to the main gallery directory), then you would enter "last changed" in the 'find what' box if you wanted to find those words. It will find any occurances of it like this:
---------- Find in Files ----------
Searching for 'last changed'...
E:galleryalbums.php(292,4): Last changed on <?=$gallery->album>getLastModificationDate()?>.
1 occurence(s) have been found.
As you can see that is the exact thing you want and you can double click on it, or just go to albums.php and go to line 292. Once there delete just the "last changed on" text and it wont be displayed anymore (or you could rewrite it to suit your needs.)
Remember- never use MS frontpage to alter php files, it can/will automagically screw them up royally. Use a text editor, such as crimson or your windows notepad etc. Of course if you save and upload the file and you see gallery is messed up because you deleted something you shouldn't have, just go back to the still open editor and click Undo and then re-up the file. Experimentation will be the key if you are a begginer but as you can see its fairly easy.
Editors are also good if you get more advanced and decide you want to delete or alter the name of a file- you can do searches the same way, but search for a file name like slideshow.php and it would show all the other files that call on the slideshow.php file, so you can make them stop.
hope this helps some of you
-Komm
Posts: 78
How about changing the header and bg color on the first page?
grant
Posts: 101
edit standalone_style.css and change it as you desire it'll be in ./css/
http://gallery.darb.net/
on mine ive also editied albums.php to include a background image that I use ...
Posts: 11
What if you want to delete where it says Album: *album name*? I want the *album name* but I don't want it to say Album in front of it.
Posts: 11
Hi, I noticed it looks different when it's used in Post Nuke, can you tell me which files to edit if I use mine with Postnuke and I dont want the url link to be shown beside the album? It's kinda long and messy. What folders are used when it is shown in Postnuke and what is used when it is used stand alone?
Posts: 2
I was wondering how you got the graphic at the top that says Brad's Gallery. The brads-gallery.gif file that is nicely centered. I am looking at the source and trying to figure out which file you edited to do that.
Posts: 1301
Hi
The Brad's Gallery gif was most likely added to the header for the album. You'll find that in the html_wrap folder. Because of all the bits that come together to make a page it isn't always obvious what was edited to add something, but it's a safe bet that many of the customizations for standalone Galleries were added into the header/footer files in the html_wrap folder.
Regards,
Gaile
Posts: 101
well thats how i should have done it! ... not sure if you can though. basically i didnt realise html_wrap existed so i hacked around with albums.php and added a string in there ... http://photos.darb.net/photos/stuff/albums.txt (txt copy of my php file) ... you can probably do it in the album.header file in html_wrap far more easily, i just havent tried.
Posts: 3
dang..treied to post and got this:
Warning: Unknown modifier '' in /usr/www/website/gallery.menalto.com/modules/phpBB_14/functions.php on line 1220
Warning: Cannot add header information - headers already sent by (output started at /usr/www/website/gallery.menalto.com/modules/phpBB_14/functions.php:1220) in /usr/www/website/gallery.menalto.com/modules/phpBB_14/editpost.php on line 145
Posts: 117
How do I get rid of the lines - other than making them the same colour as the background???
Posts: 185
I'm not sure if anyone answered this for the person, but I just went to do this for my album and found it in the view_album.php
<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>
$buf = $buf."<b>Album: ".$myAlbum->fields[title]."</b>";
</TD></TR></TABLE><!-- BBCode End -->
my line numbers are different so just search for Album: like I did. People weren't really reading the "Album" so they thought I just had one picture in places when it was a friggin folder (yeah, reading is fundamental, but not for everyone). I replaced Album with a folder icon I made hoping it will be more apparent.
http://www.goombalooza.com/gallery/
Posts: 12
Ok, I've translated this gallery into Finnish pretty far...but I have a little problem. How to remove those (s) letters what code adds if there's more than 1 item? For example:
"This album contains 1 item" versus "This album contains 2 items"
In finnish language we don't have that "s" after...
HELP!
Posts: 38
This thread has been locked. If you still have questions, please post them as a new subject in the forums.
Thanks
Posts: 24
Can someone point me towards this file's location? I did a search and couldn't find album_view in my gallery directory.
Posts: 1
Hi!!
i wanna remove "Powered By Gallery V1" from my Gallery can any one help me and tell me name of that html file where i can change????
Posts: 27300
It's there, I bet you are not using G1.
Find
<?php print poweredBy() ?>
Posts: 5
i went into view_album.php and looked for that area but what i am finding is:
if ($gallery->album->isAlbum($index)) {
$albumName = $gallery->album->getAlbumName($index);
print "<td><a href=\n".
makeAlbumUrl($albumName). ">\n";
$myAlbum = new Album();
$myAlbum->load($albumName);
print sprintf(_("Album: %s"), $myAlbum->fields['title']);
print "</a></td></tr>\n";
} else {
print "<td><a href=\n".
makeAlbumUrl($gallery->session->albumName, $id);
print ">\n";
$desc = $gallery->album->getCaption($index);
if (trim($desc) == "") {
$desc=$gallery->album->getPhotoId($index);
}
print $desc;
print "</a></td></tr>\n";
}
}
print "</table>\n";
i'm assuming that i need to change: <b>print sprintf(_("Album: %s"), $myAlbum->fields['title']);</b> and i took out Album: in there but it did nothing
any help on this would be great thanks
Posts: 27300
ri0tdorque,
What is it you want to do?
Posts: 8
I am pretty much in the same boat. I know it has something to do with the "pluralize" command in the code, but I have no clue how to remove it or singularize it without getting errors.
Posts: 1
All the above tells me nothing on how to put a back to home link or alter the gallery main page. Maybe others understand, but I have searched, as stated for files, but cannot find and php or file that contains reference to, for example, "This is the main page of your Gallery" or the graphic/link on bottom left of page (Gallery 2) with hyperlink to http://gallery.sourceforge.net
I simply wish to alter the home page to have return links, if at all possible, get rid of the space to the left of gallery and have looked at most of the files in the folders and cannot seem to find any files that reference the look or contain the links.
Where are the files that represent the layout, as well as the links, including graphic links?
I've messed with PHP some, and usually can find the files, but in Gallery, it's appears like it's nothing but jibber, without any html references at all.
(I am using, at the moment a classic template)
NEED HELP!
Posts: 27300
This thread is for G1 so will not work with G2 as G2 is differnet.
Did you read any documantation of the template files:
http://codex.gallery2.org/index.php/Gallery2:How_to_visually_embed_Gallery_in_your_own_website_by_editing_theme_templates
http://gallery.menalto.com/node/28597
do those and then post back in the G2 cusomization forum with one Q at a time as not to get other confused.
Dave
____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery
Posts: 4
Hi i would like to know how i go about changing the welcome to my gallery on my front page of my gallery its called momaz.net i would like to add more info but don't know how to do it i had some one do this for me and was not showed how to change it can you help. where it says welcome to my gallery want to add more thanks
Posts: 27300
DeeAnn,
Please start a new thread giving a version and URL if possible.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 4
i am sorry i should have gave this two you i think this is what you need i am new at this so if i am wrong please help
http://www.momaz.net/main.php I had some one put this together for me and before i could figure out how to learn everything changed now i am on my own and i dont want to mess up anything because i love this gallery just would love to change the welcome text but i was told being this person used a program that theres now way i can do anything am i stuck or is there a different way i can change it i love everything this person done we just dont talk now please help if you can thanks
Posts: 27300
DeeAnn,
Have you considered using punctuation when typing?
This thread is for G1 and is from 2002.
http://codex.gallery2.org/Gallery2:Quick_Start_Guide#Configure_the_Root_Album Should help in editing things that you can change with the user interface. Your gallery is now called "My Gallery" and the directions will not reflect that, it mentions gallery as the default name of the root album.
So edit album (after you log in) and select the 'general' tab. Their you will be able to change the description of you album.
If you get stuck please start a new thread in the G2 forums.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 4
thank you so much it was so easy yet so hard because i did not know what i was doing i am at awe thanks again
Posts: 4
DeeAnn how can i bring more traffic to my gallery http://www.momaz.net/main.php am i doing somthing wrong with key words or dicriptions what can i do to make things better and should i put this is my gallery and if so where please explain for i am new
and don't know a lot yet but trying hard thanks
<!-- Meta Tags by TrafficZap.com -->
<TITLE>graphics, fractal, animals, abstract, pictures, photography, zoo, momaz.net, scenery, ocean, designs, art, wildlife </TITLE>
<META NAME="DESCRIPTION" CONTENT="graphics, art, fractal, abstract, animals, wildlife, photography, new links, web, gallery, photo manipulation, pictures, momaz.net, designs, ">
<META NAME="KEYWORDS" CONTENT="graphic design, abstract art, web site, traffic, momaz.net, wildlife, ocean scenery, photo manipulation, zoo animals, photography, web links, ">
<META NAME="RATING" CONTENT="General">
<META NAME="ROBOTS" CONTENT="index, follow">
<META NAME="REVISIT-AFTER" CONTENT="6 Months">
<!-- Meta Tags by TrafficZap.com -->
Posts: 27300
DeeAnn,
How is your question related to G1? This is a G1 forum.
How is this question related this this thread? "How to: Change / Remove text in gallery"
Have you considered using punctuation when typing?
Please start a new thread in the correct forum.
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 2
un favor si alguien me puede ayudar... lo unico k kiero es k me digan como puedo cambiar la bienbenida de mi pagina
http://www.teologiaupeu.com/fotos/main.php, kiero cambiar donde dice:"Esta es la página principal de tu Galería
" gracias... contestar aki o a mi correo: