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.
[Problem Solved]
by Rod, ...my typing error.
...use a real code editor software when coding and you won't have the problems I did.
The gallery talked about below has been removed but I left the text here unedited for others to read.
In Backlight2, I'm trying to add html links in the Page Copy section.
When I add a html link, it does not lead to where I say. It goes to the link but adds the path to it's gallery
to the beginning of the link, so what I get is a a 404 Paradox! error.
It happens in all galleries, and here is a simple one I made to show the error.
http://www.garybrackin.com/galleries/ht … on-t-work/
The link should be going here:
http://www.garybrackin.com/assetts_gary … P_card.jpg
But it goes to the wrong URL, here:
http://www.garybrackin.com/galleries/ht … _card.jpg”
Last edited by gary_in_austin (2018-12-12 00:02:21)
Offline
How are you writing the link? In html or Markdown?
Can you post the exact text you're using?
It looks like a syntax error of some sort
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
looks like there are curly or slanted double quotes when they need to be straight. Did you happen to copy and paste from a word processor?
If so, re-write the html in the Backlight copy area or use a plain text editor for copy/paste
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Here is my actual code from the Page Copy section. I made the code in an editor, Coda for mac.
In Backlight2, I'm trying to add html links in the Page Copy section.
<br> When I add a html link, it does not lead to where I say. It goes to the link but adds the path to it's gallery to the beginning of the link, so what I get is a a 404 Paradox! error.
For example, here is a simple .jpg photo link, that goes to the wrong link.
<a href=“http://www.garybrackin.com/assetts_garyimages_logos/GBP_card.jpg”> Link to a photo</a>
<br>
The link should be going here:
<br>http://www.garybrackin.com/assetts_garyimages_logos/GBP_card.jpg
<p>
But it goes to the wrong URL, here:
<br>http://www.garybrackin.com/galleries/html-links-don-t-work/“http://www.garybrackin.com/assetts_garyimages_logos/GBP_card.jpg”
Offline
I uploaded and did a Template Refresh and emptied Cache of my browser,
Recopied code and pasted in Coda and it works, now.
I had copied html code and quotes from the internet but saved it in Coda code editor.
Think all is well, whatever happened and won't any more.
Man, you guys are fast with the help. Thanks so much!
Offline
Right on, Rod!
Just tried my ahref codes in serval html editors and one even showed up as double curly quotes.
So i went into Atom code editor and everywhere I saw a quote I retyped it in the editor.
And WhaBANG, links work!
I need a big red sign on my desk, ...use proper code editors to type code.
Thank you so much, Rod. You are always incredibly helpful. As are Matt and Ben.
I plan on buying more TTG items again, to help support you guys, more!
Cart and CRG are the last two things I need to update.
Long-time user since TTG 2011.
Last edited by gary_in_austin (2018-12-12 00:04:23)
Offline
If you'd like a proper code editor, Visual Studio Code is what I (and most of the larger coding world, apparently) have been using lately. It's probably more than you need, but that doesn't mean it wouldn't be a good option for you, and it's entirely free. Get it here:
https://code.visualstudio.com/
Offline
Thanks for the tip, Matthew! A good amount of developers I talk with use Visual Studio Code. I'll give it a try. I'm on a Mac and Atom or Coda is what I've been using and I shudda been using that instead of a text program. Wrong move.
If you ever find yourself in Austin, TX ...free place to stay. ..I wanna pick your brain and make awesome food. Maybe never happen but thanks so much for your helpful help. I need to be more active on here now that I focus more on Dev and coding.
Last edited by gary_in_austin (2018-12-13 00:31:07)
Offline
Slim pickings, I fear. Most of my brain has gone walkabout and not returned.
I used to use Coda and loved it, but it's not been kept up with and I've been forced to abandon it. Atom is fair, and I use it once in a while for specific tasks, but Visual Studio Code is my workhorse. I occasionally use Sublime Text as well.
Offline