Importing an Excel table

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
moorezilla

Re: Importing an Excel table

Post by moorezilla »

Nice! Thanks a lot!

I'll try this out tomorrow!

am

Update: Tried this out. It works perfectly! Thank you very much for your help on this.
Last edited by moorezilla on Fri Jun 01, 2007 1:33 am, edited 1 time in total.
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: Importing an Excel table

Post by Gregor »

Hi,

I followed the mentioned procedure. I'm on cmsms version 1.1.3.1

If I go to Extentions -> Tag I see the following error:
Warning: Cannot modify header information - headers already sent by (output started at /home/wsvherking/domains/wsv-herkingen.nl/public_html/plugins/function.csv.php:126) in /home/wsvherking/domains/wsv-herkingen.nl/public_html/lib/classes/class.admintheme.inc.php on line 161

Warning: Cannot modify header information - headers already sent by (output started at /home/wsvherking/domains/wsv-herkingen.nl/public_html/plugins/function.csv.php:126) in /home/wsvherking/domains/wsv-herkingen.nl/public_html/lib/classes/class.admintheme.inc.php on line 164

Warning: Cannot modify header information - headers already sent by (output started at /home/wsvherking/domains/wsv-herkingen.nl/public_html/plugins/function.csv.php:126) in /home/wsvherking/domains/wsv-herkingen.nl/public_html/lib/classes/class.admintheme.inc.php on line 167

Warning: Cannot modify header information - headers already sent by (output started at /home/wsvherking/domains/wsv-herkingen.nl/public_html/plugins/function.csv.php:126) in /home/wsvherking/domains/wsv-herkingen.nl/public_html/lib/classes/class.admintheme.inc.php on line 168

Warning: Cannot modify header information - headers already sent by (output started at /home/wsvherking/domains/wsv-herkingen.nl/public_html/plugins/function.csv.php:126) in /home/wsvherking/domains/wsv-herkingen.nl/public_html/lib/classes/class.admintheme.inc.php on line 171

Warning: Cannot modify header information - headers already sent by (output started at /home/wsvherking/domains/wsv-herkingen.nl/public_html/plugins/function.csv.php:126) in /home/wsvherking/domains/wsv-herkingen.nl/public_html/lib/classes/class.admintheme.inc.php on line 176
The tag I used is

Code: Select all

{csv file='Uitslag_Mosselwedstrijd_2007.csv' path='uploads/documenten/Mosselwedstrijd' delimiter='semicolon' border='1' cellpadding='2'}
The page with output looks like table... http://www.wsv-herkingen.nl/index.php?page=test

No sorttable table. Any suggestions to solve it?

Thanks,
Gregor
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: Importing an Excel table no luck [SOLVED]

Post by Gregor »

I solved the "header information error"; at the end of the function.csv.php there were two blanc lines. After removing these lines, the errors where gone.

The help in the function might be confusing, because as seperator value one needs to place
delimiter=';'
when using a ; as seperator between the cells.


Gregor
Last edited by Gregor on Tue Oct 02, 2007 9:19 pm, edited 1 time in total.
Locked

Return to “CMSMS Core”