clarification on custom fields display properties

  • Posts: 490
  • Thank you received: 2
8 years 1 month ago #251440

-- HikaShop version -- : 2.6.3
-- HikaMarket version -- : 1.7.0
-- Joomla version -- : 3.4
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : none

hi

can you please clarify how to use the display properties for the custom fields?

i created a menu for vendor listing and added a custom field for the vendors. i dont want it to appear on the listing but i want to display it on the vendor page.

i tried to set "no" for vendor listing but its still on the FE list.

what to do?

thanks

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 1 month ago #251447

Hi,

In the configuration of your custom field, you will see "display" settings.
In these settings, you will see "vendor page" and "vendor listing".

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 490
  • Thank you received: 2
8 years 1 month ago #251688

hi thank you

i think i missed something

i disabled or set to no display > vendor listing > no. Yet my custom field named "mobile no" still appears in the front end.

vendor list



setting of custom field


thanks

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 1 month ago #251696

Hi,

Please be more specific ; the screenshot do not explain where it has been taken.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 490
  • Thank you received: 2
8 years 1 month ago #251806

thank you, let me clarify please.

i created a custom field for vendors. it is called mobile no. i want this to behave as follows

1. vendor page = visible > this is ok
2. vendor listing = invisible > this is not ok
3. vendor edition page = visible > ok
4. vendor registration = visible > ok

the photo above displays the configuration of the display for the field. Vendor listing is set to no, with red box. the other photo is the menu for the vendor listing. It still displays the mobile no field with data. It is suppose to be hidden.

what to do please?

thanks

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 1 month ago #251807

Hi,

I think we will need a link in order to see what listing you're talking about.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: ronron

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

  • Posts: 490
  • Thank you received: 2
8 years 1 month ago #251838

This message contains confidential information


thank you,here it is...

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 1 month ago #251846

Hi,

I see, you have a vendor listing in table ! Thanks !
So first, please sure that you do not have any override for your view "vendormarket / listingcontainer_table".

Temporally, in the file "components/com_hikamarket/views/vendormarket/view.html.php", replace :

	$vendorFields = null;
	$extraFields = array(
		'vendor' => $fieldsClass->getFields('frontcomp', $vendorFields, 'plg.hikamarket.vendor')
	);
By
	$vendorFields = null;
	$extraFields = array(
		'vendor' => $fieldsClass->getFields('display:vendor_listing=1', $vendorFields, 'plg.hikamarket.vendor')
	);
And then the custom field will be filtering.

There is a pending code which will provide "extraFields" and "displayFields" to the views so they will be able to access to all fields even if they should not be displayed in the listing ; so the view "listingcontainer" will use "displayFields" instead of "extraFields" when the pending code will be merged.
Even if you're modifying a core file, in the next HikaMarket release, that issue (and the table view) will be fixed.
But I have to admit that with the work on HK3 ; I forgot that I got that issue in my tracker..

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: ronron

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

Moderators: Obsidev
Time to create page: 0.077 seconds
Powered by Kunena Forum