Hide Titles?

signedanonymous

Joined: 2009-08-05
Posts: 5
Posted: Thu, 2009-08-06 02:40

Hey! I just wanted to know if it was possible to hide individual photo titles.

Oh & if there was a way for people to register themselves

Thanks :)

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-08-06 02:52

Registration? No, not yet

By "hide individual photo titles" do you mean selectively hide titles? If so, no. I'm not even sure how you'd go about that. Hiding them all sure, but I'd have to dig into just how to go about doing that. but not individual ones.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
signedanonymous

Joined: 2009-08-05
Posts: 5
Posted: Thu, 2009-08-06 02:55

Thanks! I meant hiding all the photo titles :) is that possible?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-08-06 03:02

ON the photo page or the album page?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
signedanonymous

Joined: 2009-08-05
Posts: 5
Posted: Thu, 2009-08-06 03:04

album page preferably: both if possible
(also: where do i update my time settings?)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-08-06 03:12

on album page:
edit themes/default/views/album.html.php
remove:
<h2><span></span><a href="<?= $child->url() ?>"><?= p::clean($child->title) ?></a></h2>

On photo page:
edit photo.html.php
remove:
<h1><?= p::purify($item->title) ?></h1>

@time settings:
Enhancement request filed already:
https://sourceforge.net/apps/trac/gallery/ticket/602

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
signedanonymous

Joined: 2009-08-05
Posts: 5
Posted: Thu, 2009-08-06 03:31

how do i get to the edit themes part?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-08-06 03:40

FTP the themes to your client.
Edit the files
FTP them back.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
signedanonymous

Joined: 2009-08-05
Posts: 5
Posted: Thu, 2009-08-06 04:00

it works! THANK YOU =]

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-08-06 04:07

Now you are a theme developer!
here is how to create your own theme:
http://codex.gallery2.org/Gallery3:Themes#Duplicate_and_deploy_your_copy_of_the_default_theme

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Noob86

Joined: 2006-12-31
Posts: 34
Posted: Sat, 2009-11-14 17:49

Ha, I have the exact opposite of this. Both Default themes, wind and dark wind are hiding all my titles! Did this become the norm? or have I broken something again. :-)

http://www.bikesnstuff.net/gallery3/index.php/bikes/red94

you have to mouse over to see titles.

 
Noob86

Joined: 2006-12-31
Posts: 34
Posted: Sat, 2009-11-14 17:59

aha, it is missing, could someone tell me where to put this back?

<h1><?= p::purify($item->title) ?></h1>

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2009-11-14 21:38

Noob86, The mouseover effect is the default behavior of both of the themes.
If you want to change the behavior you will have to develop your own theme without this feature.
Edit album.html.php

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2009-11-14 21:43
Quote:
Oh & if there was a way for people to register themselves

Yes:
http://codex.gallery2.org/Gallery3:Modules:register

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Noob86

Joined: 2006-12-31
Posts: 34
Posted: Sun, 2009-11-15 06:35

Thanks Floridave, however I'm not skilled enough to see what needs to be done.

Basically I just want the Title of an Item to appear while in an Album, any hints?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-11-15 06:47

The title of this thread is 'Hide Titles?'
That is not what you want to do is it?
They are hidden until you mouse over the image. That is the behavior of the wind theme.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team