Article en PDF

More
11 years 2 weeks ago #52103 by seabird
Article en PDF was created by seabird
Bonjour,

Est ce que phoca PDF fonctionne avec flexicontent pour générer un article en pdf ?

Merci,

Eric

Please Log in or Create an account to join the conversation.

More
11 years 2 weeks ago #52105 by ggppdk
Replied by ggppdk on topic Article en PDF
Hello

have not tested, if it is a content plugin , it should work


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
11 years 2 weeks ago #52106 by seabird
Replied by seabird on topic Article en PDF
Hello,

Yes , it's a content plugin.
I must put this code in template.
Code:
<?php $phocaPDF = false; if (JPluginHelper::isEnabled('phocapdf', 'content')) { include_once(JPATH_ADMINISTRATOR.'/components/com_phocapdf/helpers/phocapdf.php'); $phocaPDF = PhocaPDFHelper::getPhocaPDFContentIcon($this->item, $params); } ?> <?php echo $phocaPDF; ?>
www.phoca.cz/documents/47-phoca- ... e-joomla-3

But there is a problem with this component.
I have an error:
Fatal error: Call to a member function get() on a non-object in \administrator\components\com_phocapdf\helpers\phocapdf.php on line 87

I put a message in phoca forum.

Eric

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #58487 by AlainR
Replied by AlainR on topic Article en PDF
Bonjour.
Avez-vous réussi à le faire fonctionner?
Merci d'avance de votre écho!
Cdt,
AlainR

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #58521 by AlainR
Replied by AlainR on topic Article en PDF
re-bonjour.
Est-ce que FLEXIcontent ne gère pas nativement la génération de PDF?
Le descriptif de l'option "Afficher les icônes" indique "Affiche les icônes imprimer,email, PDF, etc... ou utiliser uniquement le texte" et le fichier /components/com_flexicontent/classes/flexicontent.helper.php contient la fonction "pdfbutton( $item, &$params)"
À quoi sert-elle ?
Merci d'avance pour l'aide.
Cdt.

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #58561 by micker
Replied by micker on topic Article en PDF
non flexi utilisait la fonction pdf de joomla 2.5, elle a été retirée => donc plus de pdf pour flexi non plus

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #58562 by AlainR
Replied by AlainR on topic Article en PDF
:(

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago - 10 years 2 months ago #58566 by ggppdk
Replied by ggppdk on topic Article en PDF
Hello

$params does not exist inside the flexicontent template files,
(if you enable Joomla error reporting paramter inside Joomla Global configuration), then you will get a warning that it does not exist
instead use: $this->params

so it should look as written above with this change
Code:
<?php $phocaPDF = false; if (JPluginHelper::isEnabled('phocapdf', 'content')) { include_once(JPATH_ADMINISTRATOR.'/components/com_phocapdf/helpers/phocapdf.php'); $phocaPDF = PhocaPDFHelper::getPhocaPDFContentIcon($this->item, $this->params); } ?> <?php echo $phocaPDF; ?>


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!
Last edit: 10 years 2 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #58579 by ggppdk
Replied by ggppdk on topic Article en PDF
Hello

please see my above post and test

also, i have installed the component and content / system plugins,
- will test the code needed for flexicontent templates
and if it works, then will make a new FAQ article for this,


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago - 9 years 5 months ago #63909 by charlynancy
Replied by charlynancy on topic Article en PDF
Hi Georgios,
i'm trying to implement this function;
But the code to add in the template changed.
it is now :
Code:
<?php $phocaPDF = false; if (JPluginHelper::isEnabled('phocapdf', 'content')) { include_once(JPATH_ADMINISTRATOR.'/components/com_phocapdf/helpers/phocapdf.php'); $phocaPDF = PhocaPDFHelper::getPhocaPDFContentIcon($displayData['item'], $displayData['params']); } ?>
That produce the same error : "0 Call to a member function get() on null"
Could you look at the code above and help me to fix that.
So i could test this new function and write a new faq article about that.
Here is the help page on Phoca site
Here is the help page on Phoca site
Last edit: 9 years 5 months ago by charlynancy.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save