giovedì 19 luglio 2012

Feeds Excel

Come segnalato qui


http://drupal.org/node/1512756

c'e' un bug nel modulo feeds Excel che consente l'importazione di file xls excel come nodi, per impedire che rimanga bloccata la schermata su import.

Su ExcelParser.Inc

Alla riga 97 va corretto == con ===


<?php
       
// Start off after the last element for known sheets.
     -  
if ($sheet_id == $last_sheet_id) {
     +   if ($sheet_id === $last_sheet_id) {
          $offset = $last_sheet_item + 1;
        }
       
// Start off at 0 for new sheets.
       
else {
         
$offset = 0;
        }
?>


Impostazioni per l'importazione di due linee

Sheets: 0,2
Fixed Range: vuoto
Iterative range: A1,F2

Nessun commento: