Offering to download a file (PDF) autogenerated in a View - Joomla! Forum - community, help and support


hello!

i'm aware perhaps more of php related question (sorry, i'm new on this), hoping perhaps find here.

i'm developing component , added new view offering information database in pdf file that's generated php.

the problem have pdf stored in buffer while it's being generated , intended displaying "echo" buffer , add header treated pdf browser.

this works fine if in external php file dummy content doesn't use joomla tables.
however, when i'm doing inside joomla (in view), content display processed joomla , result html file pdf content displayed inside text. also, eating lot of memory consequence of processing, guess.

is there way can display content of buffer variable view in autogenerated separate download?

thank you!!

--
fernando

are trying write file pdf? why not use built in mechanisms in joomla?

http://docs.joomla.org/understanding_ou ... tput_types

give look, easier starting scratch. think trying do.





Comments

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support