Aricie
The DNN Expert for your web project
Forum
HomeHomeModulesModulesHtmlMapMakerHtmlMapMakerImport external mapImport external map
Previous
 
Next
New Post
10/10/2013 9:35 PM
 
Can you provide more information on this feature? 
In most cases I have found it easier to just directly work with the files and SQL tables instead of using Import functions.  Can you tell were to look for the resulting SQL data or file structures that are created once a map is created or imported?
 
New Post
10/11/2013 10:02 AM
 
Hi,
With this feature, you can easily import any html map from the Web. It may be the URL of an external web site, an inner file from your file system (html, php, asp...) or a page from your website. In this last case, conventional XML Export/Import is recommended.
You simply need the URL of the page displaying the map. The external map gets parsed and the image map is imported in the system where the hotspots and the rendering can easily be edited.

For more details, please go to section 3.2.3  Import external map of this file HTMLMapMaker.Documentation.EN.pdf

Best regards,
 
New Post
10/11/2013 10:08 PM
 
I have read your PDF file, unfortunately it offers little help.
Can you provide an example that allows one to import a file that not only defined the image map but also the what the contents of the "On mouse over" and "On click" fields would be?

Would it be of the format:

<img src="SomeFile.jpg" usemap="Test" alt="" style="border-style:none" />
<map id="Test" name="Test">
    <area shape="rect" alt="Alt IT" coords="165,68,240,152" href="Import Test" title="Alt IT" onMouseOver="????" onClick="????" />
</map>

 
New Post
10/14/2013 3:38 PM
 
Here is a example that allows to import a map with hotspots and their behaviors using URL
    - Go to  Import new external map, in Source Map section, choose Link Type as URL and enter address of your link. You can use http://dotnetnuke.aricie.com/en/modules-htmlmapmaker/map.aspx for example ( we have created a map with many contents)
    - Click Preview to see map image which is parsed from above url
    - Click Import, you will be redirected to edit page of imported map with existing hotspost and their behaviors.
    - Click save and return, you can use this map as the one you have in that URL.
(View images in ImportExternalMap.zip for more details)

For Import using a file, HTMLMapMaker does not work correctly at this moment. We'll try our best to fix it and get back to you as soon as possible

Best regard,
ARICIE Team
 
New Post
10/14/2013 6:14 PM
 
Thanks for your response, I appreciate that.

I have looked into the SQL at dbo.ModuleSettings and see that all the necessary XML and HTML are available that define things.  Would it be possible to directly add map setting that way?  Can you help to confirm/understand the value in the "SettingName" column and how that operates?  It appears that "InnerMapX" define a map settings while "InnerMapX-Y define the HTML map hotspots.  Also wondering why the HTML of the maps seems to be broken up in 2000 size blocks?  Can on just put the HTML in one record?

I really appreciate your support as my customer has a number of maps and each of which might have 100 or so hotspots on them.  The manual web UI for doing this number of hotspots is just not practical as I have the hotspot and link data available automatically already and so I can build the required information automatically.
 
New Post
10/15/2013 11:42 AM
 
At ModuleSettings table, map information is saved as xml format. We divide it into many blocks. The first is InnerMapX, the second is InnerMapX-2, the third is InnerMap-3, ...
For the DNN compatibility  reason, block size must be 2000 ( in DNN 5 and before, max size of SettingValue field is just 2000 characters)

Best regards,
 
New Post
10/20/2013 9:50 AM
 
I did a simple test and changed a value or two, such as Name and the hover image color directly in the ModuleSetting  SettingValue but nothing seems to change when I look at the web page.  I have done refreshes and even restarted things but nothing changes?  The instant that I press save via the web UI it writes to the record back to the original values.  It is like the module does not really read from the record but does save to it for sure.  What am I missing here?
 
New Post
10/20/2013 9:59 AM
 
Ok, it looks like I have to completely stop and restart things (IIS) to make this work which is Ok but you would think closing IE or refreshing things would do it?

Do I have to break up the ModuleSetting SettingValue into 2000 character blocks or can I just put it all into one entry?  We are not on DNN 5 so it would not be an issue?
 
New Post
10/21/2013 3:06 PM
 
Hi,

First, those settings are loaded in a cache mechanism which needs to be refreshed to take your database modifications into account. This cache is automaticaly refreshed when you use the UI. If you modify those data directly in the database, you could recycle application pool on IIS to view the corresponding result.
Regarding your question on the maximum length of the settings entries, Duc needs to have a look a this point before he answer you.

Regards,



Stéphane TETARD
ARICIE - Board member of DotNetNuke France
 
New Post
10/23/2013 3:25 PM
 
Hi Woody,

You can put all your settings into the first setting InnerMapX, but you have to delete other setting like InnerMapX-2, InnerMapX-3,....
MapMaker will work without any problem.
Just remember that when you save new configurations or hospots, this string of settings will be re-divided into many blocks automatically.

Regards,
 
Previous
 
Next
HomeHomeModulesModulesHtmlMapMakerHtmlMapMakerImport external mapImport external map