i looking for the code that would allow me to place the members Maps in my splash screen so visitors can glance or get an idea of members general location.
thanks
i looking for the code that would allow me to place the members Maps in my splash screen so visitors can glance or get an idea of members general location. thanks |
What is your splash screen? Is it the splash/promo block that you find under general settings in the admin or is it a splash php file or are you referring to the standard Dolphin index.php home page? Geeks, making the world a better place |
What is your splash screen? Is it the splash/promo block that you find under general settings in the admin or is it a splash php file or are you referring to the standard Dolphin index.php home page? Whats up Geek_Girl, it's a php splash page, I have a members only site, visitors only see the splash page. |
Ah.... Is the splash.php page you have loading in some of the Dolphin bits and pieces? They will be needed in order to incorporate Dolphin stuff into the splash page. There was a free splash.php file posted in the forum with the needed stuff if you are not including them. Just do a search using the magnifier lens above for splash.php. I know that HL posted one at one time. Geeks, making the world a better place |
yes i think that's the free splash page i'm using |
First, do you have the code for the map? What is needed to be included on the splash page for the splash code to be able to get the needed locations? You will need to create the container for the map on the splash page. What is your skill level? Geeks, making the world a better place |
I need the map code, i can find it if i take my time but was just asking in hopes that someone had already done it/ had it. thanks |
hummm i still cant get this map to display on splash page... help help lol |
can someone help me with this please? I have a splash page the someone posted here for free, customized it just like i wanted it but now i would like to include a block with the members map so that visitors get a quick glance of where members are located in my case mostly the east coast of the US.
thanks |
The following code is displaying map with all data (profiles, events, groups, etc), the same code is used to display map on Dolphin homepage: bx_import('BxDolService'); echo BxDolService::call('wmap', 'homepage_block'); Rules → http://www.boonex.com/terms |
Good morning Alex, thanks for the reply, unfortunately I have no idea what to do with that code, I attempted to add it to the body of my splash page but that did not work lol yes im not good at this, Im running my site as i want it thanks to people like you and reading up on this forum. The following code is displaying map with all data (profiles, events, groups, etc), the same code is used to display map on Dolphin homepage: bx_import('BxDolService'); echo BxDolService::call('wmap', 'homepage_block');
|
I did a test on my own splash page and it doesn't work! you have to do a lot to get this working on your splash page. Good morning Alex, thanks for the reply, unfortunately I have no idea what to do with that code, I attempted to add it to the body of my splash page but that did not work lol yes im not good at this, Im running my site as i want it thanks to people like you and reading up on this forum. The following code is displaying map with all data (profiles, events, groups, etc), the same code is used to display map on Dolphin homepage: bx_import('BxDolService'); echo BxDolService::call('wmap', 'homepage_block');
|
I've just test this code and it works just fine. Please note that it works on the pages where standard Dolphin output is used to generate the page contents, if you are using custom way to output page contents then you need to include needed css and js files manually. I did a test on my own splash page and it doesn't work!
it returns the checkboxes with module names but not the map. you have to do a lot to get this working on your splash page.
Rules → http://www.boonex.com/terms |
AlexT, we appreciate your help, to you it may be simple but to some of us its a complicated task. i have a free simple splash page that i found, so it does not have the required back bones to make the maps code display :(
i think it would be great if visitors get to the splash page and visually see if there are members in there town. are you able to post a sample code that we can copy paste and play with. thanks I've just test this code and it works just fine. Please note that it works on the pages where standard Dolphin output is used to generate the page contents, if you are using custom way to output page contents then you need to include needed css and js files manually. I did a test on my own splash page and it doesn't work!
it returns the checkboxes with module names but not the map. you have to do a lot to get this working on your splash page.
|
Try to add the following html to HEAD section of your html page: <link href="http://demo.boonex.com/modules/boonex/world_map/templates/base/css/main.css" rel="stylesheet" type="text/css" /> Rules → http://www.boonex.com/terms |
Try to add the following html to HEAD section of your html page: <link href="http://demo.boonex.com/modules/boonex/world_map/templates/base/css/main.css" rel="stylesheet" type="text/css" /> hello AlexT, its not html its a .php mysite.com/splash.php |
It still has to generate HTML in order for the browser to see it; if you like, you can attach the php file to this topic unless it would give us information you don't want us to see. Geeks, making the world a better place |
It still has to generate HTML in order for the browser to see it; if you like, you can attach the php file to this topic unless it would give us information you don't want us to see. here it is, I took some info/options off other than that its a simple splash but i wanted to include a map so that visitors could see if any members are in there area based on zipcode
thanks for the help |
I should have read this closer, Alex was just telling you to add some javascript to the head section. Normally that would be added to the template file but since this is a splash.php there is no template. Try adding this below the includes: echo '<link href="http://demo.boonex.com/modules/boonex/world_map/templates/base/css/main.css" rel="stylesheet" type="text/css" />'; view the page source to see what is what and play around with it. Make sure your php is generating a proper html document. Geeks, making the world a better place |
this is my splash, as you see it's missing the backbones to get maps to display..... (I removed some info pointed to my site on the file to avoid spammers) |