startpoint
Active Member
I know about trivial way to customize standard elements from this thread:
http://fabrikar.com/forums/index.php?threads/ajaxify-list-navigation.26043/#post-138595,
Would you variant to customize json string before replacing standard html list. I tried with list_X.js file, but what I want to change is updated with results from Ajax and the code does not work.
I tried to create my own custom list template based on div list template with custom element code, but I have problem. After list loaded all div blocks updated with first block with first id.
My code for example:
Video with the problem:
https://www.screencast.com/t/KEKo4w7KA4a
http://fabrikar.com/forums/index.php?threads/ajaxify-list-navigation.26043/#post-138595,
Would you variant to customize json string before replacing standard html list. I tried with list_X.js file, but what I want to change is updated with results from Ajax and the code does not work.
I tried to create my own custom list template based on div list template with custom element code, but I have problem. After list loaded all div blocks updated with first block with first id.
My code for example:
PHP:
<?php
/**
* Fabrik List Template: Div Row
* Note the div cell container is now generated in the default template
* in FabrikHelperHTML::bootstrapGrid();
*
* @package Joomla
* @subpackage Fabrik
* @copyright Copyright (C) 2005-2016 Media A-Team, Inc. - All rights reserved.
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
*/
// No direct access
defined('_JEXEC') or die('Restricted access');
$id= $d=@$this->_row->data->table_name___id;
?>
<span class="title"> <?php echo '<p>table_name___id: ' . $id. '</p>'; ?> </span>
Video with the problem:
https://www.screencast.com/t/KEKo4w7KA4a