edit text below thumb on main gallery page

musemax

Joined: 2014-04-09
Posts: 4
Posted: Wed, 2014-04-09 17:13

couldn't figure out how to change this text. (I'm working with the clean-canvas-theme).
I want to replace the lines 'image-name' and 'owner' by the title of the image.
and: I don't have much idea about css; till now I figured out how to remove the round corners of the images. more to come… :-)
thanks a lot

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2014-04-09 22:40

Does it change with the clean-canvas-theme versus the wind theme?
URL?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
musemax

Joined: 2014-04-09
Posts: 4
Posted: Thu, 2014-04-10 15:08

no, changing the theme doesn't change anything.
just figured out, that it's not the copyright holder which is shown,
it's my full name! (upload of pix with different copyright.)
and I still have no clue in which file of the theme I can change this.
thanks for caring!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2014-04-10 15:52

upload as a different user. disable or edit the info the info module.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
musemax

Joined: 2014-04-09
Posts: 4
Posted: Thu, 2014-04-10 16:39
floridave wrote:
upload as a different user.

… then I will have the name of that user…

floridave wrote:
disable or edit the info the info module.

editing in the info-module changes the content of information of the picture, shown in the sidebar.
and the info 'owner' is disabled anyway.

below the thumbnail it shows the object name, the owner, the number of views. I guess I must change it in the right file?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2014-04-10 16:59
Quote:
below the thumbnail it shows the object name, the owner, the number of views. I guess I must change it in the right file?

Some info comes from the theme and some comes from the info module. Edit as you see fit.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
musemax

Joined: 2014-04-09
Posts: 4
Posted: Thu, 2014-04-10 18:00

since I changed a lot in the CSS and messed up quite a few things, I did a new installation of the entire database and tried again.

settings - modul - info - show owner is set to 0

and the "by: gallery administrator" (before it was my name - ) is still there (I did not personalize right now)
http://bild.unterfinger.ch/SchweizBild/index.php/

? - helpless, sorry

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2014-04-10 19:51

Removing and changing is different.
Just use the localization feature.
or
You can change the owner of the item:
http://codex.gallery2.org/Gallery3:Modules:editowner
or
add ul.g-metadata li:last-child {display: none !important;} to the css
it might remove some info from the sidebar as well so you will have to check to see that as well.
or try:

ul.g-metadata li:nth-child(2) {
   display:none;
}

or
perhaps the http://codex.galleryproject.org/Gallery3:Modules:rwinfo is better?
or
I'm assuming you want to keep the sidebar info but not the info under the thumb....
Does this work:
/themes/yourtheme/views/album.html.php
delete:

    <ul class="g-metadata">
      <?= $theme->thumb_info($child) ?>
    </ul>

will remove "views" and "by" from albums and photos but still maintaining the sidebar info.

If that is not what your after then you will have to develop your own theme/module combination for the specifics you want.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2014-04-10 20:01

Or:
add:

<script>
$(document).ready(function(){
  $("ul.g-metadata>li:contains(By: )").hide();
});
</script>

to the /themes/yourtheme/views/album.html.php
That should just hide the:
By:.......

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team