filter table in vizualization can have columns in any way?

zorzis

Member
hello,
i want to ask if there any chance in vizualization the filter table above the map, if it could be horizontal and have columns so no to take all the webpage height with so many elements?
 
hi You can do this by editing the html for the visualizations
The best way to do that would be to copy the folder
plugins/fabrik_visualization/googlemap/views/googlemap/tmpl/default
and rename it to default-horiz

then edit the default_filter.php file and replace with something like this:

PHP:
<?php
/**
 * Bootstrap Google Map Viz Filter Template
 *
* @package      Joomla.Plugin
* @subpackage   Fabrik.visualization.googlemap
* @copyright    Copyright (C) 2005 Fabrik. All rights reserved.
* @license      GNU General Public License version 2 or later; see LICENSE.txt
*/

defined('_JEXEC') or die('Restricted access');

if ($this->showFilters) :
?>
<form method="post" name="filter" action="<?php echo $this->filterFormURL; ?>">
<?php
    foreach ($this->filters as $table => $filters) :
        if (!empty($filters)) :
        ?>
        <table class="filtertable table table-striped">
        <thead>
        <tr>
              <?php
            foreach ($filters as $filter) :
                $required = $filter->required == 1 ? ' class="notempty"' : '';
                ?>
                <td<?php echo $required; ?>>
                    <?php echo $filter->label; ?>
                </td>
                <?php
            endforeach;
            ?>
          </tr>
      </thead>

      <tfoot>
          <tr>
              <th colspan="<?php echo count($filters) - 1; ?>" style="text-align:right">
                  <a href="#" class="clearFilters">
                      <?php echo JText::_('CLEAR'); ?>
                  </a>
              </th>
              <th style="text-align:right;">
                  <input type="submit" class="btn btn-primary" value="<?php echo JText::_('GO') ?>" />
              </th>
          </tr>
      </tfoot>

      <tbody>
          <tr>
            <?php
            $c = 0;
            foreach ($filters as $filter) :
            ?>
            <td>
                <?php echo $filter->element ?>
            </td>
            <?php
            endforeach;
            ?>
        </tr>
      </tbody>

    </table>
    <?php
    endif;
endforeach;
?>
</form>
<?php
endif;
 
i would like to ask if any vizualization module is possible for front end.
cause i would like to use the google map viz in the new responsive design templates that take full width of the webpage (not the template full width) and if using it as main body position it cannot take the full width in any way. only as module.
so is this something can be done? like tha list and form?

or if there is anyway to make the viz as it is to take the full width ( i explain my self, not the template full width but the screen full width depending in what screen it is showing).
I think that for the map viz is a really good feature, as it is nice with the new improvments of design rob made, to can take the full width. maybe this also can be for lists too.
 
i would like to ask if any vizualization module is possible for front end.
you can achieve this using the custom html module and the fabrik content plugin. You just have to turn on the module's 'Prepare Content' option. and add

Code:
{fabrik view=visualization id=1}
 
ok this is correct ;)
is there any way to make the filter-search table in the google map viz, to be at the left side of the map and not above the map?
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top