How do i get rid of the word "gallery" on top of the page and get rid of or move the bottom buttons.

demojuan

Joined: 2005-10-28
Posts: 4
Posted: Sat, 2005-10-29 06:26

How do i get rid of the word "gallery" on top of the page and get rid of or move the bottom buttons.

http://www.capoeiramalandragem.com/gallery/main.php

Im almost done and thats got me stumped

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2005-10-29 15:21

edit the top level album to change the name of your gallery.

moved to g2 forum

Dave
____________________________________________________
Gallery Frames / Mods || G1 Test Gallery

 
demojuan

Joined: 2005-10-28
Posts: 4
Posted: Sat, 2005-10-29 15:46

Nah im tring to get rid of the word gallery in the upper right hand corner - very top of the page. Does any one know where that file is reffreneced and in which file?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2005-10-29 15:58

login as admin
on the top level album click the edit album link
on the "general" tab. edit the title of you album

Dave

Gallery Frames / Mods || G1 Test Gallery

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2005-10-29 16:01

You might want to add a album or two to see if you relay want oto remove it. It is the breadcrumb.

look in core/templates/blocks/BreadCrumb.tpl

Dave

____________________________________________________
Gallery Frames / Mods || G1 Test Gallery

 
demojuan

Joined: 2005-10-28
Posts: 4
Posted: Sat, 2005-10-29 16:09

Ok - What about moving it? Inside of the yellow would be cool.

-Josh

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2005-10-29 16:28

What theme are you susing and how did you add the content you have now?
I was refering to the word gallery on the yellow I did not even see the word gallery atthe very top.

____________________________________________________
Gallery Frames / Mods || G1 Test Gallery

 
demojuan

Joined: 2005-10-28
Posts: 4
Posted: Sat, 2005-10-29 16:54

yeah its buggin me - if you notice the other page on the site go all the way to the top - its sirux.
e-mail me

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2005-10-30 06:21

Post a screen shot highlighting the portion of the page you are trying to edit. floridave has answered your question for how to remove the word Gallery in your BreadCrumb.

If you rename your main album to not be Gallery, then that BreadCrumb will use that instead. If you don't want that link to be there, but want the BreadCrumb you need to edit the BreadCrumb.tpl as floridave mentioned above. If you don't want the BreadCrumb at all you can edit album.tpl and remove:

	<div class="breadcrumb">
	  {g->block type="core.BreadCrumb" skipRoot=true separator="/"}
	</div>

However, you should follow the instructions at the top of ever .tpl file about creating a local directory. Otherwise, any file you modify that ships with Gallery will be overwritten on an upgrade.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Xirian

Joined: 2007-04-29
Posts: 3
Posted: Sun, 2007-05-13 13:30

I am trying to get rid of the word "Gallery", but only on the first page of my photo album. I doesn't appear to be connected to a link or anything. It's just a really tiny occurance of that word. In the attachment, it will be in the white square. Is there any way to get rid of this?

~Xirian~

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2007-05-13 15:03

These edits apply to the current version of G2, 2.2.1, future versions may be different.

To change what's there, click Edit Album then click on the General tab. From there you can change the wording, but you can't get rid of it.

To get rid of it, first note that this will get rid that "breadcrumb" for the current album you are in.

Example: You have your top level album and a sub-album named "Stuff". You are in the top level album, the word Gallery will not appear. Now go into your sub-album "Stuff", the word Gallery will be there as a link back to the main album, but the word Stuff will not be there. However, if you click on a picture in "Stuff", then you'll see Gallery >> Stuff, but no text for the name of the picture.

So to get rid of that do this:
1) Create a directory names local /modules/core/templates/blocks/, so you would end up with /modules/core/templates/blocks/local.

2) Copy BreadCrumb.tpl from /modules/core/templates/blocks/BreadCrumb.tpl to /modules/core/templates/blocks/local/BreadCrumb.tpl

3) Edit BreadCrumb.tpl in that local directory and remove the lines highlighted in red at the bottom of the file:

  {if ($theme.pageType == 'admin' || $theme.pageType == 'module')}
  <a href="{g->url arg1="view=core.ShowItem"
                   arg2="itemId=`$theme.item.id`"}" class="BreadCrumb-{counter name="BreadCrumb"}">
     {$theme.item.title|markup:strip|default:$theme.item.pathComponent}</a>
  {else}
   <span class="BreadCrumb-{counter name="BreadCrumb"}">
     {$theme.item.title|markup:strip|default:$theme.item.pathComponent}</span>
   {/if}
</div>

The end result would be:

[code]
  {if ($theme.pageType == 'admin' || $theme.pageType == 'module')}
  <a href="{g->url arg1="view=core.ShowItem"
                   arg2="itemId=`$theme.item.id`"}" class="BreadCrumb-{counter name="BreadCrumb"}">
     {$theme.item.title|markup:strip|default:$theme.item.pathComponent}</a>
   {/if}
</div>

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
dzr

Joined: 2009-06-16
Posts: 1
Posted: Fri, 2010-07-30 18:35

Hiya -

If anyone looking for this solution for Gallery 3 - here's how I did it.

In page.html.php there is this line that prints the bread crumb:
<li class="g-active<? if ($i == 0) print " g-first" ?>"><?= html::purify($theme->item()->title) ?></li>

i changed the "if ($i == 0) print " to if ($i == 1) print and put an if() around it so it will skip printing when $i==0.

<? if ($i>0) {  ?>
<li class="g-active<? if ($i == 1) print " g-first" ?>"><?= html::purify($theme->item()->title) ?>r</li>
<? }  ?>

with this it will not print on the first/home page of the gallery but will print on the inner pages so that you can get back to the gallery home page.