Hello,
i'm a little confused. I have Gallery3 and the Dark Canvas Theme, and i remember me, that have the info "By: my name" in the "Photo info" on the right site, not under the Thumbs. To be right? I miss this.
How i to become the "By: my name" again in the "Photo info" on the right site?
My second question is: How i make a copyright (© my name) or creative commons (CC - BY SA NC my name) info in the "Photo info"?
Posts: 112
OK, i see, in the default Theme is in the right site the "Photo Info" with:
- Title:
- Description:
- File name:
- Owner:
- Dimensions:
In the Dark Canvas Theme only in the "Photo info":
- Title:
- Description:
- File name:
How can I make the "Owner:" in the "Photo Info" (only, not in "Album Info")? And as special extra else a "Copyright: "?
Posts: 112
Please help me!
I found informations in the:
\modules\info\helpers\info_block.php
and modified the:
/themes/clean_canvas/views/info_block.html.php
with adding this on the end:
yet display in the Info Box:
- Title: ***
- Description: ***
- File name: ***
- Owner:
but it's horrible, the _Name_ of the _Owner_ don't display!!!! *aaargh!
What is that?
and when i write this:
display the url by the owner:
- Title: ***
- Description: ***
- File name: ***
- Owner: http://www.***.**
??? insane.
I have changed
html::clean($item->owner->url
with
html::clean($display_name
but without results
What can be the error?
Posts: 37
Add this at the end just before </ul>:
<? if ($item->is_photo()): ?>
<li>
<strong class="caption"><?= t("Owner: ") ?></strong>
<?= html::purify($item->owner->display_name()) ?>
</li>
<li>
<strong class="caption"><?= t("© 2013 yourname ") ?></strong>
</li>
<? endif ?>
____________________________
Gallery 3.0.8 | Clean Canvas theme
Posts: 112
Hey! Thank you very much!
Since I can live with that.
Just fix it:
<strong class="caption"><?= t("© 2013 yourname ") ?></strong>
But, the translation from "Owner" does not work.
and
I'm doing it that way:
<li>
<strong class="caption"><?= t("Photograph: ") ?></strong>
<?= html::purify($item->owner->display_name()) ?>
</li>
<li>
<strong class="caption"><?= t("© my name ") ?></strong>
</li>
<? endif ?>
</ul>
####
My second question was: How i remove the "By: ***" and "Views: ***" under the Thumbs?
I can't find it.
Posts: 37
1.
You need to translate 'Owner' again.
Activate translator, go to the photo page, find the 'Owner:' in the list and translate it.
2.
Edit:
/themes/clean_canvas/views/album.html.php
and delete:
<ul class="g-metadata">
<?= $theme->thumb_info($child) ?>
</ul>
____________________________
Gallery 3.0.8 | Clean Canvas theme
Posts: 112
Thanks! perfectly.
1.
I have make this bevor. The Question was: automatically Translate. equal, it's not so important. is it sufficient for my purpose.
2.
Is it possible to hide the names of the images, but not the names of the albums?
Posts: 112
oh, sorry, i'm a little confused. forget the question number 2.
Posts: 37
http://galleryproject.org/node/98853
____________________________
Gallery 3.0.8 | Clean Canvas theme
Posts: 112
OK, i have tested it, it's fine. Thanks.