Hello.
I try to hide the photo title in Evo template.
In Firefox inspect element I can simply remove it. I found:
<div class="fileTitle bx-def-margin-sec-top bx-def-font-h1">
photname213324243
</div>
If I remove that in Firefox all is fine. Now I wanted to remove permanently and searched for the files. I found
-base/rate_object.html
If I remove in that file the following (or copy file to Evo and remove there) and clear cache, nothing happens or changes. Why?
<div class="rateInfoMain bx-def-margin-sec-top bx-def-font-h1">
<a href="__fileUri__">__fileTitle__</a>
</div>
|
PS:
To be more specific: What I want to remove is the name/title below each photo.
|
You are probably looking in the wrong file for what you want to remove. For photos, I suggest looking in the template for the photo module. Geeks, making the world a better place |
Maybe something like this in your css/general.css
.sys_album_title {
display: none!important;
}
Or this one
.sys_album_info {
display: none!important;
}
|
Maybe something like this in your css/general.css
.sys_album_title {
display: none!important;
}
Or this one
.sys_album_info {
display: none!important;
}
He said Photos, so he should work in the Photos Module's template.
Geeks, making the world a better place |
tommi, I don't know why my answer upset you but I will explain. Your solution would be applied to all albums on the site. The OP was only interested in photos; therefore, one should look to the templates in the photo module as any changes there will only affect photos. Geeks, making the world a better place |
/modules/boonex/photos/template/base/css/view.css
Line 45:
.fileTitle {
display: none;
overflow: hidden;
text-overflow: ellipsis;
}
or
/modules/boonex/photos/classes/BxPhotosPageView.php
function getBlockCode_ViewFile ()
Line 190:
// 'fileTitle' => $this->aFileInfo['medTitle'],
or
/modules/boonex/photos/template/base/
Line 33:
<div class="fileTitle bx-def-margin-sec-top bx-def-font-h1" style="display:none;">
https://dolphin-techs.com - Skype: Dolphin Techs |
Hi.
Thanks very much for your help here @all.
I've done it with:
/modules/boonex/photos/template/base/css/view.css
Line 45:
.fileTitle {
display: none;
overflow: hidden;
text-overflow: ellipsis;
}
|
Hi.
Thanks very much for your help here @all.
I've done it with:
/modules/boonex/photos/template/base/css/view.css
Line 45:
.fileTitle {
display: none;
overflow: hidden;
text-overflow: ellipsis;
}
i have done this too... but it does not work on Dolphin7.3 is there another option ?
thank you
|
i have done this too... but it does not work on Dolphin7.3
The person was working in the EVO template. Did you clear your browser cache and the cache in Dolphin admin? You may also want to clear the /cache and /cache_public leaving the .htaccess file in place (don't delete the .htaccess file)
Another way is to also edit the template file and remove the template parse key from the template file.
Geeks, making the world a better place |
thanks... you made my day.... everything is fine now and looks muche better... thanks so much |
I change the title (and uri) in the database table bx_photos_main
~~~~~~~~~~~~~~~~~~~~~~ Michel ✈ Meta-Travel.com ~~~~~~~~~~~~~~~~~~~~~~
TravelNotes.org - The Online Guide to Travel |