Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [Jagerman] Exporting PM's

Quote Reply
Re: [Jagerman] Exporting PM's In reply to
Thanks, however I can't get it to work Frown I just get an error from the server ("..there was an error..."), when I click on the export to csv link.

This is from my Data.pm code, I've put everything in single quotes as all the other actions seemed to be quoted

'functions' => {
'export_pm_csv' => {
'action' => 'function',
'customizable' => {
'description' => '1',
'min_user_status' => '1',
'user_groups' => '1'
},
'description' => 'Exporting private messages to CSV',
'function' => 'GForum::Custom::export_pm_csv',
'min_user_status' => '2'
},
'add_word' => {

...
...

I've simplified the Custom.pm file down as much as I could, but it still gives the same error

package GForum::Custom;

sub export_pm_csv {

return;
}

interestingly (or maybe not intertestingly), if I remove the word return; from the above, I get an error message

A fatal error has occurred:
GT::Template::Parser (2729): Unable to locate template file 'GForum::Custom' in '/home/.sites/112/site7/web/cgi-bin/admin/templates/default/../common' or any inheritance directories at GT::Template::_compile_template line 669.

Please enable debugging in setup for more details.

Any suggestions ?

Subject Author Views Date
Thread Exporting PM's davidnavigator 5910 Jun 15, 2004, 9:36 AM
Thread Re: [davidnavigator] Exporting PM's
Jagerman 5747 Jun 16, 2004, 2:05 PM
Thread Re: [Jagerman] Exporting PM's
davidnavigator 5751 Jun 18, 2004, 10:44 AM
Thread Re: [davidnavigator] Exporting PM's
Jagerman 5736 Jun 21, 2004, 11:58 AM
Thread Re: [Jagerman] Exporting PM's
davidnavigator 5726 Jun 22, 2004, 9:11 AM
Thread Re: [davidnavigator] Exporting PM's
davidnavigator 5701 Jul 6, 2004, 6:30 AM
Thread Re: [davidnavigator] Exporting PM's
davidnavigator 5690 Jul 13, 2004, 6:40 AM
Thread Re: [davidnavigator] Exporting PM's
Jagerman 5662 Jul 23, 2004, 4:40 PM
Post Re: [Jagerman] Exporting PM's
davidnavigator 5650 Jul 29, 2004, 4:36 AM