-
AuthorPosts
-
palos Friend
palos
- Join date:
- January 2013
- Posts:
- 369
- Downloads:
- 37
- Uploads:
- 8
- Thanks:
- 125
- Thanked:
- 27 times in 7 posts
June 19, 2015 at 1:30 pm #207613Hi,
How should we edit/config the small map on Item page?
Right to the Item image, over the Author image, under the Location
I would use the same zoom level as the larger map uses what it brings up when click on it.
I would remove all the google controls as it looks like a simple image what cannot be clicked.
Perhaps I would put a text on it something like “click the map for larger view” or so…Maybe it is connected to the Extra fields but have no glue how to make it logic.
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
June 22, 2015 at 11:09 am #575048Hi @palosutca,
1. At the moment, you can not interact with that small map as the only way is to click that, it will open the map in modal box so I haven’t got your idea about this part yet.
2. Do you mean you want to default UI controls in a map that open in modal box ?
3. Could you please provide a mockup screenshot about your desire result so I can assist you better ?
palos Friendpalos
- Join date:
- January 2013
- Posts:
- 369
- Downloads:
- 37
- Uploads:
- 8
- Thanks:
- 125
- Thanked:
- 27 times in 7 posts
June 22, 2015 at 6:11 pm #575097Hi Adam M,
I would use the same zoom level as the larger map uses what it brings up when click on it.
I would remove all the google controls as it looks like a simple image what cannot be clicked.
This would be enough for the first shot!palos Friendpalos
- Join date:
- January 2013
- Posts:
- 369
- Downloads:
- 37
- Uploads:
- 8
- Thanks:
- 125
- Thanked:
- 27 times in 7 posts
June 22, 2015 at 6:11 pm #641441Hi Adam M,
I would use the same zoom level as the larger map uses what it brings up when click on it.
I would remove all the google controls as it looks like a simple image what cannot be clicked.
This would be enough for the first shot!palos Friendpalos
- Join date:
- January 2013
- Posts:
- 369
- Downloads:
- 37
- Uploads:
- 8
- Thanks:
- 125
- Thanked:
- 27 times in 7 posts
June 22, 2015 at 6:11 pm #740103Hi Adam M,
I would use the same zoom level as the larger map uses what it brings up when click on it.
I would remove all the google controls as it looks like a simple image what cannot be clicked.
This would be enough for the first shot!Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
June 23, 2015 at 6:23 pm #575257Hi @palosutca,
Please stay tuned while I’m checking this matter for you and I will reply back shortly.
aris Friendaris
- Join date:
- April 2014
- Posts:
- 106
- Downloads:
- 27
- Uploads:
- 9
- Thanks:
- 83
- Thanked:
- 8 times in 1 posts
June 24, 2015 at 4:43 am #575305…and how to REMOVE/DELETE from item page?
thanks
aris Friendaris
- Join date:
- April 2014
- Posts:
- 106
- Downloads:
- 27
- Uploads:
- 9
- Thanks:
- 83
- Thanked:
- 8 times in 1 posts
June 24, 2015 at 4:43 am #641635…and how to REMOVE/DELETE from item page?
thanks
aris Friendaris
- Join date:
- April 2014
- Posts:
- 106
- Downloads:
- 27
- Uploads:
- 9
- Thanks:
- 83
- Thanked:
- 8 times in 1 posts
June 24, 2015 at 4:43 am #740297…and how to REMOVE/DELETE from item page?
thanks
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
June 24, 2015 at 6:59 pm #575398Hi @palosutca,
1. To change the zoom level, please open file templatesja_directoryhtmlcom_k2directoryitem.php change the zoom attribute from 6 to 10
2. To remove map control, please add disableDefaultUI: true (make sure to add a comma at the end of line above it)
then open file /templates/ja_directory/css/custom.css (if you don’t have this file, just create a new one) and add this code :
.directory-aside #mapModal .modal-body:after {
content: "";
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}Hi @arsaf,
To remove it, open custom.css file above and add this code :
.directory-aside .directory-location {
display: none;
}-
1 user says Thank You to Adam M for this useful post
aris Friendaris
- Join date:
- April 2014
- Posts:
- 106
- Downloads:
- 27
- Uploads:
- 9
- Thanks:
- 83
- Thanked:
- 8 times in 1 posts
July 10, 2015 at 9:23 am #576943How to prevent the modal popup completely? I just want a small interactive map
Many thanks.
>>figured it out>>
Line 623 in the item file, change from
<div data-toggle="modal" data-target="#mapModal" id="ja-event-map" style="max-width: 100%; height: 200px;"></div>
To
<div id="ja-event-map" style="max-width: 100%; height: 200px;"></div>
July 10, 2015 at 9:23 am #643251How to prevent the modal popup completely? I just want a small interactive map
Many thanks.
>>figured it out>>
Line 623 in the item file, change from
<div data-toggle="modal" data-target="#mapModal" id="ja-event-map" style="max-width: 100%; height: 200px;"></div>
To
<div id="ja-event-map" style="max-width: 100%; height: 200px;"></div>
July 10, 2015 at 9:23 am #741906How to prevent the modal popup completely? I just want a small interactive map
Many thanks.
>>figured it out>>
Line 623 in the item file, change from
<div data-toggle="modal" data-target="#mapModal" id="ja-event-map" style="max-width: 100%; height: 200px;"></div>
To
<div id="ja-event-map" style="max-width: 100%; height: 200px;"></div>
AuthorPostsViewing 14 posts - 1 through 14 (of 14 total)This topic contains 14 replies, has 4 voices, and was last updated by superroo 9 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
JA Directory small map on Item page
Viewing 14 posts - 1 through 14 (of 14 total)