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.
Thanks a lot, now it works as expected
Thanks for the info!
I have tried the following code in my CSS file:
.galleria-info-title{
text-size: 20.0pt;
color: green;
}
.galleria-info-description{
text-size: 100.0pt;
color: red;
}
As you can see at my homepage the colors are OK, but the text-size doesn't change.
I tried line-height as well, that worked fine.
What do you think is my problem?
How can I format the text (Title, Caption etc.) below the Galleria slideshow at my homepage?
See https://britogtruls.no/
I used a modified version of Daniels code, as I wanted the text to apear above the album at the home page ("forside" in norwegian):
function masthead_secondary_bottom()
{
// Add some specific text to the home page above the gallery slideshow
if (strtolower($this->slug) == 'forside') {
echo '<h4 style="text-align: center;"><span style="color: #ffcc00;">Nye utstillinger:</span></h4>
';
}
return true;
}
May be I study jQuery at a later point...
Thanks for help both of you
Is there a guide on how to use jQuery in Backlight? I have never used it before...
I have inserted the slideshow above the Page Copy at my frontpage and want a text heading above the slideshow
See: https://britogtruls.no/
In Rods tips page "How about text above and below a gallery?" I have seen a way to do this with thumbnails, but it seems to not work with my slideshow. I have tried to put my text into the Album Copy - above the gallery.
Is there a solution for this?
My website has been working as it should some days now.
Thanks for your help Ben
I am not sure I fully understand the meaning of your writing, but are you going to improve BL2 so I don't need to ignore the sessions directory in my Imunify tool?
I mean that the sessions directory is ignored by the Imunify tool.
I use a serious Norvegian company I have used for many years - PRO ISP: www.proisp.no
It seems to work fine when I ignore the sessions directory, but I wonder why it is different from BL1 to BL2.
Is there a chance that the website is less secure?
The problem occurs when I upgrade from BL1 to BL2. At the positive side, all pages and galleries looks the same in BL1 and BL2.
I contacted my ISP (PRO ISP in Norway) and got the following response:
"You can see what priveliges are set on the files through the FileManager tool in cPanel.
In this case, firewall / antivirus software on the web site responds to the files and puts them in quarantine. Thus, the files get the priveliges 0000. You can see more information about this in the Imunify tool, which you also have access to in cPanel.
I recommend that you contact TTG, as Imunify responds to the files with the following information: Php_malware.id_fd0e4047"
I was a bit optimistic, but I discovered that the files inside the sessions directory gets a wrong ownership when written by backlight. It seems the more sessions files the worse the problem is.
So what ownership setting inside backlight is used for this files?
The errors were caused by an ownership issue for many files, which caused random errors in backlight/admin. After correction of the ownership everything seems to work nicely
I have tested more by navigating through BL2 admin menus, and still have the same problem whether or not I change the sessions permission.
In BL1 I never had these problems at all.
In the add on module examples they seems to be the same, but I don't find a description of their usage...
Example: I clicked the name of an album template (.../backlight/designer/view_template/21/) and got this message:
session_start(): open(../backlight/data/sessions/sess_b4c9614fce9e05689c198ac2d31e0aa8, O_RDWR) failed: Permission denied (13)|#0 [internal function]: ErrorHandler::handleError(2, 'session_start()...', '/home/trulsivc/...', 156, Array) #1 /home/trulsivc/public_html/britogtruls/backlight/modules/module-framework/helpers/AuthHelper.php(156): session_start() #2 /home/trulsivc/public_html/britogtruls/backlight/modules/module-framework/Framework.php(380): AuthHelper::handleSession() #3 /home/trulsivc/public_html/britogtruls/backlight/modules/module-framework/Framework.php(148): Framework->handleSession() #4 /home/trulsivc/public_html/britogtruls/backlight/modules/module-framework/Framework.php(41): Framework->init() #5 /home/trulsivc/public_html/britogtruls/backlight/index.php(25): Framework->__construct('..', Array) #6 {main}|URL: /backlight/index.phpfile_put_contents(../backlight/data/class_lookup.txt): failed to open stream: No such file or directory|/home/trulsivc/public_html/britogtruls/backlight/modules/module-framework/helpers/ClassFinder.php|113
When this happens I have to restart Chrome (v.69) and log in again.
However, the upgrade of my actual website to BL2 worked nice with no problems
It seems that the host has not changed anything.
However, today the host told me that the site appeared as it should, and the same on our pc.
I did one thing yesterday. I removed a couple of pictures from a couple of albums (using Lightroom as I did when the error occured).
Kind of conclusion:
It may seem that the error was repaired yesterday when using Lightroom publisher...(??)
Has someone experienced something similar?
My site has always been working until now.
I don't know.
I am hosting with a norwegian company: PRO ISP
My website, https://britogtruls.no/ seems to have a CSS problem according to my ISP.
The site has worked fine until today. The last thing I was doing (yesterday) was to publish and remove some pictures in my albums but everything seemed to be OK before I left the site.
Hope to get some help :-)
Image from my ISP:
Regards Truls :-)
Hi Matthew
I am very satisfied with the new Pangolin version at my desktop. It looks similar to the Okapi version.
When shrinking the width of the window the aspect ratio is disregarded according to: "Release Aspect Ratio... Under this breakpoint, album aspect ratio is disregarded." value.
However I do not understand why my cell phone disregards it as well when its screen is 1080px wide...
Truls
Hi again,
I have resized the box height and the square thumbnails displays as they should.
However I prefer to stay with the Okapi album set until you have improved the Pangolin set.
I think my biggest problem with the Pangolin set is at mobile devices (at least at my mobile with 1920x1080 screen).
The album sets are way too high for my usage, with both thumbnail and text stacked in center of the box.
In Okapi both desktop and mobile displays the boxes and thumbnails in a similar way, with of course 2 and 1 columns.
Thats nice Matthew :-)
For all other things, I am very happy with Pangolin.
I think it was easy to convert from Okapi to Pangolin as well :-)
Truls
What I actually means, is that by using the Okapi parameter,
"Thumbnail Max-width
Constrains the album thumbnail, preventing wide thumbnails from overwhelming the layout.",
l was able to display all thumbnail pictures with correct aspect ratio as shown here:
http://britogtruls.no/produkter.php
In the Pangolin version it seems to be no such parameter and most thumbnail pictures (except portrait formats) are stretched horizontally as shown here:
http://britogtruls.no/albumsetpg.php
In Pangolin the thumbnail picture is not left justified either...
Truls
I have used the "Descriptive" style and do not find any setting to reduce the tumbnail size in the Pangolin version.
Here is my Okapi version, always showing the entire tumbnail picture: http://britogtruls.no/produkter.php
My Okapi settings:
Style: Descriptive
Album Max-width 600px
Album Height 100px
Album Padding 6px
Thumbnail Max-width 168px
Regards Truls
To me as a customer this cursor thing looks more like a bug in the CE4 Gallery Highslide Slideshow implementation than a "styling", as it seems to be a general problem. On the other hand, the Magnific Popup implementation seems to work properly.
I don't think it's a good idea that every customer using HS have to dig into PHP to fix this.
Will this problem be corrected in an update to the CE4 Gallery?