remove word core from "gallery core results" when you use search engine

brettejohnson

Joined: 2006-09-03
Posts: 5
Posted: Fri, 2006-10-13 09:40

hello, i used ultraedit to search all the gallery files but i'm still having trouble finding where it is. when you do a search in gallery and the results page comes up it says gallery core and under it says no results found for ' ' if you search for something that isnt on the site. if you search for something that is found it says gallery core results 1 - 5. i want to change the text for both to remove the word core. so it would say gallery results. anyone know what file i would change this in. im using the matrix theme if that helps.

 
robert070612

Joined: 2003-08-05
Posts: 565
Posted: Tue, 2006-10-17 13:57

Have a look in...
/modules/core/classes/GalleryCoreSearch.class
...as that stuff happens in there.

----best wishes, Robert

 
brettejohnson

Joined: 2006-09-03
Posts: 5
Posted: Tue, 2006-10-17 21:52

that was the file it was in, thanks

 
lost007

Joined: 2006-10-20
Posts: 6
Posted: Fri, 2006-10-20 19:28

I want to take out the following text from the Album page.
"This is the main page of your Gallery". My website users are not allowed to add an album so there is no point to say "your gallery".

What folder/file do i need to look at to change the working.

Thanks in advance for any reply.

 
lost007

Joined: 2006-10-20
Posts: 6
Posted: Wed, 2006-10-25 14:13

Anyone know how to do this and where?

 
robert070612

Joined: 2003-08-05
Posts: 565
Posted: Wed, 2006-10-25 14:34

Nothing to do with this thread's subject line (aka off topic).

 
lucasmarin
lucasmarin's picture

Joined: 2010-07-14
Posts: 37
Posted: Sun, 2010-07-18 07:50

I couldn't find anything there, in the GalleryCoreSearch.class. Plus, for some reason i didn't have the permissions to edit it.
So, i've found another solution.
In:
modules/search/templates/local/SearchShowAll.tpl
you just need to hide or delete this line:
{$SearchShowAll.moduleInfo.name}

Same thing in SearchScan.tpl.

It worked for me!

http://www.lucasmarin.com

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2010-07-18 16:36
lost007 wrote:
I want to take out the following text from the Album page.
"This is the main page of your Gallery". My website users are not allowed to add an album so there is no point to say "your gallery".

What folder/file do i need to look at to change the working.

Thanks in advance for any reply.

http://codex.gallery2.org/Gallery2:Quick_Start_Guide#Configure_the_Root_Album

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team