Sub Menu
Links Menu
Online Users

In total there are 311 users online :: 3 registered, 0 hidden and 308 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

[SOLVED]Link in Menu block won't trigger pop up window.

Support for the IM Portal Project

Moderator: Integra Moderator

[SOLVED]Link in Menu block won't trigger pop up window.

PostAuthor: Coroner » Thu Oct 08, 2009 1:18 pm

Hello folks.
I installed a mod called Personal Notes 1.4.10. Everything works fine. In the overall_header.tpl there are these edits:
Code: Select all
##-----[ OPEN ]------------------------------------------#templates/subSilver/overall_header.tpl  ##-----[ FIND ]------------------------------------------#</head>  ##-----[ BEFORE, ADD ]------------------------------------------#<script> <function> </script>  ##-----[ FIND ]------------------------------------------#                         <td><span> <a><img>{L_FAQ}</a></span><span>   <a><img>{L_SEARCH}</a>   <a><img>{L_MEMBERLIST}</a>   <a><img>{L_USERGROUPS}</a>   ##-----[ AFTER, ADD ]------------------------------------------#<BEGIN><a>{L_NOTES}</a><END>


What I'm trying to accomplish it remove the link from the overall header and put the link in my Menu block. I put this code in the portal block]<img> <a>Notes</a><br>[/code]

The problem is that the overall header link will trigger a pop up window but the link in the Menu block wont? It's just opens a full page. It bypasses IM Potal completely? In fact it opens it's own page with no overall header or footer?

Is there a way I can get the link to trigger the pop up window?

Please let me know.

Thanks!
Last edited by Coroner on Sat Oct 10, 2009 3:38 am, edited 1 time in total.
[url=http][img=left]http://cscoroner.com/phpbb2/RandomSig/randomsig.png[/img][/url]
User avatar
Coroner
Members
Members
 
Posts: 41
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 02, 2008 1:48 pm
Cash on hand: 0.00

Re: Link in Menu block won't trigger pop up window.

PostAuthor: MWE_001 » Thu Oct 08, 2009 1:40 pm

Please clarify for me a bit. Are you wanting this link to work from the site navigation block, or a block that you have added to the page?

I have a site I can do a quick test on. If I can get the answer for you, I will come back and post. I know I have done this before from a regular block, but never from site nav.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

Re: Link in Menu block won't trigger pop up window.

PostAuthor: MWE_001 » Thu Oct 08, 2009 1:49 pm

Doh! Sorry. I went back and read your post again and you did say menu block. That I am not sure you can do with Qbar as it would require a javascript link such as
Code: Select all
<a>


I know you can do it in a block that you make but not sure about Menu block. I'm gonna step back and let HelterSkelter or some other happy soul chime in on this one.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

Re: Link in Menu block won't trigger pop up window.

PostAuthor: Coroner » Thu Oct 08, 2009 4:26 pm

Thanks for the reply.
The "Menu" block I created. I wanted to separate the Navigation block with a set of links not visible to guests. There is no variables or block file for it. It's set for html with no cache.

I have tried many options to get the link to write to the javascript for pop ups but with no success. I'm sure there's a way. With the overall_header.tpl edits the pop up works fine so it leads me to believe that I need to plant the reference code that the header uses somewhere within IM Portal.
[url=http][img=left]http://cscoroner.com/phpbb2/RandomSig/randomsig.png[/img][/url]
User avatar
Coroner
Members
Members
 
Posts: 41
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 02, 2008 1:48 pm
Cash on hand: 0.00

Re: Link in Menu block won't trigger pop up window.

PostAuthor: Helter » Fri Oct 09, 2009 12:07 am

the link is set in the header .js, so you should be able to use this from your block if it is set as an "html" block

<img> <a>{L_NOTES}</a>

if it is a bbcode block you can try

Image[url={U_NOTES}]{L_NOTES}[/url]
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Link in Menu block won't trigger pop up window.

PostAuthor: Coroner » Fri Oct 09, 2009 7:32 pm

"HelterSkelter" wrote:the link is set in the header .js, so you should be able to use this from your block if it is set as an "html" block

<img> <a>{L_NOTES}</a>

if it is a bbcode block you can try

[i mg]http://cscoroner.com/phpbb2/templates/fwsblack1/images/hot.gif[/img][url={U_NOTES}]{L_NOTES}[/url]


For some reason I can't use any brackets like "{}. The code shows up in the block and doesn't work at all. I've always had this issue?

Am I missing something, somewhere that kills the code from functioning?
[url=http][img=left]http://cscoroner.com/phpbb2/RandomSig/randomsig.png[/img][/url]
User avatar
Coroner
Members
Members
 
Posts: 41
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 02, 2008 1:48 pm
Cash on hand: 0.00

Re: Link in Menu block won't trigger pop up window.

PostAuthor: Helter » Fri Oct 09, 2009 11:00 pm

OPEN
templates/fwsblack1/overall_header.tpl

FIND

</head>

BEFORE, ADD

Code: Select all
<script>// <CDATA></script>



use this for your link

Code: Select all
<a>Notes</a>
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Link in Menu block won't trigger pop up window.

PostAuthor: Coroner » Sat Oct 10, 2009 3:37 am

Worked like a charm.

Thank you so much!
[url=http][img=left]http://cscoroner.com/phpbb2/RandomSig/randomsig.png[/img][/url]
User avatar
Coroner
Members
Members
 
Posts: 41
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 02, 2008 1:48 pm
Cash on hand: 0.00


Return to IM Portal Support Forum

Who is online

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]