Community @ The Turning Gate

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.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#26 Re: Backlight 3 Customization » multi language support » 2020-05-15 01:00:18

The captions under the video clips are coded this way:

<div data-lang="fr"> 
<center>HISTOIRE À FAIRE PEUR<br>Long métrage de Shawn Linden </center></div>

<div data-lang="en"> 
<center>A GOOD LIE<br>Feature film by Shawn Linden </center></div>

as seen here: https://pideja.ca/marco/productions/01-histoire/

Notice that the French version is off to the right but should be centred, like the English text.

Same code, different result.

UPDATE: I just noticed that if I put the English code over the French, it is this text that will skew to the right. Am I making sense here?

#27 Backlight 3 Support » Font not being applied to contact form labels » 2020-05-15 00:37:15

pideja
Replies: 5

I don't want to nit-pick but, in the contact form, when using

<div data-lang="fr">Téléphone</div><div data-lang="en">Phone</div>

, for some reason the font is not the same as for the other boxes.

https://pideja.ca/marco/contact/

#28 Re: Backlight 3 Customization » masthead customization » 2020-05-15 00:26:13

Works great! Also, no more "twitching"...Thanks

#29 Re: Backlight 3 Customization » multi language support » 2020-05-15 00:24:10

Although Daniel's CSS works fine on my site, the editor I am using warns me to not use "IDs in selectors" as in:

#language-selector ul {
   width: 75px;

Why is this?

#30 Backlight 3 Customization » masthead customization » 2020-05-14 23:40:58

pideja
Replies: 2

As seen here:pideja.ca/marco I am using a graphic + a tag line as a masthead. It serves the site by being bilingual with the use of the language switch on the top left of the page.
Two issues here: first, I can't get the graphic (Marc Charlebois csc) to align with the tag line. I found that, in the Inspector, this code controls the graphic's position

div.masthead:nth-child(1) > div:nth-child(1) > a:nth-child(1) > h1:nth-child(1) > span:nth-child(1) > img:nth-child(1) {
  right: 15px;
}

So, I placed it in the CSS file. No change.

The second issue might or might not be related: there is a short twitch when changing language or moving to another page. Is this because the graphic might be too big? It's a png at 387px x 48px.

#31 Re: Backlight 3 Customization » multi language support » 2020-05-14 23:23:42

aebolzan wrote:
rod barbee wrote:
You can change the globe icon with custom css. Either swapping it for another icon or using text.

it would be interesting to know how....I was thinking also that perhaps the globe is not directly understood by some people and inserting something like " EN | ES" for English/Spanish would be better....

and Daniel wrote:

Yes, a few lines of CSS code can do this. Please have a look at: http://lab.danielleu.com/blog/customizi … -selector/

Well, it works for me. Thanks, Daniel and Rod!

https://pideja.ca/marco

#33 Re: Backlight 3 Customization » multi language support » 2020-05-14 21:47:29

I found in the Inspector that I can align the graphic masthead with the tagline with

div.masthead:nth-child(1) > div:nth-child(1) > a:nth-child(1) > h1:nth-child(1) > span:nth-child(1) > img:nth-child(1) {
padding-right: 0px;
margin-right: 0px;
right: 15px;
}

Is this usefull ? Is there a more CSS-like way to do this? If not, where do I put this code?

#34 Re: Backlight 3 Customization » multi language support » 2020-05-14 21:40:16

Rod suggested:

You could use a text-based masthead with the tagline as I've done on my demo page. These can be styled separately with custom css.

I am playing around with a graphic masthead + a tagline. Works fine. Just have to discover how to align them, probably with CSS.
There is a "twitch" when changing the language but it's no big deal, yet.

#35 Re: Backlight 3 Support » HELP! » 2020-05-14 21:08:40

Sorry, I panicked. Of course, there MUST be a Home page. All I had to do was create a HOME page and insert the album set required.

I keep forgetting this stuff!

#36 Backlight 3 Support » HELP! » 2020-05-14 20:53:25

pideja
Replies: 2

This is really embarrassing.
I wrecked the navigation and I am totally lost (and bewildered)!
I tried to re-assign the home page so the gallery would show up as the home. But all hell broke loose and now I get the dreaded 404 error all through the site.
https://pideja.ca/marco

UPDATE: I found that writing the URL as above leads to the 404. But, writing the URL as https://pideja.ca/marco/productions/ or /about or /contact leads to the correct pages. What am I missing here?

#37 Re: Backlight 3 Customization » multi language support » 2020-05-14 06:32:53

This is a fairly straightforward site: the Home page shows thumbnails that are buttons that lead to video clips. All the data will be written in both languages using the method suggested earlier.
As for the menu items, I still have to discover where to edit these.
As for the button, I succeeded in placing on the left and changing the "Fr" by "Français". But now I'm wondering about that globe icon. Not sure everyone will "get it". Looking for another icon or a way to have some kind of indicator to switch language.
For the masthead, I'll just design a bilingual one, until I find a way to have separate Mastheads, switchable.

As Walter Cronkite used to say: "that's the way it is", for now.

#38 Backlight 3 Customization » multi language support » 2020-05-14 05:53:42

pideja
Replies: 52

Does multi-language support the menu items? And how about separate mastheads.

Just asking.

#39 Re: Backlight 3 Support » Importing published albums » 2020-05-14 05:15:19

This is great, Rod. I finally got it to work, although I'm not finished, yet. And I am learning elementary HTML to boot. But I'll have a multi-language site within...well, you know until I get all the kinks ironed out!
I'll also get rid of that Fr, En page rendered useless.

Thanks for your patience, Rod.

#40 Re: Backlight 3 Support » Importing published albums » 2020-05-14 04:06:05

I understand (I think )...in your example, the content changes language but not the menus or navigation. Is this because it's a quickly made up site or is that a limit to the multi-language approach?
I am a bit tentative, for sure. Not too sure how to do this. I'll start a new thread on a multi-language site so as to not stray too far on this thread.

In the meantime, still having problems with that En side.

#41 Re: Backlight 3 Support » Importing published albums » 2020-05-14 03:29:42

Believe me, I would rather build just one, multi-language, site. But I don't know where to assign the ''data-lang'' attribute to the HTML element on the page.

And of course, I had forgotten to assign the pages!

#42 Re: Backlight 3 Support » Importing published albums » 2020-05-14 01:25:11

The templates look like they are imported. Take a look at the sites:
pideja.ca/marco/Fr and pideja.ca/marco/En
As for the Backlight structure, on the Fr side fr and the En side en

#43 Re: Backlight 3 Support » Importing published albums » 2020-05-14 00:51:05

You first need to export templates from one site and save them to your computer. Then log into the other site and import templates.

That's exactly what I am doing. In https://pideja.ca/marco/Fr/backlight/de … templates/ I export the templates for PAGES, GALLERY SET and ALBUM from the Fr side and then open https://pideja.ca/marco/En/backlight/de … templates/ which is the En side and then I import the three templates. I notice, right off the bat that the Fr PAGES-marco template indicates 2 child templates and 3 pages.
Whereas once imported into the En side, I have 2 child templates but 0 pages! It may not mean anything but on the Fr side, the DEFAULT page template indicates 0 pages but on the En side, it indicates 4.

#44 Re: Backlight 3 Support » Importing published albums » 2020-05-14 00:26:34

The way I see it, exporting/importing templates is almost meaningless. I exported the templates for the PAGES, GALLERY SETS and ALBUMS from the Fr side and then imported them into the En side. Nothing shows. It's as if I started from scratch. I expected at least the basic structure with language tweaking to be done.


Unless I'm going about it the wrong way...

#45 Re: Backlight 3 Support » Importing published albums » 2020-05-14 00:02:40

OK, I get that the way I built my site(s), I probably can't import the previously published albums because each section is a separate site. That's why there is a first page with the Fr and En menus buttons. Each leads to a separate site.
The solution proposed by TTG for multi-language sites is very interesting but the way I understand it, the site would switch the language in accordance with the computer's operating system. The problem with that is that a lot of French-speaking people have the English language as the operating system's language. How would the switch to French occur under these conditions?

#46 Backlight 3 Support » Importing published albums » 2020-05-13 23:36:27

pideja
Replies: 16

I have a bilingual Backlight 3.0.2 sub-site that will eventually replace an existing site built in CE3. This sub-site is here: pideja.ca/marco
Being a bilingual site, it has two sides, Fr and En. I would have like to merge the videosrc folder but for the structure, the album-set and the album, I have to have two versions because of the text.
I already built the Fr side. I exported the Fr templates to the En side.
But I still have to build the albums. Is there any way I can clone or import the Fr albums and then, edit/translate the text?

#47 Re: Backlight 3 Support » Breadcrumbs in albums » 2020-05-13 22:52:43

I had not noticed where to control the breadcrumbs in Backlight. This is my first site entirely built with Backlight only. It doesn't seem like much but for me, it's something of a hurdle crossed. I still have to complete the English side and a full rebuild from the CE3 version to the Backlight 3 will be completed.
Thanks, Rod

#48 Backlight 3 Support » Breadcrumbs in albums » 2020-05-13 22:06:06

pideja
Replies: 3

Installed the 3.0.2 update today and it solves my video ID problem, great. I notice that I have two albums published with Backlight 2 and the rest with Backlight 3. The latter exhibit breadcrumbs in the gallery but not the first two, published with Backlight 2. Any reason for this? Any way to control this?

(split into new topic by moderator)

#49 Re: Backlight 3 Support » Video in Backlight 3 » 2020-05-11 21:34:57

I get it, thanks. I would do it as a stopgap but would have to correct on Backlight as soon as that maintenance update comes thru. I do want a completely Backlight publish in the end.

#50 Re: Backlight 3 Support » Video in Backlight 3 » 2020-05-11 21:00:04

In the meantime, is it OK to publish some albums from LR mixed in with the albums published with Backlight? Will there be problems down the road with "mixed" albums?

Board footer

Powered by FluxBB