Jump to content
WebFlake
  • 0

How make new tab?


Guest BoardDude

Question

Guest BoardDude

Hi,

Im having this problem.

I have created new tab for main tab list next to "forums". Lets call it "test".

Now when i click this "test" and it opens in new window.

How can i get it work inside IPB forum?

 

I guess i can make url goes to /index.php?/test/

Its not working with creating "test" folder and put "index.php/.html" inside it.

 

it opens inside forum but it says:

 

Sorry, we couldn't find that!

 

any ideas?

 

i add code to globalTemplate:

 

 <li class='left'><a href='http://test.html' title='Go to test'>test</a></li>

 

and with that index.php? it looks like this.

 

http://xxxxxxxxxxx.com/index.php?/test

 

 

 

Its in IPB 3.3.4

Edited by BoardDude
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0
Guest BoardDude

Yes iframe would be fine.

I made it in my normal webpage like that.

 

But where to add that iframe? which file?

Link to comment
Share on other sites

  • 0
Guest BoardDude

go to your skin > global templatesearch for <foreach>add this code below 

<li id='nav_home' class='left'><a href='http://www.yoursite.com/' title='Go to Title' >Forum Name</a></li>

 

That was what i exactly did and it opened it new window. I was asking about that iframe but i just found it out:

<!-- ::: MAIN CONTENT AREA ::: --> and put it uder it using:

<iframe src="home.html" width="170%" height="700" frameborder="0" name="main" id="main"></iframe>

now it works great... thanks anyway :)

 

That wasnt exactly what i was looking for but it can be done with that way. That iframe area is just there all the time. Thats not good.

Im trying to find does it has "auto resize" option. I guess it doesnt.

Ok, here is next problem. I want that only registered users have access to that new tab i created.

How can i fix that ?

Now everyone can view it.

Edited by BoardDude
Link to comment
Share on other sites

  • 0
Guest BoardDude

Wow, thanks dude :)

I put the code under little different place but it works great!

Its under link so now if you are not logged in you cannot see that tab.

Thanks to everyone. problem solved.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...