Forum - jschmidt-systemberatung.de

× php-RGraph und php-rgraph Joomla Content Plugin

CB substitution on Where statement

Mehr
2 Jahre 1 Monat her #1293 von D
CB substitution on Where statement wurde erstellt von D
Hi,

The where country_name='[cb_country]' doesn't seem to work although the error in the front-end shows the correct value: county_name='Brazil' which is the country of the specific user.
The [ ] is used by Community Builder as field substitution so it works for the specific user.
It is important to me as each graph will change according to the corresponding related table data for the specific user.

When  I explicitly use county_name='Brazil' it works fine.

Any ideas?

Thanks

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Jahre 1 Monat her - 2 Jahre 6 Tage her #1294 von jochen
jochen antwortete auf CB substitution on Where statement
hi,

this problem has nothing to do with php-rgraph, as rgraph processes sql statements from plugin-parms. It seems for me that Community Builder should have replaced values before php-rgraph's processing.    
Letzte Änderung: 2 Jahre 6 Tage her von jochen.
Folgende Benutzer bedankten sich: D

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Jahre 1 Monat her #1295 von D
Will try to evaluate the cause a bit further and talk to the Joomlapolis team.

Thanks

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Jahre 3 Wochen her #1296 von D
Hi,

You were right, the problem was in order. Changing plugins and loading CB before PHP-rgraph solved the issue.

By the way, is there a way to solve responsive issues somehow using a bars graph?

Thanks

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Jahre 3 Wochen her #1297 von jochen
jochen antwortete auf CB substitution on Where statement
hi,

php-rgraph has a responive parameter which may be defined globally via pugin parms or via php-graph plugin tag for a single chart..
With it  you define how chart should be displayed if browser size (client size) is changed or if you are using a device like smartphone or tablet with smaller screensizes
  Parameter consist of 3 values (separated by commas):
           1. scale factor for resizing chart's properties
           2. small client size
           4. large client size

eg.: responsive="0.3,600,1100"

For more info see my docs. about plugin parameters:  www.jschmidt-systemberatung.de/index.php...6&Itemid=659&lang=en
Folgende Benutzer bedankten sich: D

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Ladezeit der Seite: 0.183 Sekunden
Powered by Kunena Forum
Wir benutzen Cookies

Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbesssern. Auf keinen Fall werden persönliche oder vertrauliche Daten gespeichert oder weitergegeben.