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.

#1 2019-05-08 01:34:31

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

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

Rod,

I have started with BL2 with this development site http://corvette-photography.com/TestBL2/

I am trying to replicate my old site http://lesmarmitonsnj.com and have created all the top bar menu items and some of their pages but they do not appear in the test site. What am I missing?

Also, the dropdown that does appear is a flyout rather than dropdown. I can't find a place that fixes that one either.

I have not yet migrated any albums.

Thanks,

Paul

Offline

#2 2019-05-08 03:03:32

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

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

This is truly confusing. I created a menu listing all the items from the original site and made it the default but it does not display on the site. I edited the Default menu down to just Home and that is all the displays even though it is not the default menu. ARGH!

Offline

#3 2019-05-08 03:13:46

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

Have you assigned your new menu to your page template?
When you make a menu a default menu, it will be assigned to any page template you create after that.
Check you page template. At the very top is where you assign a menu set to the page template.


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

Offline

#4 2019-05-08 03:20:32

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

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

Thanks for that tip. Now all the dropdowns are showing on the main nav bar even though I assigned them to main nav bar items.

Offline

#5 2019-05-08 03:22: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

it looks like you created separate menu items rather than adding items below main menu items.
If you want to share Guest Updater credentials I can take a look.


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

Offline

#6 2019-05-08 03:32:39

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 guess I made them all main menu items. I will work on it again.

Offline

#7 2019-05-08 03:46:44

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

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

It looks like the first sub becomes a flyout and the rest dropdown. See our Menus vs Our Events. Is there a way to make them all dropdown without a flyout?

Offline

#8 2019-05-08 04:20:40

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

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

paulpegg wrote:

It looks like the first sub becomes a flyout and the rest dropdown. See our Menus vs Our Events. Is there a way to make them all dropdown without a flyout?

Make them second level items, rather than third.


Matt

The Turning Gate, http://theturninggate.net

Offline

#9 2019-05-08 04:29:51

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

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

I can't find a way to do that.

Offline

#10 2019-05-08 04:35:07

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

Under your Our Events item, you have 2018/2019 Events. And you've put the rest of the events under 2018/2019 Events. Remove those items from under 2018/2019 and add them under Our Events


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

Offline

#11 2019-05-08 05:18:02

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

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

I get it. I entered the first one and then just kept adding more to that one.

I am copying and pasting text from old php files to the various pages but each sub page does not appear when I click on a dropdown item such as Dues under Membership. What is the trick to get that page to appear in the correct place? Only to top item text appears. This must have something to do with the identifier for each page.

Last edited by paulpegg (2019-05-08 05:18:43)

Offline

#12 2019-05-08 05:33:22

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

When you create a page in Backlight, it will appear as available for the drop downs in the Menu Set.
menu-set-pages.jpg


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

Offline

#13 2019-05-08 05:41:15

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 did that. But the actual page does not show up when i click the the appropriate dropdown button. I get the Membership text under all the buttons. I am missing something here.

Offline

#14 2019-05-08 05:45:06

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 was linking them to the top item instead of their corresponding item.
Thanks,

More to come, I'm sure. I've got to take a break for now.

Paul

Last edited by paulpegg (2019-05-08 05:48:59)

Offline

#15 2019-05-08 07:03:25

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

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

In CE4 I was able to link html pages through php into each page. Can I do the same here or do I have to copy and paste the html from each of those files into the corresponding page in BL2?

Offline

#16 2019-05-08 07:28:58

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

Not sure what you mean.


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

Offline

#17 2019-05-08 08:03:01

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

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

In CE4 each link had a php file that refecenced a separate html file. Here is an example. http://lesmarmitonsnj.com/menu2018.php Click on the menu to see the html file.

Last edited by paulpegg (2019-05-08 08:05:57)

Offline

#18 2019-05-08 08:31:15

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

Those are just hyperlinks to pdf files. You can do the same thing in Backlight. Just write the links with html or Markdown as you probably did before.


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

Offline

#19 2019-05-08 09:07:49

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:

In CE4 each link had a php file that refecenced a separate html file. Here is an example. http://lesmarmitonsnj.com/menu2018.php Click on the menu to see the html file.

I think this is a page that you created with CE4 Pages. With Backlight, you create these pages with Backlight > Designer > Pages and enter your text in Page Copy > Main Copy. There is no more a need to copy/ftp files. This is much easier.


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

Offline

#20 2019-05-09 02:53:48

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

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

That is a whole lot of extra work when you have 13 years worth of monthly pdf files. I am trying to link each set to a drop down.

Right now I am trying to create a sub menu page and I get an error about formatting error in identifier. I cannot find anything that explains how this should be formatted. Is there anything written about this or is it still trial and error?

Last edited by paulpegg (2019-05-09 02:53:57)

Offline

#21 2019-05-09 03:23:01

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 is a whole lot of extra work when you have 13 years worth of monthly pdf files. I am trying to link each set to a drop down.

You have one page per year/season. So you can just copy the respective source code from your current php file into the new page. Yes, it is a bit of work, but totally worth it in order for your site to keep the current look and feel.


paulpegg wrote:

Right now I am trying to create a sub menu page and I get an error about formatting error in identifier. I cannot find anything that explains how this should be formatted. Is there anything written about this or is it still trial and error?

On the left side of the Identifier field, there is a 'I' icon. If you hover over it, it provides additional infos on the formatting requirements: The name used for the page URL, e.g. about. Accepts letters, hyphens and underscores.


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

Offline

#22 2019-05-09 03:24: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

paulpegg wrote:

That is a whole lot of extra work when you have 13 years worth of monthly pdf files. I am trying to link each set to a drop down.

Right now I am trying to create a sub menu page and I get an error about formatting error in identifier. I cannot find anything that explains how this should be formatted. Is there anything written about this or is it still trial and error?

Are you trying to use special characters or spaces in the identifier field?

If you want a drop down from the navigation menu, that should be easy. For the "Link to:" option, choose URL and include the link to the pdf file or to a page where you have a set of them.


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

Offline

#23 2019-05-09 04:10: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 experimented until I got one to work. The little "i" doesn't tell you much.

I am experimenting with the URL link right now.

Offline

#24 2019-05-09 04:27:29

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

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

I tried to copy and paste the menu2018.php code into a BL page and got this: So that didn't work.

 
Something went wrong
Use of undefined constant TTG_SITE - assumed 'TTG_SITE' (this will throw an Error in a future version of PHP) in 95-page-2.0.4-1-45-menu_27-110-content-2.0.0-17-4-1-admin.view-1.template on line 403

Logout
© 2019 THE TURNING GATE

Backlight
2
Logout

Offline

#25 2019-05-09 04:31:56

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

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

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

Offline

Board footer

Powered by FluxBB