Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Ooh, thank you very much Rod, a lot of things I have maken wrong.
The work goes on. One more question:
How can I align the logos horizontally centered in the row and in the column?
I tried it with margin: auto - all logos are vertically centered - this is ok.
I tried it then with padding: 20px - all logos are getting smaller.
But I cannot center them horizontally.
https://www.birkenhof-sanitec.de/links.php
Rainer
Hi, now I want to use the col and row programming to insert logos like at this website.
Only the logos 3 or 4 inside a col and some rows:
https://www.richter-frenzel.de/unterneh … en/marken/
But I don't know how to arrange them horizontal middle and/or vertical middle.
This is my testsite. I didn't try formatting but I am confused that the logos are not in the order of the cols:
https://www.birkenhof-sanitec.de/links.php
???
Need help, thank you,
Rainer
Thanks Rod - a clear answer that helps me.
Rainer
No, I think I confound things. I want to change the size of the theater screen to have the right size for the pangolin page. The Youtube video has another native size and it's ok inside the theater screen.
And I want to add some more videos from youtube.
It seems, that the theater plugin can only add one video link into an album.
So I have to use the links of youtube to add these links into a html code into the page copy.
If it is so - wherefore is the theater plugin, if I only can insert one youtube video from one album?
I am sure, that I make some mistakes and I do not understand what I am making wrong.
I know, bad english, sorry.
Rainer
Hi, now I am testing to insert a YouTube video with theater plugin into a page:
https://www.birkenhof-sanitec.de/produktvideos.php
I am not able, to make the still image of the video much more smaller, 4:3.
I don't want this width. Native video width is 800 and height is 200.
If I change the width to 400 and the height to 200, there is only a change of the height.
The width is not changed.
I do not understand these settings.
Also, how am I able to insert much more videos? I have no idea.
Page layout: 2560 px
Page template content area/main copy: 1024 px
Presentation max. width: 920 px, how to get it smaller? Custom.css?
Rainer
Yes, seems to work now. Maybe cache problem.
Rainer
Thanks, I have test it now once more. This time on iPad Pro. Now it works. The problems were at my MacPro 2010.
Now at my Macbook Pro 2009 all transitions work.
I have to test it tomorrow again. Don't know what happened.
I tried it for about 1 hour and always the same trouble (only 17 images, each image 350 kb 900 px).
https://www.birkenhof-sanitec.de/index.php
Rainer
Hi, the transition slide left and slide right works not correct. Only some images will slide. Slide left 2 and slide right 2 works with first white blank screen. Same for slide up and slide up2. Slide down works. Slide down2 works.
----------
In an album template type - theatre - the slider of the photos width and height has for me no function. All images (uploaded size without Lightroom was 900 max width) are shown always in the same size.
Also if I change the value max width under - Presentation -. I cannot see any changes in the slideshow. When have I do here changes?
Template Cache was every time cleared.
Rainer
Edit: The page has 1 column. Now I changed the value of the gutters. Now the presentation of the images gets smaller.
Thanks
Hi, my provider changes the php version this month from 5.6 to 7.2.
Will I have problems if they do this? Month ago I have tested this version and my website was down.
Rainer
OK, I will test and then delete this site. I am no programmer. The site I have maken in 2010 with xynx creator.
Rainer
Don't know, the site worked since years in BL 1.
Must have a look tomorrow. The code is placed in the page copy.
I have test it just in a .html file and it works (of course without the images).
<!doctype HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Aotearoa - Neuseeland 2009</title>
<meta name="Date" content="Thu, 07 May 2009 05:37:03 GMT">
<style type="text/css">
body, p, td{
font-family:Arial;
font-size: 9pt;
color:#ffb400;
font-weight:normal;
margin:0px;
}
blockquote, ol, ul{
margin: 0px 0px 0px 40px;
padding: 0px;
}
h1{
font-family:Verdana;
font-size: 28pt;
font-weight:normal;
color:#ffb400;
margin:0px;
}
h2{
font-family:Verdana;
font-size: 22pt;
font-weight:normal;
color:#ffb400;
margin:0px;
}
h3{
font-family:Verdana;
font-size: 18pt;
font-weight:normal;
color:#ffb400;
margin:0px;
}
h4{
font-family:Verdana;
font-size: 14pt;
font-weight:normal;
color:#ffb400;
margin:0px;
}
pre{
margin: 0px;
}
a{
color:#f4852b;
text-decoration:none;
}
a:hover{
color:#ffb400;
text-decoration:underline;
}
.menu td a
{
font-family:Arial;
font-size: 13pt;
color:#ffb400;
font-weight:normal;
}
.menu td a:hover
{
color:#f4852b;
text-decoration:none;
}
.style1 {font-size: 8pt}
</style>
<meta name="Generator" content="XynX! NetJet 3.05 Build 103 (Win32r)">
</head>
<body bgcolor="#000000" text="#FFB400" STYLE="BACKGROUND: #000000; MARGIN: 0px">
<p></p>
<table border=0 align=center width="75%" nowrap>
<tr>
<td valign=top></td>
<td valign=top>
<p> </p></td>
<td valign=top></td>
</tr>
</table>
<p></p>
<table align=center valign=middle width="75%" nowrap>
<tr>
<td colspan=3 align=center valign=middle nowrap>
<p align=center><img align=middle src="images/nz.gif" height=63 width=84 hspace=75
border=0><a href="../"><font
color="#F4852B"><font face="Verdana"><font size=6><i>Aotearoa - Neuseeland 2009</i></font></font></font></a><img
align=middle src="images/nz.gif" height=63 width=84 hspace=75 border=0></p></td>
</tr>
<tr>
<td valign=top></td>
<td valign=top></td>
<td valign=top></td>
</tr>
</table>
<table align=center width="75%">
<tr>
<td valign=top></td>
<td valign=top>
<p> </p></td>
<td valign=top></td>
</tr>
<tr>
<td colspan=3 valign=top nowrap>
<p align=center><font size=4>Mit nur </font><a href="../"><font color="#F4852B"><font size=4>1 Klick</font></font><font size=4>
</font></a><font size=4>seid Ihr am anderen Ende der Welt !</font></p></td>
</tr>
<tr>
<td valign=top></td>
<td valign=top>
<p> </p></td>
<td valign=top></td>
</tr>
<tr>
<td colspan=3 valign=top nowrap>
<p align=center><a href="../"><font
color="#F4852B"><font size=5>Am schönsten Ende !!!</font></font></a></p></td>
</tr>
<tr>
<td valign=top></td>
<td valign=top>
<p> </p></td>
<td valign=top></td>
</tr>
</table>
<p></p>
<table border=0 align=center valign=middle width="75%" nowrap>
<tr>
<td valign=top></td>
<td valign=top>
<p> </p></td>
<td valign=top></td>
</tr>
<tr>
<td valign=top nowrap>
<p align=center><font color="#FFB400"><font size=4>Unsere Route - Kartenansicht</font></font></p></td>
<td colspan=2 valign=top nowrap>
<p align=center><font size=4>Teilnehmer unserer Tour</font></p></td>
</tr>
<tr>
<td rowspan=11 valign=top nowrap>
<p> </p>
<p align=center><font color="#00FF00">Beim Klick auf die einzelnen Marker<br>
erscheinen Infos zum jeweiligen Ort !</font></p>
<p> </p>
<p align=center><a href="suedinsel.html" target="_blank"><img
align=middle src="images/suedinsel.jpg" height=188 width=250 hspace=2 vspace=2 border=2></a></p>
<p> </p>
<p align=center><font size=4><font color="#FFB400"><font face="Arial">Die Südinsel</font></font></font></p>
<p> </p>
<p align=center><a href="nordinsel.html" target="_blank"><img
align=middle src="images/nordinsel.jpg" height=188 width=250 hspace=2 vspace=2 border=2></a></p>
<p> </p>
<p align=center><font face="Arial"><font size=4><font color="#FFB400">Die Nordinsel</font></font></font><br>
<br>
<br>
<font face="Arial">Veranstalter: </font><a href="http://www.abenteuer-outdoor.com"
target="_blank"><font color="#F4852B">www.abenteuer-outdoor.com</font></a></p></td>
<td rowspan=11 align=center valign=top nowrap>
<p align=center><br>
<br>
<img align=middle src="images/hardy.jpg" height=70 width=65 border=0><br>
<br>
Der Hardy<br>
<br>
Cheffe und immer gut druff !<br>
<br>
<br>
<img align=middle src="images/rainer.jpg" height=70 width=65 border=0><br>
<br>
Rainer<br>
<br>
Schnippler vom Dienst und Hilfskoch<br>
<br>
<br>
<img align=middle src="images/sonja.jpg" height=70 width=65 border=0><br>
<br>
Sonja<br>
<br>
die Reinliche und Poetin<br>
<br>
<br>
<img align=middle src="images/juergen.jpg" height=70 width=65 border=0><br>
<br>
Jürgen<br>
<br>
Küchengehilfe (Azubi)<br>
</p></td>
<td rowspan=11 align=center valign=top nowrap>
<p align=center><br>
<br>
<img align=middle src="images/ursel.jpg" height=70 width=65 border=0><br>
<br>
Ursel<br>
<br>
Schnarchsäckel und Frühaufsteher<br>
<br>
<br>
<img align=middle src="images/angy.jpg" height=70 width=65 border=0><br>
<br>
Angy<br>
<br>
Abtrocken- und Waschhilfe<br>
<br>
<br>
<img align=middle src="images/sabine.jpg" height=70 width=65 border=0><br>
<br>
Sabine<br>
<br>
Pflanzen- und Vogelkundlerin<br>
<br>
<br>
<img align=middle src="images/bettina.jpg" height=70 width=65 border=0><br>
<br>
Bettina<br>
<br>
immer gut gelaunter Ostimport<br>
</p></td>
</tr>
</table>
<p></p>
<table border=0 align=center valign=middle width="75%" nowrap>
<tr>
<td valign=top></td>
<td valign=top>
<p> </p></td>
<td valign=top></td>
</tr>
<tr>
<td valign=top></td>
<td valign=top>
<p> </p></td>
<td valign=top></td>
</tr>
<tr>
<td valign=top></td>
<td valign=top>
<p> </p></td>
<td valign=top></td>
</tr>
<tr>
<td valign=top></td>
<td valign=top nowrap>
<p align=center>© Rainer Görgen - <a href="http://www.3dflags.com" target="_blank">3D
Animated Flags--By 3DFlags.com</a></p></td>
<td valign=top></td>
</tr>
<tr>
<td valign=top></td>
<td valign=top>
<p> </p></td>
<td valign=top></td>
</tr>
</table>
<p></p>
</body>
</html>
https://www.rainer-goergen.de/galleries … 009_route/
Hi, I just had a look at my site. What happened there?
I don't know whether it was before or after update to BL 2.
Or is there another reason?
Rainer
One.com
Same.
Rainer
Thanks, found it. My mistake.
Rainer
Hi, have changed in BL 1 the fancybox.cfg.php:
<?php defined('APP_DIR') or die('No direct script access allowed in ' . __FILE__); ?>
$('[data-fancybox=gallery]').on('click', function(e) {
<?php if ( $model->value('photos_for_download.source') != 'disabled' ): ?>
/**
* CMD/CTRL-Click to Download Image
*/
if( e.ctrlKey || e.metaKey ){
var href = $(e.target).closest('figure').find('.download_image').attr("href"),
path = href.split('file=')[1],
url = (
getMobileOperatingSystem() == 'Android' ||
getMobileOperatingSystem() == 'iOS' ||
getMobileOperatingSystem() == 'Windows Phone'
) ? path : href,
a = $('<a />').attr({ 'href' : url, 'target' : '_blank', 'download' : '' }).appendTo("body");
;
a[0].click(); a.remove();
}
else {
<?php endif; ?>
/**
* +Fancybox Gallery
*/
var visibleLinks = $('[data-fancybox=gallery]:visible, .page-navigation-notice');
$.fancybox.open( visibleLinks, {
animationEffect : <?php echo $model->value('slideshow.animationEffect') == 'disabled' ? 'false' : '\'' . $model->value('slideshow.animationEffect') . '\'' ?>,
slideShow : {
autoStart : false,
speed : 6000
},
animationDuration : 350,
baseClass : 'fancybox-pangolin-album',
loop : <?php echo $model->on('slideshow.loop') ? 'true' : 'false' ?>,
margin : [ 6 , 6 ],
transitionEffect : <?php echo $model->value('slideshow.transitionEffect') == 'disabled' ? 'false' : '\'' . $model->value('slideshow.transitionEffect') . '\'' ?>,
transitionDuration : 350,
trapFocus: <?php echo (__c('FOTOMOTO_STORE_ID') && $model->value('addon_feature') == 'fotomoto') ? 'false' : 'true' ?>,
zoomOpacity : true,
onInit : function( e, instance ) {
//console.log( $.fancybox.getInstance() );
},
lang : 'en',
i18n : {
'en' : {
CLOSE : '<?php echo __t('loc.fb.close', 'Close (Esc, X)') ?>',
NEXT : '<?php echo __t('loc.fb.next', 'Next (right arrow)') ?>',
PREV : '<?php echo __t('loc.fb.prev', 'Previous (left arrow)') ?>',
ERROR : '<?php echo __t('loc.fb.error', 'The requested content cannot be loaded. <br/> Please try again later.') ?>',
PLAY_START : '<?php echo __t('loc.fb.play', 'Start Slideshow (P)') ?>',
PLAY_STOP : '<?php echo __t('loc.fb.pause', 'Pause Slideshow (P)') ?>',
FULL_SCREEN : '<?php echo __t('loc.fb.fullscreen', 'Full-screen (F)') ?>',
THUMBS : '<?php echo __t('loc.fb.grid', 'Thumbnails (G)') ?>'
},
}
}, visibleLinks.index( this ) );
/**
* -Fancybox Gallery
*/
<?php if ( $model->value('photos_for_download.source') != 'disabled' ): ?>
}
<?php endif; ?>
return false;
}); // $('[data-fancybox=gallery]').on()
$(document).on('afterKeydown.fb', function(e, instance, current, keypress, keycode) {
// "Z"
if ( !keypress.ctrlKey && !keypress.metaKey && keycode === 90 ) {
keypress.preventDefault();
instance.isScaledDown() ? instance.scaleToActual() : instance.scaleToFit();
}
// "X"
if ( !keypress.ctrlKey && !keypress.metaKey && keycode === 88 ) {
keypress.preventDefault();
instance.close();
}
});
--------------
What do I have to change here?
Thank you Ben
Thank you Ben, I am no programmer and I have no knowledge about phplugins.
Works !!!
Rainer
Hi, no problem with installation of BL 2.
What have I to change in this phplugin file, that it works again:
<?php function ttg_scripts( $style, $path ) {
echo '
<a href="#top" class="btn-scroll-to-top" title="Top of page" ><i class="fa fa-arrow-up fa-lg"></i></a>
<script>
$(document).ready(function() {
$(".btn-scroll-to-top").click(function() {
$("html, body").animate({ scrollTop: 0 }, "slow");
return false;
});
$(window).scroll(function() {
if ($(this).scrollTop() > 200) {
$(".btn-scroll-to-top").fadeIn();
} else {
$(".btn-scroll-to-top").fadeOut();
}
});
});
</script>
';
}
?>
Thanks, Rainer
The same what I have written in my posts.
Rainer
No, but now I did it. There is no redirection from http://www.rainer-goergen.de/backlight/search/ to https.
And the result site of a search stays to http. By clicking onto a single image of the result site, also http.
By clicking onto the albums which are found, they are all with https.
If I click on the menubar from a https site, the search site is also https.
Rainer
Since this is affecting albums, have you tried updating the album .htaccess? (Backlight Advanced Settings)
Yes I have set just the same code in Backlight Advanced Settings.
Same effect. You can try it on my site.
Rainer
No
I will try it tomorrow.
Rainer