[Update template] Select fields no longer working

More
9 years 11 months ago #51046 by piperchick
Hello,

I have upgraded my site and template and my select boxes are no longer working. They allow me to scroll through and make a selection, but nothing happens.

Site: deadcanadians.ca/index.php/cemeteries2/ontario

FLEXIcontent version 2.2.0 stable
Joomla! version, 3.3.6.

I have gone back to the old template to see if that was the problem (which was a tip given in another forum post), but that doesn't seem to be the issue.

Thanks.

Lovin' FLEXIcontent at deadcanadians.ca
Dead Canadians: where are they now?

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

More
9 years 11 months ago #51057 by ggppdk
Hello

did you click "Refresh" on the page (if firebug is installed the drop down may get empty) ?

try opening page without clicking refresh



-- in latest v2.2.x_stable branch, we have updated select2 JS to latest

you may try to zip/download and install the v2.2.x_stable branch

github.com/FLEXIcontent/flexico ... 2.x_stable

backup first


-- 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 10 months ago #51437 by piperchick
Thanks for the tip, but it didn't fix the issue. I cleared my cache and re-started my browser.

I tried a different template and different browsers.

Thanks,

Stephanie

Lovin' FLEXIcontent at deadcanadians.ca
Dead Canadians: where are they now?

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

More
9 years 10 months ago #51439 by ggppdk
Hello

hhmm, the filtering has changed a lot since v1.5.x days
e.g. we have check, radio, text ranges, drop-down ranges, date picker, checkbox-image, etc displays, item conting, and many search/filter/alpha FORM options


the templates needs to be updated


1. Edit all non-built in template file:
category_items.php

and replace:
Code:
<?php if ((($this->params->get('use_filters', 0)) && $this->filters) || ($this->params->get('use_search')) || ($this->params->get('show_alpha', 1))) : ?> <form action="<?php echo $this->action; ?>" method="post" id="adminForm"> ... ... ... </form> <?php endif; ?>
with:
Code:
<?php ob_start(); // Form for (a) Text search, Field Filters, Alpha-Index, Items Total Statistics, Selectors(e.g. per page, orderby) // If customizing via CSS rules or JS scripts is not enough, then please copy the following file here to customize the HTML too include(JPATH_SITE.DS.'components'.DS.'com_flexicontent'.DS.'tmpl_common'.DS.'listings_filter_form.php'); $filter_form_html = trim(ob_get_contents()); ob_end_clean(); if ( $filter_form_html ) { echo '<div class="group">'."\n".$filter_form_html."\n".'</div>'; } ?>


2. then edit component configuration and in the "Content Lists" TAB, find the search/filter/Alpha options and customize the display of the new form


e.g. i updated template:
cemetery_category


-- 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 10 months ago #51489 by piperchick
Duh! I didn't even think to test that!

Thank you so much for leading me in the right direction and providing a working example.

As always, you are awesome!

Lovin' FLEXIcontent at deadcanadians.ca
Dead Canadians: where are they now?

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.306 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