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 2019-05-09 04:33:20

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

I see above I was to link to the pdf file, not the php file. I will do it again.

Offline

#27 2019-05-09 04:34:08

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

It might be easier to copy/paste the html from the page source


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#28 2019-05-09 04:36:55

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

That worked but it is ugly as hell and the embedded hyperlinks do not work. I am getting close.

Last edited by paulpegg (2019-05-09 04:37:25)

Offline

#29 2019-05-09 04:41:05

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

paulpegg wrote:

So I tried with the URL link to the menu2018.php file and the site stops while loading the nav bar. You can see that now at http://corvette-photography.com/TestBL2/.

I guess the old php code will not work in a BL2 site

I see that you are progressing. In order to keep the same look&feel of your site, I would copy the text that is in your fragments file into the new 2018/2019 page.

The syntax of the the html code inside /TestBL2/fragments/menu2018.html is not correct. Apart that header tags shouldn't be used for content, at least they should be closed:

<h2>.....</h2>

Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#30 2019-05-09 04:45:17

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

paulpegg wrote:

That worked but it is ugly as hell and the embedded hyperlinks do not work. I am getting close.

The links will work once your test code is on the lesmarmitonsnj.com side. Or you can change the links to

<a href="http://www.lesmarmitonsnj.com/recipes/2018 October KKWC Benefit recipes.pdf">2018 October- Kiddie Keep Well Camp Benefit Dinner</a>

BTW, I would try to avoid using files that have spaces in the filename.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#31 2019-05-09 04:50:48

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

OK. I copy/pasted the html code into a new page and it plays pretty well, except I don't like the line spacing. When I click on a blue italics link the link does not work. This seems to be a problem of the original hyperlinks not coming over properly.

Last edited by paulpegg (2019-05-09 04:51:17)

Offline

#32 2019-05-09 04:53:47

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

I copied all the folders with menus and recipes over to the test bed to make  the url links easier. So I used /fragments/menu2018.html for example. These links will still be valid when i move. I see the masthead did not appear and there is a Backlight logo in the upper left corner.

Last edited by paulpegg (2019-05-09 05:01:05)

Offline

#33 2019-05-09 05:03:39

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

OOOPS, that last comment is not right. The masthead is under the nav bar and the logo is above that. Strange.

Offline

#34 2019-05-09 05:04:38

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

your hyperlinks are all relative links. they're looking for the recipes/ folder in the root of the current site. But if you don't have a recipes folder inside of the corvette-photoraphy site, then the hyperlinks won't work.

The line spacing has to do with the fact that you're using headings for all your text. You'll need to use custom css to change the margin for h3 headings. (his is on the html version of the page)

You'll also notice that the footer is now appearing at the top of the page. This is because you've copied extra html that you don't need. Specifically the </body> and </html> tags at the end of your copy.

(That's the TTG logo you're seeing)


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#35 2019-05-09 05:18:38

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

I do have identical folders in the original site and the test site. I took out the closing tags in the html code but the problem persists.

Last edited by paulpegg (2019-05-09 05:20:34)

Offline

#36 2019-05-09 05:29:08

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

I see the flaw in the original href. The Les Marmitons site is in a sub folder named lesm. The links do not include that part of the path and therefore could not work in the test bed. I will add /lesm/ to the URL and see if that is enough.

Offline

#37 2019-05-09 05:39:45

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

I am getting tired. See you tomorrow.

Offline

#38 2019-05-09 07:43:52

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

It looks like you also have a lot of unclosed tags. Look at all your h3 tags. I see opening tags, but no closing. same with some h2 tags.
Also see an h3 tag closed with a p tag.

as well as things like this:

<h2><h2><em>October - At D'Artagnan</em>
<h3>1st Course: – Terrine of Fois Gras
<h3>2nd Course: – Traditional Cassoulet
<h3>3rd Course: – Duck Egg Creme Brulee

two opening h2 tags in row and then three opening h3 tags.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#39 2019-05-09 07:55:11

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

As far as I know it is no longer necessary to close any of those tags.

Offline

#40 2019-05-09 08:35:05

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

that's true for things like <br> or <hr>. I've not heard that for other elements.
https://www.w3schools.com/html/html_elements.asp

unclosed elements is often a reason for page element showing up in the wrong place though.

I just ran the page through a validator. Lots of errors relating to h2, and h3 tags. Without closing tags, the page things the next item is a child of the first

https://validator.w3.org/nu/?doc=http%3 … tml2018%2F


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#41 2019-05-09 21:46:11

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

OK. I closed the tags and hardwired the hyperlink and it looks good on that front.
On to the next one. How to get a photo to be on the left side of the home page but not on any other page?

Offline

#42 2019-05-09 22:17:12

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

Add an inline image to the home page content
https://ttg-tips-and-tricks.barbeephoto … opy-areas/

This is getting way off the original topic. If you have more questions, can you start new topics for each?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#43 2019-05-10 01:30:56

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

Yes, I will. I am well on the way to finishing this project.

Thank you very much for all your help. You are a living instruction manual!

Best regards,

Paul

Offline

#44 2019-05-10 03:59:35

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

If only I was searchable wink


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#45 2019-05-10 05:06:31

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

Ain't that the truth!

I cleaned up all the tags in the one menu I have installed and once again the nav bar is above the logo. I ran Validator against the file http://corvette-photography.com/TestBL2/Menus2018/ but can't figure out what it is telling me about the tags. EX it says that at line 138 it found a closing p tag without an opening tag BUT the opening tag is at the beginning of the line. I see this in a lot of places. Most of the errors are in areas of the page that I have no access to.

Offline

#46 2019-05-10 06:26:03

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

the problem may be the heading <h2> tags inside of the paragraph <p> tags. Did a Google search on h tags inside of p tags and saw several things saying that p tags can only have inline elements inside of them. And headings are block level elements.

so try removing those p tags that are wrapping heading tags.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#47 2019-05-10 06:51:08

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

Well, I took out every single p and /p tag in the whole page and nothing changed!
GRRR!

Thanks for helping. We couldn't use this program without you.

Offline

#48 2019-05-10 07:10:09

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

Looks much better now!

There is one issue on the page on line 177:

<h2><em><a href="http://lesmarmitonsnj.com/recipes/0419recipes.pdf"><em>April - Chef Brian Karluk</a></em></h2>

There shouldn't be an <em> before April. Currently, the footer is shown above your main content. This might be related to this <em> tag.


Personally, I would not use 600 as the font weight for the body text. It makes the text a bit difficult to read. I would go with 400.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#49 2019-05-10 07:34:13

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

Well Damn, man. That did it!!
HURRAH

I didn't change the font yet

Offline

#50 2019-05-10 07:55:22

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Creating new BL2 site-cannot get all menu items and pages to appear in

paulpegg wrote:

Well Damn, man. That did it!!
HURRAH

smile

Les Marmitons looks like a fun group.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

Board footer

Powered by FluxBB