[SOLVED, enable only FLEXIcontent adv search plugin] FC fields not showing in search view since 3.0.8 update

More
9 years 2 months ago - 9 years 1 month ago #57450 by Natwork
Hi,
On a website i udpate J3.4.3 to 3.4.4 and FC2.2.0 to FC3.0.8.
Since this update, i can't see any FC field in the search view.

Regarding to the generated source code, fields are detected but not rendered, and there is no trace of image field.

In details, i have
A - Image field (FC) renders nothing (not even an empty container)
B - Text fields are detected, but not the content

This code from default_results.php
Code:
<?php foreach ($infoflds as $fieldname) : ?> <div class="fc_field_container <?php echo $fieldname; ?>"> <?php if ( @$fcitems[$i]->fields[$fieldname]->display ) : ?> [....] <?php endif; ?> </div> <?php endforeach; ?>
Renders
Code:
<div class="fc_field_container my_field1_name"></div> <div class="fc_field_container my_field2_name"></div>

I'm accessing this search view by using FC search module; i cleared all caches, purged indexes, menu item link is OK, FC serach view is set on the good item link, indexes are re-generated, fields are indexed in basic and advanced search, and can be used as filters...

Any idea why i got this problem, and how to solve it?
Last edit: 9 years 1 month ago by ggppdk.

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

More
9 years 2 months ago #57453 by ggppdk
Hello

are you using a joomla template override for file:
default_results.php


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
9 years 1 month ago - 9 years 1 month ago #57487 by Natwork
Yes, but when i remove it (by renaming template's folder "search") or replace it with the original default_results.php, the problem remains...

My template overrides default.php, default_form.php and defaut_results.php
Last edit: 9 years 1 month ago by Natwork. Reason: Adding more informations and corrections

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

More
9 years 1 month ago #57496 by ggppdk
Hello

are you using a different Joomla template for the search menu item,

can you check if you have the template override in another Joomla template that is used for the search menu item ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
9 years 1 month ago #57497 by Natwork
Hello,

I checked and it's OK : Search menu item got the same template than other items.

Every params seems OK too :
- "use image" is on YES
- "display fields" is on YES
- fields are written in the "Fields" text field.
- I set "Searchable Types" with two types

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

More
9 years 1 month ago #57498 by ggppdk
Hello

1. make sure that the search results are FC results,
e.g. if you have enable Joomla article(content) search plugin the records that you see are not FC, plus you will get duplicate results

2. make sure that if you see ITEM A, that the fields are assigned to the Contet Type of item A,
in v3, if a field is not assigned to a type then it will not be shown, this was a bahaviour bug of v2.2.x

3. The parameter to add extra fields is (switch to backend english):
Display Fields (Render their HTML)
have you added fields in this parameter or in some other parameter ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
The following user(s) said Thank You: Natwork

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.883 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline