Hi,
I am currently migrating that website from Joomla 2.5.8 to 3.3.6 and thus migrating Cobalt from 7 to 8.
I am having trouble migrating this page, due to the search form.
What was done before (J2.5):
- in Sections, mySection, General parameters, Templates, we had custom_filters_tpl set for Filters template
- in Types, Fields, myField, we had enable filter set to Yes
- in default_markup_myApp_articles.php, we had the code
<?php if($this->section->params->get('general.tmpl_filters')):?>
<?php echo $this->loadTemplate('filters_'.$this->section->params->get('general.tmpl_filters', 'default'));?>
<?php endif;?>
- a custom template default_filters_myFilter.php looped on
$this->filters
Now (J3.3):
- filters templates are not longer available in Sections, mySection, General parameters, Templates
- Types, Fields, myField still has enable filter set to Yes
- default_markup_myApp_articles.php adminForm form is updated (copied from default_markup_default.php)
And I have no idea what to do next.
Right now, no filter is displayed on the page, and in $markup, I can see
public 'filters' =>
object(stdClass)[818]
public 'filters' => string '0' (length=1)
I have tried using Cobalt Filters Module module (not sure it is made for what I need) and I have created a module for mySection but it has not effect.
Could you please help me:
- how to link the fields I want to filter on to $markup->filters->filters?
- how to call the custom filter template default_filters_myFilter.php?
Thank you for any help you can provide.
Hi,
I am currently migrating that website from Joomla 2.5.8 to 3.3.6 and thus migrating Cobalt from 7 to 8.
I am having trouble migrating this page, due to the search form.
What was done before (J2.5):
$this->filters
Now (J3.3): - filters templates are not longer available in Sections, mySection, General parameters, Templates - Types, Fields, myField still has enable filter set to Yes - default_markup_myApp_articles.php adminForm form is updated (copied from default_markup_default.php)
And I have no idea what to do next.
Right now, no filter is displayed on the page, and in $markup, I can see
I have tried using Cobalt Filters Module module (not sure it is made for what I need) and I have created a module for mySection but it has not effect.
Could you please help me:
Thank you for any help you can provide.