element list view 'replace with icons' issue

Status
Not open for further replies.

capoo

Namaste.
Dear Rob,

Thanks for your envision, commitment and dedication for the development and maintenance of such amazing Joomla component as Fabrik.

Unfortunately I'm still facing problems with the 'replace with icons' in my sites. Here follows the site configuration for the two problematic situations I'm facing. The icon replacement it's not working for both of them... even with the Joomla Default Template.

Thanks for your attention! Best regards.

Site A - Production site
Fabrik version 3.0.8
PHP Built On Linux br28.hostgator.com.br 3.2.45 x86_64
Database Version 5.5.23-55
Database Collation utf8_general_ci
PHP Version 5.3.27
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! VersionJoomla! 2.5.14 Stable [ Ember ] 01-August-2013 14:00 GMT
Joomla Platform Version 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT

Site B - Development/test site
Fabrik version 3.1b
PHP Built On Linux br28.hostgator.com.br 3.2.45 x86_64
Database Version 5.5.23-55
Database Collation utf8_general_ci
PHP Version 5.3.27
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.0.3 Stable [ Ember ] 04-February-2013 14:00 GMT
Joomla! Platform Version 12.2.0 Stable [ Neil Armstrong ] 21-September-2012 00:00 GMT
 
Hi
Sorry for the delay in replying - I'd simply missed this question (not sure how :()
Anyway, can you enter the site details on here please http://fabrikar.com/you/my-sites/ so we can look and see what the issue is.
We'd need to know which elements you are trying to use 'replace with icons' on, what data they store and what file names & paths you are using for the icons.

Cheers
Rob
 
Ok, Rob. the form it's filled.

The only thing is you will need an application such as Navicat Premium Mac OSX to connect to database. Let me know if that is a problem for you?

Best regards,
 
Just to let you know...

I have anoter site (Site C) - Production site wich is working fine

Fabrik version 3.0.7
PHP Built On Linux br28.hostgator.com.br 3.2.45 x86_64
Database Version 5.5.23-55
Database Collation utf8_general_ci
PHP Version 5.2.27
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! VersionJoomla! Joomla! 2.5.9 Stable [ Ember ] 4-February-2013 14:00 GMT
Joomla Platform Version 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT

I'll register also this one on mySites form .
 
thanks, but I still need to know which element you are trying to use replace icons on? Could you give me its id or fullname please, and which list it is assigned to?
 
Hello, Rob.


Thanks for your attention.

As you can see in the prior posts In two sites (A and B) I'm using the latest zips from GitHub updated manually. For the third site (C), I didn't updated neither Fabrik or Joomla.

Here follow listed the IDs and Full Element Names, without the table prefix(tbl_pfx) and grouped by lists):

Controle Acessos
  • ID158 - (tbl_pfx)_sv_acessos_internos___extensao_dec_perc
  • ID165 - (tbl_pfx)_acessos_internos___extensao_pav_perc
  • ID166 - (tbl_pfx)_acessos_internos___extensao_terraplanagem_perc
  • ID168 - (tbl_pfx)_sv_acessos_internos___extensao_ok_perc
Controle da Subestacao Elevadora
  • ID195 - (tbl_pfx)_sv_controle_see___ec01_perc
  • ID199 - (tbl_pfx)_sv_controle_see___ec02_perc
  • ID203 - (tbl_pfx)_sv_controle_see___ec03_perc
  • ID207 - (tbl_pfx)_sv_controle_see___ec04_perc
  • ID211 - (tbl_pfx)_sv_controle_see___ec05_perc
Controle Bases Aerogeradores
  • ID246 - (tbl_pfx)_sv_base_aerogerador___cbaeg_estacas_prog
Controle Rede Coletora Subterr?nes
  • ID276 - (tbl_pfx)_sv_rdi___crdi_escavacao_prog
  • ID281 - (tbl_pfx)_sv_rdi___crdi_lancabos_prog
  • ID286 - (tbl_pfx)_sv_rdi___crdi_reaterro_prog
  • ID291 - (tbl_pfx)_sv_rdi___crdi_ok_prog
* the name of elements are the same for sites A and C.

The most important at the moment is Site A (Super Vision Santos) at My Fabrik Sites Register.

Thanks again for your kind attention.
 
I've fixed the code for the calculation elements, couple of things in general...

seems you had copied and pasted the same php error :

PHP:
{$valor = "load_000"'; return $valor;}

should be

PHP:
{$valor = "load_000"; return $valor;}
(there was an extra ' in there

For calculations using placeholders its best to do this:

PHP:
$valor = (float) '{tablename___elementname}' / (float) '{tablename___elementname}' * 100;

that means that the code will work even if the data is null or something other than a number.
 
no worries, its hard to see the errors in the text editor in Fabrik 3.0 (its improved in 3.1 to use a proper code editor) And it took me a while to see the issue myself.

-Rob
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Staff online

Members online

Back
Top