Guest BoardDude Posted April 16, 2013 Share Posted April 16, 2013 (edited) 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 April 16, 2013 by BoardDude Link to comment Share on other sites More sharing options...
0 Lock Down Posted April 16, 2013 Share Posted April 16, 2013 You only have 2 choices. Use the code inside an iframe. Or install one the apps like pages to keep it within the skin framework. Link to comment Share on other sites More sharing options...
0 Lahori_Munda Posted April 16, 2013 Share Posted April 16, 2013 Please give us your site link Link to comment Share on other sites More sharing options...
0 Guest BoardDude Posted April 16, 2013 Share Posted April 16, 2013 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 More sharing options...
0 kjat17 Posted April 17, 2013 Share Posted April 17, 2013 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> Link to comment Share on other sites More sharing options...
0 Guest BoardDude Posted April 17, 2013 Share Posted April 17, 2013 (edited) 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 April 17, 2013 by BoardDude Link to comment Share on other sites More sharing options...
0 Lock Down Posted April 17, 2013 Share Posted April 17, 2013 (edited) Just change to this<if test="$this->memberData['member_id']>0"><iframe src="home.html" width="170%" height="700" frameborder="0" name="main" id="main"></iframe></if> Edited April 17, 2013 by Lock Down Link to comment Share on other sites More sharing options...
0 Guest BoardDude Posted April 18, 2013 Share Posted April 18, 2013 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 More sharing options...
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 BoardDudeLink to comment
Share on other sites
7 answers to this question
Recommended Posts