i have a suggestion, include a menu id or category, to force when we select a filter out of flexi categories? You understand right?
EDIT:
i try implement my ideas, one of them is the force menu id.
I put some code working with sef, but no repecting (for now) validation in your code.
In Xml:
Code:
<field name="" type="separator" default="Teste" level="level1" menu="hide" />
<field name="force_id" type="text" default="" label="Force ID MENU" description="" />
In default.php (tmpl):
Code:
<?php
//IS sef or not
$conf = &JFactory::getConfig();
$is_sef = $conf->get('sef');
// Force Menu ID
$force_id = $params->get('force_id');
$menu = JSite::getMenu();
$menu_id_force_name = $menu->getItem($force_id)->alias;
$menu_active = $menu->getActive()->alias;
echo $cid;
if($is_sef == 1)//use sef
{
if($isflexicat == 1)
{
$form_target = $menu_active;
}
else
{
$form_target = $menu_id_force_name;
}
}
else //no use sef
{
$form_target = "index.php?option=com_flexicontent&view=category&cid=". $cid ."&Itemid=204";
}
?>
Is no complete, i share with you this "idea" to help. If you wish, use the code, change him, whatever
EDIT2:
The new version of filter, in module filter config, the option Single or Default Category have a bug. You choose the category but when you save, category disappear, and the field on website, goes every time to the first category, probably because he never take the id of default category (?).
One more, when you are in category, you filter by something, and click the menu to that category, the link clean the filter_X=Y, but the last result of last filtering stay