PDA

View Full Version : How do I add a tab for custom content?


K4GAP
08-14-2014, 10:04 AM
I want to add a menu tab using the Navigation Manager that will display a custom html page I've created. I've done it before but I'm having a brain block this morning ;/

Wake me up?

Thanks'

vb 4.2.2

ozzy47
08-14-2014, 10:23 AM
I assume by menu tab, youran a drop tab.

1) Create a tab.
2) Create a menu for the tab.
3) Edit the tab and find the setting, "Target Menu" select the menu you just created, click on save.
4) Add links to the menu you created, these are what will show up as the dropdown items in the tab.

K4GAP
08-14-2014, 11:55 AM
I assume by menu tab, youran a drop tab.

1) Create a tab.
2) Create a menu for the tab.
3) Edit the tab and find the setting, "Target Menu" select the menu you just created, click on save.
4) Add links to the menu you created, these are what will show up as the dropdown items in the tab.

No, I mean a navtab.

See attachment...

Lynne
08-14-2014, 03:58 PM
Settings > Navigation Manager > Add Tab ?

K4GAP
08-14-2014, 11:40 PM
Settings > Navigation Manager > Add Tab ? :)

What about the "custom page" I want to have shown when that tab is clicked?

The custom page is simply a page with an iframe in it that that shows a page from one of my other sites. So, it's going to look integrated thus, the purpose of an iframe ;0

ozzy47
08-14-2014, 11:45 PM
How do you get to the custom page now?

Lynne
08-15-2014, 02:08 AM
Does the custom page exist? If so, then link to it through the Navigation Manager (you can link to php or html or whatever kind of server pages you want). If you need help with the custom page, then say so because it didn't sound like that was the issue in the first post.

K4GAP
08-15-2014, 07:38 AM
Lynne the problem is when I create a navtab and link it to the custom page, it opens in a new window. I want it to open within the framework of vbulletin.

Lynne
08-15-2014, 03:59 PM
Do you have the option Open in New Page set to No?

If, when you say you want it to "open within the framework of vbulletin", do you mean it doesn't *look* like a vbulletin page, but instead looks like some custom page? If so, that is because you need to follow the instructions here (https://vborg.vbsupport.ru/showthread.php?t=228112) to make it look like a vbulletin page.

K4GAP
08-15-2014, 05:49 PM
Yes, I have it set to No. The page I want to open does not match my style and I'm ok with that because that's something I can tackle later. It is from TNG (http://lythgoes.net/genealogy/software.php) which is site building software for genealogists. I have scaled down the page so it will fit within my vb style which has a width of 1000px. This is the page (http://k4gap.com/tng/).



This is where I want it to end up when called for with a link from a vb navtab.......

K4GAP
08-15-2014, 06:04 PM
I tried to show the page just on the Article page and it works but, with the side bar it's to wide. Without the side bar it would be ok.

I simply chose "Create static page" from the drop down menu and added the page by calling for the page I had the iframe code in. This is the page (http://www.k4gap.com/iframed.html) within the iframe code. It scales down as it is not a fixed width so it blends nicely.

Have I included to much or not enough info?

Lynne
08-15-2014, 06:55 PM
You cannot link to some page with html/php and get it to show 'within' a vbulletin layout unless you use the method I linked you to.

If you want to put the html into a Static Page, but you don't want any widgets on the page, create a new Section and create a Grid, then Layout from that Grid, that is 100% wide and has no widgets on it.

K4GAP
08-15-2014, 09:42 PM
Thanks Lynne
I'll see what I can do.

Ba'al
08-17-2014, 06:16 AM
Lynne the problem is when I create a navtab and link it to the custom page, it opens in a new window. I want it to open within the framework of vbulletin.https://vborg.vbsupport.ru/showthread.php?t=281786

thetechgenius
08-17-2014, 06:36 PM
If you want your custom page to show within your vB style, let me know, I created some custom code, and a custom templates for just this. And I can even make it work with "Who's Online". So when a user is veiwing your custom page, he/she will show up on "Who's Online" saying they are Viewing/Using your custom page.

And you can make multiple custom pages and templates for other custom pages.

PM Me, and I will give you the code, and the instructions on how to do it. I can also give you a Demo, because I did this on my forum.


Here is a Demo, its my DMCA Policy (Digital Media Copyright Act.) page.
https://thetechgenius.net/dmca.php

I have 2 other custom pages also, but you can only view the content of the other pages if you are Signed in.

Edit: I attached a screenshot to show you that the page works with "Who's Online".

cellarius
08-17-2014, 06:45 PM
And how is that method different or superior to Lynne's time proven tutorial?