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.
Yes, that works! I hadn't thought of that. Thanks!
Sure.
http://ariaanblok.nl/portfolio.php
On this page, at the top of the menu in pallet 1, there should be a non-interactive element "Portfolio".
http://ariaanblok.nl/info.php
On this page, in the menu in the top pallet, there should be a non-interactive element "test" before the last item "Home".
Is anyone else experiencing a problem where menu items that are set to non-interactive are disappearing from the menu?
If I link these items, they show up in the menu, but if I set the link to non-interactive, they disappear.
I would like to have a title for my menu in pallet one on the portfolio page, either through a non-interactive menu item, or by putting the menu underneath some text in the pallet and I don't know how I can do that.
Thanks,
Ariaan
Ah, okay.
Why does the span work in the contact form labels, but not in the menu items, where I have to use div? What is the difference?
Using the <span></span> tag should do the trick:
<span data-lang="en">Telephone</span><span data-lang="fr">Téléphone</span><span data-lang="de">Telefon</span>
I just added some language code to a test contact form and page. It seems to be working as expected for me.
http://backlight-2-100.barbeephoto.com/multi-contact/Be sure to use spans rather than divs in language label fields. That should solve the asterisk issue. And as Daniel pointed out, you shouldn't need to add any styling for those, as the default is for those to be bold anyway.
Wow, thanks Daniel and Rod, this did the trick!
Using the <span></span> tag should do the trick:
<span data-lang="en">Telephone</span><span data-lang="fr">Téléphone</span><span data-lang="de">Telefon</span>
Wow, thanks Daniel, this did the trick!
Strange. When I write this in the Invitation field:
<div data-lang="nl">Neem voor meer informatie contact met mij op.</div>
<div data-lang="en">>Please contact me for more information.</div>
I get this in the page source:
<p><div data-lang="nl">Neem voor meer informatie contact met mij op.</div>
<div data-lang="en">>Please contact me for more information.</div></p>
It's placed within <p></p>
When I write this in the Invitation field:
<span style="font-weight:bold;" data-lang="nl">Neem voor meer informatie contact met mij op.</span>
<span style="font-weight:bold;" data-lang="en">Please contact me for more information.</span>
I get this in the page source:
<p><p><span style="font-weight:bold;" data-lang="nl">Neem voor meer informatie contact met mij op.</span>
<span style="font-weight:bold;" data-lang="en">Please contact me for more information.</span></p></p>
It's placed withing <p><p></p></p>
And when I write this in the Invitation field:
<span style="font-weight:bold;" data-lang="nl">Neem voor meer informatie contact met mij op.</span>
<span style="font-weight:bold;" data-lang="en">Please contact me for more information.</span>
I get this in the page source:
<p><p><span style="font-weight:bold;" data-lang="nl">Neem voor meer informatie contact met mij op.</span>
<span style="font-weight:bold;" data-lang="en">Please contact me for more information.</span></p></p>
Also double p-tags.
I don't know if that is significant.
I tested a new contact form (Contact Test) and it also shows double p-tags in the source:
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam eu blandit nisl. Suspendisse potenti. Pellentesque varius sagittis nibh, quis vulputate sapien molestie eget. Nulla suscipit lobortis placerat. Duis ultricies faucibus metus pellentesque vestibulum. Sed lobortis, lorem vitae tempus vestibulum, massa augue tempus quam, eu convallis orci nisl nec elit. Donec rutrum viverra magna id ornare. Sed sed leo elementum, malesuada nulla quis, pretium libero.</p>
<p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus semper ipsum nibh. Proin vitae erat at enim semper placerat non in metus. Praesent et sodales orci. Maecenas tristique ultricies lorem non lacinia. Mauris sem elit, scelerisque vel laoreet at, placerat a nibh. In nec nunc vel neque sollicitudin euismod. Mauris vitae lorem dui.</p>
<p>Phasellus ac tortor ante. Nulla ornare turpis et viverra bibendum. Integer non dolor id neque scelerisque sollicitudin. Vestibulum at elementum augue, eget pulvinar lectus. Phasellus imperdiet magna eu dignissim suscipit. Fusce venenatis arcu neque, in dignissim quam elementum sed. Nullam massa sapien, bibendum ac sollicitudin ullamcorper, commodo at lacus. Vivamus condimentum at orci nec mollis.</p></p>
And if I put the language code in the fields of this new form, they also lose their bold type and the asterisks moves to the next line.
So the divs in these fields are acting as a sort of line break, it seems.
Thanks Rod. I did a clean install of Backlight today and rebuilt the webpages I have so far. I replaced the <b> tags in the contact form invitation with <strong> tags, as you suggested. But I'm still not seeing Phone Number and Message in bold type, and the asterisk is also still on the line below these labels. I'm not using Markdown here because I want to be able to display this text in multiple languages. I don't think that's possible with Markdown.
I'm happy with the languages option, it's a great addition to Backlight. And putting the language divs in the contact form labels and other fields in Backlight works fine, but there's one problem I ran into: in the contact form they force the asterisk onto a new line.
Example:
<div data-lang="nl">Telefoonnummer</div><div data-lang="en">Phone number</div>
Phone number
* [ ]
Is there any way to avoid this line break? The contact form labels that are taken from the official languages files don't have this problem.
Also, I noticed that some field labels are in bold type and others aren't. Can this have anything to do with the language divs?
Link to my current (in progress) contact page: http://ariaanblok.nl/contact.php
Thanks Matthew. It's great that Backlight provides this flexibility.
I've changed my main site to a new design: http://ariaanblok.nl
(sorry that it's all in Dutch, but I'm not yet targeting the international market…)
Thanks Daniel for the slideshow code on the cover!
I'll probably alter and finetune some things here and there, fiddle with a few margins, add some background stuff in the large white spaces on some pages, but for now it's done.
And if someone can tell me the proper way to align my address details on the contact page, I'm all ears. :-)
If you wish, you can also check out the client feedback section by logging in with dummy@dummy.com and password dummy. I might still finetune some things there too.
Thanks again Matt for the great software and Ben, Daniel and Rod for the friendly support! Reading your responses to everybody's questions helped me along a lot.
Ariaan
Or you mean the smaller X inside the tray? I don't think there's a styling element in Backlight that covers this.
But I was fiddling a bit in the source code and was able to change it.
Take a look at this section:
<div class="page__ui">
<label for="page__toggle__T1" class="close-button page__tray__close" role="button"><span>
<span></span>
<span></span>
</span></label>
</div>
In the section with the double spans:
<span></span>
<span></span>
...the second instance has a background color that you can change. Try changing that color in the page source in your browser. You can probably target it with custom CSS too.
Best,
Ariaan
Hi Michael,
I think you can change the color of that button under UI Styling in the template designer.
It has an option for Button Background-color and I think that's where I changed mine.
Best,
Ariaan
I found that I can move the top level gallery to a desired location by addressing the ".the__albumSet" element in custom CSS. In my case, i was able to move it to the far right of my page by specifying a "left" and "width" value and some margins/padding. So no real need to have it put inside a specific element, although that might make it easier to center the albums.
I also found something else very neat, and perhaps it's good to share it here since others might have similar wishes: you can apply mark-up in the localized fields of the client response gallery in Backlight.
For example, i wanted to have the title for the client gallery login page appear inside a specific container, to be able to use a certain background for the title. That seemed impossible, since the login page seems to be generated on the fly and there's no copy field where you can input your own HTML and create containers like in the regular pages. But fortunately you can write a div in a text field and then manipulate that div in your custom CSS file. So in Client Response > Localizations > Dutch > Manage > TEXT_LOGIN, I inserted <div id="pagename"><h1>Klanten-<br>gedeelte</h1></div> and then specified the #pagename properties in the custom CSS file to give it the proper background and centering.
I could also have just addressed the h1 element in CSS, but in this case, adding the extra div worked better and I'm quite happy that Backlight has this flexibility.
Thanks for the tip, Jon! Unfortunately I don't possess an iPad, so I can't check how things look on a tablet. I'm not even sure it will scroll at all there. My site is definitely not mobile friendly, but that's a worry for later.
The curvy header background was done in Photoshop this morning. I tried to create curvy borders with CSS at first, but that didn't work out the way I wanted, so it was back to good old Photoshop and PNGs. :-)
Hi Jon,
Thanks for that! I've been avoiding Javascript up to now, but this might work better than the CSS animation I tried. I see it works excellently on your page (the arrow buttons, I assume?). I might look into this to get the visitor quickly to the back section with the complete gallery, or perhaps to create a menu to transport them to the individual categories. I've not worked with Javascript up to now, still getting familiar with CSS, but it's very interesting!
By the way, I very much like the simple elegance of you site.
Thanks gwico! In the Dutch text I've written that you should scroll to the right, but maybe it would be best to add "Scroll ->" with a fancy arrow in a conspicuous place. And you're right, at first glance the page seems complete, with no need for scrolling. That might be an issue.
Dank je, Fredy! I tried automatic scrolling via a button, but the movement is not sufficiently fluid, so I prefer manual scrolling. Horizontal scrolling doesn't work with my mouse either. It's probably something you have to configure on your system, I don't think it is web controllable.
I'm happily playing with Backlight and custom CSS to create a website to my liking. I took lofty's excellent idea for a portfolio page with parallel scrolling and adapted it for horizontal scrolling (I hope he doesn't mind…). Someone told me horizontal scrolling is counter-intuitive, but I'm hoping visitors will understand what they have to do.
Now I think it would also be nice to have the regular gallery overview at the back of the scrolling area. I created a rudimentary area for it. Perhaps it is redundant, but it might be handy to have it there anyway. I copied the html and CSS code from the regular galleries page and inserted it into my portfolio page. I'm seeing an issue with the top margin/padding, but that will probably work itself out later on.
But what I'm hoping, is to find a way to have the top level gallery connected to that specific CSS element directly from Backlight, so any update to my galleries will automatically show on the site. Is there a way to do that, perhaps via custom PHP?
The page is located here: http://ariaanblok.nl/demo/portfolio
Hi Rod, your first guess seems to be right! I have changed the way pages are called from page/ to page.php in Backlight Settings.
This worked immediately for the test site, where I have the menu items set up as Link to: page > Contact, Link to: page > Info, etc.
On my main site I'm using URLs and I had to change http://ariaanblok.nl/contact/ to http://ariaanblok.nl/contact.php. Now it works there too. Perhaps the hard URLs aren't necessary anymore, I'll have to test that, but anyway, the problem is solved.
So thanks again for your help!
Okay. I can try placing the unedited .htaccess files from the Backlight install files back. Perhaps that has something to do with it.
Hmm, doesn't seem to make a difference.
Hi Rod,
I have in the menu settings: Link to: page > Contact
And I removed the menu part from the custom PHP file, so that could not be influencing things.
On my main site, I'm using hard link for the menu mostly, also in the custom php, so two different things and yet the same result.
When I log in to the CRG client feedback page as a client, but there are no albums assigned to me, I get this message on the screen both in Dutch (I added the Dutch translations for CRG) and in English. It seems to me that the second, English instance is not supposed to show there. Not a big problem, but perhaps something that has slipped through. I'm attaching a screenshot.
I have run into an issue that the custom css file fails to load in the success page after the contact form has been submitted. I'm not sure if this problem was always there or if it's new. I've created a demo site with a clean install of Backlight in a demo subdomain and it happens there as well. I"m not sure what I can have done wrong.
Contact form on my main site: http://ariaanblok.nl/contact/
… and on the demo site: http://ariaanblok.nl/demo/contact/
Has anyone else encountered this problem?