Share » Forums » Developer » Implementing JPGraph into EzPublish

Implementing JPGraph into EzPublish

Implementing JPGraph into EzPublish

Monday 21 March 2005 9:02:02 am - 9 replies

Author Message

Ekkehard Dörre

Tuesday 22 March 2005 12:23:58 am

Hi Nabil,

allready done by Björn:
http://ez.no/community/contribs/3rd_party/extension_ezpowerlib_pubsvn

Feel free to post your results here.
Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Frederik Holljen

Tuesday 22 March 2005 12:26:04 am

I don't know JPGraph very well, but this sounds like a case where you would want to wrap JPGraph functionality inside either template functions or operators. Could you give a small typical example of JPGraph usage?

(interesting project btw..)

Frederik Holljen

Tuesday 22 March 2005 12:26:57 am

Ekkehard,

Cool, I didn't know.. thanks for letting me know.

Nabil Alimi

Tuesday 22 March 2005 1:36:15 am

Thanks to both of you.
I'll give a try to Björn work. :)

I'll post my results soon.

Frederik, is that what you wanted ? => http://starnab.free.fr/sondages/resultat.php?id=306

Greetings.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Ekkehard Dörre

Tuesday 22 March 2005 2:07:13 am

more examples at
http://www.aditus.nu/jpgraph/features.php

another tread:
http://ez.no/community/forum/developer/take_content_from_multiple_objects_and_put_it_into_one_array

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Nabil Alimi

Tuesday 22 March 2005 6:21:37 am

Well i'm still having trouble using this.
In fact, i didnt found any HOWTO in the .tar.gz file so I've tried by myself, with the other thread Ekkhard mentionned. But I still get the <i>Operator 'jpgraph' is not registered</i> error.
I've unpacked the Ezpowerlib package to my extension folder, added some modifications to the site.ini just as I have done for one other extension I needed (dont even know if it required.)

Is there a readme file about this somewhere ?

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Ekkehard Dörre

Tuesday 22 March 2005 7:54:12 am

you can look in other contributions with own template operator. There are some readmes.

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Jonathan Dillon-Hayes

Wednesday 23 March 2005 3:04:16 am

<i>Operator 'jpgraph' is not registered</i>

That's as far as I was able to get myself. I've used jp a lot in OO php projects, and never had and issue. But so far, no luck. Haven't put a lot of time into it however.

Anyone had more experience implementing jp?

Jonathan

---------
FireBright provides advanced eZ deployment with root access
http://www.FireBright.com/

source pixel

Thursday 12 July 2007 2:01:16 am

Hello! That 'jpgraph' would not write "Operator 'jpgraph' is not registered", You should download extension "ezpowerlibaddons", on this references "http://pubsvn.ez.no/community/trunk/extension/ezpowerlibaddons/".

<b>Somebody knows as to use "jpgraph()" in a template.</b> I have looked here this reference "http://ezpublish-france.org/index.php/fr/forums/questions_techniques/tableau_de_tableaux", the code there is shown.

The debugger writes nothing, displays empty png a file and more than anything.

And on this references "http://pubsvn.ez.no/community/trunk/extension/ezpowerlibaddons/kernel/common/templatejpgraphoperator.php" there is an example.

Example:
\code
Syntax:
{$data|jpgraph( hash(  function, "getDetails",
		   params, array('parameter1', $paramater1value, ...)
                   )
                )}
\endcode
*/

<b>Somebody can result a working example (simple example) use "jpgraph()" in a template.</b>

Excuse me for my bad English.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu