I just tried installing PDFView 5.x-1.1 on my Drupal 5.1 site.
The installation firections were pretty sketchy for a tyro like me. In particular, the instruction to:
5) Set K_PATH_MAIN constant in tcpdf/config/tcpdf_config.php
is unclear to me - I can find the constant, but to what do I set it?
I did the best I could, but still got and continue to get this error:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /webroot/s/g/sgamm001/www/HarnWriters/modules/pdfview/tcpdf/tcpdf.php on line 95
Of course it is possible that the aforementioned Step 5 is not the problem - maybe I got it right and the error is somewhere else, but then I am really lost.
I appreciate any help.
Comments
Comment #1
jsgammato commentedSOLVED - I was pointing to php4 and expecting php5. I turned on php5 at my hosting and now all seems to be well.
Now if I could only figure out how to generate a 2-column PDF...
Comment #2
Egon Bianchet commentedIt's not possible to have 2 columns yet, you have to override the theme_pdfview_node function in your theme and use the tcpdf api to code it yourself
Comment #3
jsgammato commentedOh my goodness!
That is surely beyond my abilities. I can be patient and home someone smarter than I can make it work someday.
Thank you!
Comment #4
(not verified) commented