[solved]VM2Geolocator doesn't show on product page

More
7 years 7 months ago - 7 years 7 months ago #34879 by toto13
Concerning the unexpected token means in the console clicking on 1212-samsung-un32h520-detail:161 (on chrome), I disabled video custom field. Now I don't have this error.

When the video custom field was, you're right for the link, but it was a blank page without code.

Did you show other custom fields or custom fields plugin successfully on that product details page ?

Nope, there is no custom field.

I added a product on your demo vmvendor to compare and you're right I found out your div id="map"

On my website, there is no custom field. The plugin is loaded in vm back-end and add product page front-end but not in the product page front-end

Do you think this is virtuemart V3.0.17 the problem ? Should I use v3.0.16 ?
Last edit: 7 years 7 months ago by toto13.

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

More
7 years 7 months ago #34883 by nordmograph
Non , here it works fine on VM3.0.17

you can try setting a Layout position in the custom field settings, like ontop, onbot

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

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

More
7 years 7 months ago #34890 by toto13
I did with ontop and onbot but nothing appears.

In html code I have got nothing. On html product page Product field is empty.

<div class="product-fields">
<div class="clear"></div>
</div>

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

More
7 years 7 months ago #34891 by toto13
Please find Add product Page frontend user with vm2geolocator custom field.

Please find below, the html code for add product page :
<tr>
<th colspan="2">Product Custom Fields</th>
</tr>
<tr class="geolocator" style="background-color:#f7f7f7;">
<td>
Product Location
<i class="vmv-icon-location " title="Point the product location"></i>
</td>
<td>
<div id="map_canvas" style="height: 300px; position: relative; background-color: rgb(229, 227, 223); overflow: hidden;">
<div class="gm-style" style="position: absolute; left: 0px; top: 0px; overflow: hidden; width: 100%; height: 100%; z-index: 0;">
<div style="position: absolute; left: 0px; top: 0px; overflow: hidden; width: 100%; height: 100%; z-index: 0; cursor: url(" maps.gstatic.com/mapfiles/openhand_8_8.cur "), default;">
<div style="margin-left: 5px; margin-right: 5px; z-index: 1000000; position: absolute; left: 0px; bottom: 0px;">
<div style="background-color: white; padding: 15px 21px; border: 1px solid rgb(171, 171, 171); font-family: Roboto,Arial,sans-serif; color: rgb(34, 34, 34); box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.2); z-index: 10000002; display: none; width: 256px; height: 148px; position: absolute; left: 353px; top: 60px;">
<div class="gmnoprint" style="z-index: 1000001; position: absolute; right: 168px; bottom: 0px; width: 122px;">
<div class="gmnoscreen" style="position: absolute; right: 0px; bottom: 0px;">
<div class="gmnoprint gm-style-cc" style="z-index: 1000001; -moz-user-select: none; height: 14px; line-height: 14px; position: absolute; right: 96px; bottom: 0px;" draggable="false">
<div style="width: 25px; height: 25px; overflow: hidden; display: none; margin: 10px 14px; position: absolute; top: 0px; right: 0px;">
<div class="gm-style-cc" draggable="false" style="-moz-user-select: none; height: 14px; line-height: 14px; position: absolute; right: 0px; bottom: 0px;">
<div class="gmnoprint gm-bundled-control gm-bundled-control-on-bottom" style="margin: 10px; -moz-user-select: none; position: absolute; bottom: 107px; right: 28px;" draggable="false" controlwidth="28" controlheight="93">
<div class="gmnoprint" style="margin: 10px; z-index: 0; position: absolute; cursor: pointer; left: 0px; top: 0px;">
</div>

As you can see, I have got div id= "map_canvas" do you think I should get div id="map_canvas" instead div id ="map" for the frontend product page?
Attachments:

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

More
7 years 7 months ago #34894 by toto13
I cleaned up all virtuemart tables and did a fresh install, but always same thing.

I make a fresh reinstall of all joomla and I tell you.

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

More
7 years 7 months ago #34895 by nordmograph
Well set it online so I can help :)

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

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

Time to create page: 0.338 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.