[Skip to main content](#vessel-content)

#   questions of custom fields

##

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

5 years 8 months ago -  5 years 8 months ago [\#330826](#330826) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  *[questions of custom fields](/forum/32-content-creation/902178-questions-of-custom-fields#330826 "-- HikaShop version -- : 4.3.0.0 -- Joomla version -- : 3.9 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : none  hi  im using custom fields to display a google map.  custom fields is wysiwyg, this is working fine.  my problem is displaying the map on a different location of the page. im using this code to call the map on the view product show&#95;default  i don't want to display the map custom field on the right part. i want it on the bottom part.  Can you kindly give me the code to get the wysiwyg editor custom field and not just the content of the field?  thanks")* was created by *[ronron](/forum/user/40399-ronron "View ronron's Profile")*

-- HikaShop version -- : 4.3.0.0
-- Joomla version -- : 3.9
-- PHP version -- : 7
-- Error-message(debug-mod must be tuned on) -- : none

hi

im using custom fields to display a google map.

custom fields is wysiwyg, this is working fine.

my problem is displaying the map on a different location of the page.
im using this code to call the map on the view product show_default
Code:

&lt;?php echo '&lt;div class="custom_field_bottom"&gt;&lt;i class="fas fa-map-marker-alt fa-lg"&gt;&lt;/i&gt; Amenities &lt;/div&gt;'. $this-&gt;row-&gt;map; ?&gt;

i don't want to display the map custom field on the right part. i want it on the bottom part.

Can you kindly give me the code to get the wysiwyg editor custom field and not just the content of the field?

thanks

Last edit: 5 years 8 months ago by [ronron](/forum/user/40399-ronron "View ronron's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vOTAyMTc4LXF1ZXN0aW9ucy1vZi1jdXN0b20tZmllbGRzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

5 years 8 months ago [\#330831](#330831) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[questions of custom fields](/forum/32-content-creation/902178-questions-of-custom-fields#330831 "-- HikaShop version -- : 4.3.0.0 -- Joomla version -- : 3.9 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : none  hi  im using custom fields to display a google map.  custom fields is wysiwyg, this is working fine.  my problem is displaying the map on a different location of the page. im using this code to call the map on the view product show&#95;default  i don't want to display the map custom field on the right part. i want it on the bottom part.  Can you kindly give me the code to get the wysiwyg editor custom field and not just the content of the field?  thanks")*

Hi,

I'm not sure what you mean by "the wysiwyg editor custom field".
If you want a field that can be edited / modified on the product page thanks to a WYSIWYG editor, then you probably want to use a custom field of the table "item" and not "product".

But I suspect that it's not what you want, but that instead, your issue is something else. But I don't know what it is.
Could you maybe illustrate what you want with some screenshots ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vOTAyMTc4LXF1ZXN0aW9ucy1vZi1jdXN0b20tZmllbGRzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

5 years 8 months ago -  5 years 8 months ago [\#330851](#330851) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[questions of custom fields](/forum/32-content-creation/902178-questions-of-custom-fields#330851 "-- HikaShop version -- : 4.3.0.0 -- Joomla version -- : 3.9 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : none  hi  im using custom fields to display a google map.  custom fields is wysiwyg, this is working fine.  my problem is displaying the map on a different location of the page. im using this code to call the map on the view product show&#95;default  i don't want to display the map custom field on the right part. i want it on the bottom part.  Can you kindly give me the code to get the wysiwyg editor custom field and not just the content of the field?  thanks")*

hi nic

thanks for the quick reply and sorry forgot the ss.

Please see attached it.

This is the custom field configuration
[ ![AffordableCondosinManila-Administration-Fieldmap2021-03-1623-50-25.jpg](/forum/attachment/52313) ](/forum/attachment/52313 "...1623-50-25.jpg")

This is the url of the page [ affcon.net](https://affcon.net/rent/regular-bare/2-br-inner/product/297-condo-for-rent-in-mandaluyong-fully-furnished-2-bedroom-2-bathroom-with-swimming-pool-and-nearby-shopping-malls-at-ga-tower-1-condominium)
As you can see google map is working fine but It is displayed on the right side of the page. i want it to appear below and not on the right. i used php but the result is not the map but the code plugin

[ ![CondoForRentInMandaluyongFullyFurnished2Bedroom2BathroomWithSwimmingPoolandNearbyShoppingMallsatGATower12021-03-1700-03-55.jpg](/forum/attachment/52317) ](/forum/attachment/52317 "...1700-03-55.jpg")

this is another ss

[ ![CondoForRentInMandaluyongSemiFurnished2Bedroom2BathroomWithJacuzziAreaandNearbyUniversityatGATower1Condo2021-03-1614-50-54&#95;2021-03-16.jpg](/forum/attachment/52314) ](/forum/attachment/52314 "...2021-03-16.jpg")

This is hikashop config
[ ![AffordableCondosinManila-Administration-Configuration2021-03-1623-54-51&#95;2021-03-16.jpg](/forum/attachment/52316) ](/forum/attachment/52316 "...2021-03-16.jpg")

- [ ![AffordableCondosinManila-Administration-Fieldmap2021-03-1623-50-25.jpg](/forum/attachment/52313) ](/forum/attachment/52313 "...1623-50-25.jpg") [ ](/forum/attachment/52313?download=1 "...1623-50-25.jpg")
- [ ![CondoForRentInMandaluyongSemiFurnished2Bedroom2BathroomWithJacuzziAreaandNearbyUniversityatGATower1Condo2021-03-1614-50-54&#95;2021-03-16.jpg](/forum/attachment/52314) ](/forum/attachment/52314 "...2021-03-16.jpg") [ ](/forum/attachment/52314?download=1 "...2021-03-16.jpg")
- [ ![AffordableCondosinManila-Administration-Configuration2021-03-1623-54-51&#95;2021-03-16.jpg](/forum/attachment/52316) ](/forum/attachment/52316 "...2021-03-16.jpg") [ ](/forum/attachment/52316?download=1 "...2021-03-16.jpg")
- [ ![CondoForRentInMandaluyongFullyFurnished2Bedroom2BathroomWithSwimmingPoolandNearbyShoppingMallsatGATower12021-03-1700-03-55.jpg](/forum/attachment/52317) ](/forum/attachment/52317 "...1700-03-55.jpg") [ ](/forum/attachment/52317?download=1 "...1700-03-55.jpg")

Last edit: 5 years 8 months ago by [ronron](/forum/user/40399-ronron "View ronron's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vOTAyMTc4LXF1ZXN0aW9ucy1vZi1jdXN0b20tZmllbGRzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

5 years 8 months ago [\#330853](#330853) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[questions of custom fields](/forum/32-content-creation/902178-questions-of-custom-fields#330853 "-- HikaShop version -- : 4.3.0.0 -- Joomla version -- : 3.9 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : none  hi  im using custom fields to display a google map.  custom fields is wysiwyg, this is working fine.  my problem is displaying the map on a different location of the page. im using this code to call the map on the view product show&#95;default  i don't want to display the map custom field on the right part. i want it on the bottom part.  Can you kindly give me the code to get the wysiwyg editor custom field and not just the content of the field?  thanks")*

Hi,

Ok, so your question is about how to handle the display of a custom field so that the content tag in it is properly replaced by the corresponding plugin.

That's quite simple. Instead of:
$this-&gt;row-&gt;map
you need to use:
JHTML::_('content.prepare', $this-&gt;row-&gt;map)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vOTAyMTc4LXF1ZXN0aW9ucy1vZi1jdXN0b20tZmllbGRzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.082 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
