Okay,
I'm trying to integrate phpbb into my site.
I created a page with an iframe to load phpbb, this page is located at http://www.domain.com/index.php?page=forum
On my main page, I have a link that looks like this:
The above code correctly opens phpbb in another browser window and logs me in, but does not open the page with the iframe.Code:<form name='frmForum' id='frmForum' action="forum/login.php" method='post' target="_blank"> <input type="hidden" name='login' value="Log in" /> <input type="hidden" name='username' value="{$smarty.session.UserName}" /> <input type="hidden" name='whatIneed' value="{$smarty.session.whatIneed}" /> </form> <a href="#" class="panellink" onclick="javascript:document.frmForum.submit(); return(false);" >FORUM</a>
I've tried this without luck:
Any suggestions are welcome.Code:<form name='frmForum' id='frmForum' action="forum/login.php" method='post' target="_self"> <input type="hidden" name='login' value="Log in" /> <input type="hidden" name='username' value="{$smarty.session.UserName}" /> <input type="hidden" name='whatIneed' value="{$smarty.session.whatIneed}" /> </form> <a href="http://www.domain.com/index.php?page=forum" class="panellink" onclick="javascript:document.frmForum.submit(); return(false);" >FORUM</a>
Thanks.



Reply With Quote

Bookmarks