SimplePortal
Support => English Support => Topic started by: Lineman on February 20, 2011, 03:42:36 PM
-
Hello,
I must apologize if this a stupid question. I have read all docs and the forum topics, but I am still a little confused. I created a custom html block for the left column. Within this block I would like to create a menu with links - either being a SP page or a regular html page and have the page show up in the 'center' column. I am not sure how to accomplish this.
The attached image shows cosmetically how it looks, but the links open in a new window (or tab) For the image example I used and iframe just to show the looks. I would like for those links to open within the center column of the portal.
Thank you for any help, it is much appreciated. :nervous-happy:
Edited to include:
....For a page to be shown in center column of portal when the custom menu links are clicked.
SMF 2 RC4 (with recent security patch)
SP 2.3.3
Aeva Media 1.4c
Page Management 1.4
AvatarSelect 1.2.1
-
Unfortunately that's not really possible without using frames. You could create a custom HTML block for the center block that displayed an iframe, then edit the target of those links to open in the iframe.
-
Oldiesman is correct -- and he does suggest one way to get the effect you are looking for.
Another way to handle this would be to handle each of those pages as a SimplePortal page.
Then, while you are loading a whole new page, at least it is wrapped in your forum's wrapper.
-
Thank you for the replies, and you did point me in the right direction. AngelinaBelle, your post got me thinking.....
What I did was, create a SP page for each menu item (I just used iframe in the SP page) Then I made a custom html block and with the code:
<table width="160" border="0" align="center" cellpadding="2" cellspacing="2">
<tr>
<td align="center" valign="middle"><img src="PATH TO BULLET IMAGE #1" width="32" height="32" /></td>
<td align="left" valign="middle"><a href="http://www.WEBSITE.com/forum/index.php/page,page1000.html" target="_parent">TITLE OF FIRST MENU ITEM</a></td>
</tr>
ETC....
Then with the other blocks I chose the option to display on the SP pages. It works perfectly. Thank you for your help. :D
By no means am I a web programmer, but I am learning.... Thank you for everything. :wave:
-
I'm glad you figured out a solution that worked for you.
-
Thank you for the replies, and you did point me in the right direction. AngelinaBelle, your post got me thinking.....
What I did was, create a SP page for each menu item (I just used iframe in the SP page) Then I made a custom html block and with the code:
<table width="160" border="0" align="center" cellpadding="2" cellspacing="2">
<tr>
<td align="center" valign="middle"><img src="PATH TO BULLET IMAGE #1" width="32" height="32" /></td>
<td align="left" valign="middle"><a href="http://www.WEBSITE.com/forum/index.php/page,page1000.html" target="_parent">TITLE OF FIRST MENU ITEM</a></td>
</tr>
ETC....
Then with the other blocks I chose the option to display on the SP pages. It works perfectly. Thank you for your help. :D
By no means am I a web programmer, but I am learning.... Thank you for everything. :wave:
thanks for sharing this code.