2 lists on same page and templates

arie

Member
Hi,
I've got a list using the bootstrap template and another list embeded though the outro using
Code:
{fabrik view=list id=2}

The 2 lists are correctly displayed.
However, if I modify the embeded (chamging layout) code by
Code:
{fabrik view=list id=2 layout=bootstrap_template}

I've got that nice Fatal error:
Fatal error: Cannot redeclare fabrik_pagination_item_active() (previously declared in .../components/com_fabrik/views/list/tmpl/bootstrap/default_pagination.php:101) in .../components/com_fabrik/views/list/tmpl/bootstrap_mycerfa/default_pagination.php on line 101
 
I've seen such an error when using a custom template which does not longer match the actual Fabrik code.

Compare /bootstrap_mycerfa/default_pagination.php
with
/bootstrap/default_pagination.php

I assume the condition
if (!function_exists('fabrik_pagination_item_active')) (about line 102)
is missing because your custom template is still the modified copy of the old bootstrap template.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top