Load Map from Search Module in new window

7 years 7 months ago #797 by jason@thinker.com.au
Load Map from Search Module in new window was created by jason@thinker.com.au
I'm trying to get the map component to load in a new window when generated from the Search Module but it doesn't seem to be working as I am expecting it to.

The page with the Search Module is located at

thinker.com.au/index.php/franchise-start-here

The Search Module is pointing to menu item 514 and the parameters of menu 514 request to results to load in a new window however that is not happening. The menu is pointing directly to the component.

Thoughts?

Please Log in or Create an account to join the conversation.

  • jason@thinker.com.au
  • Topic Author
  • Offline
More
7 years 7 months ago #802 by sysgenmedia
Replied by sysgenmedia on topic Load Map from Search Module in new window
The Joomla menu Item Parameters for opening a link in a new window only apply to Joomla menu Modules... If you wanted to make that odule open in a new window you would need to modify the file modules/mod_storelocator_search/mod_storelocator_search.php

and add to the opening form call:
 target="_blank"

Jared

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #827 by jason@thinker.com.au
Replied by jason@thinker.com.au on topic Load Map from Search Module in new window
Thanks for that, was a bit of trial and error to figure out where exactly to put the code, but I worked it out :)

Please Log in or Create an account to join the conversation.

  • jason@thinker.com.au
  • Topic Author
  • Offline
More
7 years 4 months ago #1190 by payments@ramwebconsulting.com
Replied by payments@ramwebconsulting.com on topic Load Map from Search Module in new window
Can you guys point out where you added this code. I need the same thing. Thanks!

Please Log in or Create an account to join the conversation.

More
7 years 4 months ago #1202 by sysgenmedia
Replied by sysgenmedia on topic Load Map from Search Module in new window
At the end of line 61, within the form tag so it looks like this at the end:
method="post" target="_blank">

Jared

Please Log in or Create an account to join the conversation.

More