Editing theme[2]

Lucas Baltazar

Joined: 2010-07-09
Posts: 11
Posted: Tue, 2010-07-13 05:04

Hello, I wonder where I disable the option of registering my gallery, I'm using the Ajaxian theme, and also want to take the display name of the picture, but whenever I edit the theme to not show the name of the photo, the photo Stops loading ...
This is the site: http://www.sppot.com.br/gallery/main.php/v/wallpappers/

In portuguese:

Olá, gostaria de saber onde eu desabilito a opção cadastrar da minha galeria, eu estou utilizando o tema ajaxian, e tambem quero tirar a exibição do nome da foto, mas sempre que eu edito o tema para não aparecer o nome da foto, a foto pára de carregar...
este é o site: http://www.sppot.com.br/gallery/main.php/v/wallpappers/

In Spanish

Hola, me pregunto dónde puedo deshabilitar la opción de registrar mi galería, estoy usando el tema Ajaxian, y también desea considerar el nombre de la imagen, pero cada vez que editar el tema para no mostrar el nombre de la foto, la foto Detiene la carga ...
este es el sitio: http://www.sppot.com.br/gallery/main.php/v/wallpappers/

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-07-13 05:11

Go to Site Admin > Plugins and uninstall the Registration plugin

As for removing the name of the photo, what have you tried changing?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Lucas Baltazar

Joined: 2010-07-09
Posts: 11
Posted: Tue, 2010-07-13 05:22

Thanks!
I was trying to modify the source code (html) of the issue to disable the register because I had not found the option ..
Thank you ..
And about the name of the photo, I was trying to disable the display of the name of the picture by changing the source code (html) the theme and gallery ...

In portuguese:

Obrigado !
Eu estava tentando modificar o codigo fonte(html) do tema para desabilitar o cadastro pois eu não havia encontrado a opção..
Muito obrigado..
E sobre o nome da foto, eu estava tentando desabilitar a exibição do nome da foto alterando o codigo fonte(html) do tema e do gallery...

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-07-13 05:35
Quote:
And about the name of the photo, I was trying to disable the display of the name of the picture by changing the source code (html) the theme and gallery ...

I understand that. But what file were you editing and what were the exact changes you were making?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Lucas Baltazar

Joined: 2010-07-09
Posts: 11
Posted: Tue, 2010-07-13 06:15

Sorry, but I do not remember where I made these changes, I only know what was in the archives 'tpl' ...
If you know of any way to help me, if not later I'll be looking more calmly where changed, and giving you more information.
Already thanks.

In portuguese:
Desculpa, mas eu não me lembro onde eu fiz estas alteraçõs, só sei que foi nos arquivos "tpl" ...
Se voce souber de alguma forma para me ajudar, se não, mais tarde eu estarei procurando com mais calma onde alterei, e te dando mais informações.
Desde já obrigado.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-07-13 16:02

Just to make sure I'm looking at the right thing, is this what you want to remove:

[img]http://gallery.menalto.com/files/temp_screen_title.jpg[/img]
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Lucas Baltazar

Joined: 2010-07-09
Posts: 11
Posted: Tue, 2010-07-13 16:07

Yes, I was creating the post now ...

 
Lucas Baltazar

Joined: 2010-07-09
Posts: 11
Posted: Tue, 2010-07-13 16:12

I edited the source code file "album.tpl" ...
follow the code below

Quote:
{*
* $Revision: 17955 $
* Read this before changing templates! http://codex.gallery2.org/Gallery2:Editing_Templates
*}
<h2 id="item-title">Fotos</h2>

{if !empty($theme.navigator)}
<div class="gbBlock gcBackground2 gbNavigator">
{g->block type="core.Navigator" navigator=$theme.navigator reverseOrder=true}
</div>
{/if}

{if !count($theme.children)}
<div class="gbBlock giDescription gbEmptyAlbum">
<p class="emptyAlbum">
{g->text text="Este álbum está vazio."}
{if isset($theme.permissions.core_addDataItem)}
<a href="{g->url arg1="view=core.ItemAdmin" arg2="subView=core.ItemAdd"
arg3="itemId=`$theme.item.id`"}">{g->text text="Add Foto!"}</a>
{/if}
</p>
</div>
{else}

I just deleted the code: "<h2 id="item-title">Fotos</h2>"

and after it, the album stop showing the photos..
Thanks

This is a picture of where I want to change
[IMG]http://img19.imageshack.us/img19/4981/foto1lgb.jpg[/IMG]

Uploaded with ImageShack.us

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-07-13 18:55

I did some digging around. You're not going to be able to just remove that. The Ajaxian theme is heavy on Javascript and there's javascript that's loading images referring to the ID for that H2 tag and doing some other stuff. I see 2 options to hide the text. Add one of these blocks to your theme.css file

#item-title{display: none;}

#item-title{color: black;}

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

 
Lucas Baltazar

Joined: 2010-07-09
Posts: 11
Posted: Thu, 2010-07-15 16:44

Thankssss
:)