| hello everybody... just wrote my first post, quite long, all data gone... ![]() so, the short version: joomla great! using it since 2 weeks now, need help with: trying to hack the pdf button so it doesnt create a pdf of the content but allows me to download my own created pdf for this content, something like: if i am in SectionA:CategoryC:Content02 click on pdf-icon -> download CategoryC.pdf which i store in root/downloads/ if i am in SectionC:CategoryA:Content01 click on pdf-icon -> download CategoryA.pdf which i store in root/downloads/ ...so it always downloads the pdf with the name of the actual category! tried to do it by myself... too complicated, my PHP is not that good... tried to edit index2.php this way: Code: if ( $do_pdf == 1 ){ // displays Section & Category, but i need only Category ! $myCat = HTML_content::Section_Category( $row, $params ); $myFile = $mosConfig_absolute_path .'/downloads/'.$myCat.'.pdf'; ...and then somehow load $myFile into this window // original code: //include $mosConfig_absolute_path .'/includes/pdf.php'; //exit(); } how can i call the HTML_content class which is in content.html.php from index2.php ![]() or is there any other way? my head is smoking... i was trying the net, the forum... could anyone please have a look at it? thanks for any help or idea in advance!!! best regards, deeno |
Forum 





Author





Logged





