You have bookmarked items
Jump To:
Viewing Topic "How to eliminate commas in custom attributes?"

7 Item(s)     Sort:  Newest Oldest

per page
 
  Post
Posted By: IG
Total Posts: 3
Joined Date: Mar 16, 2019

Hello.


I would like to eliminate commas after custom attributes (the ones signed in red). Which file must I modify to get it?

Thanks

Posted : Apr 9, 2019
Posted By: Alex Vas
Total Posts: 7
Joined Date: Jan 22, 2019


Also interested in this question. And how to display attributes in different places by specifying their code (alias).

Posted : Apr 10, 2019
Posted By: George Bara
Total Posts: 1350
Joined Date: Jun 17, 2013

Hi,

 

@IG You can remove the commas by editing components/com_jbusinessdirectory/classes/attributeservice.php and modify renderAttributesFront function.

@Alex Vas It is possible to display a single attribute based on the existing attributes. You can use function getAttributeAsString($attributes, $name)

Posted : Apr 10, 2019
Posted By: Alex Vas
Total Posts: 7
Joined Date: Jan 22, 2019

https://www.cmsjunkie.com/forum/how-to-print-custom-attributes-from-a-offer-in-listview/?p=1



I saw similar advice here, but it does not work for me. Could you give an example of the output. For example, if the attribute code is metro (the name in Russian is "Метро").


In general, I would like to see examples:
1 - Display only icons.
2 - Only values ​​without attribute name.


Perhaps in the documentation, or closed to subscribers of the forum.


Posted : Apr 10, 2019
Posted By: Alex Vas
Total Posts: 7
Joined Date: Jan 22, 2019


For more than 2 months I wrote about the incorrect work of the google map in the list, there were no buildings. Just endlessly you can wait for help in this matter. Frown

Posted : Apr 15, 2019
Posted By: George Bara
Total Posts: 1350
Joined Date: Jun 17, 2013

Hi,


The map configuration can be changed from code.
You can get the desired configuration from https://mapstyle.withgoogle.com/ and apply it on file components/com_jbusinessdirectory/assets/js/google-map.js on line 17.

Posted : Apr 15, 2019
Posted By: Alex Vas
Total Posts: 7
Joined Date: Jan 22, 2019


Well, that’s what I’ve been trying to explain in several tickets ([AJM-27696] BUILDINGS ON MAP for example one of them since January). And the problem was solved recently. 
So with the answer to similar questions about the attributes. Give an example, 33 messages per ticket ([FDD-63057] CODE ATTRIBUTE ) and no answer.
Posted : Apr 15, 2019

7 Item(s)     Sort:  Newest Oldest

per page
 

Viewing Topic "How to eliminate commas in custom attributes?"


      You have bookmarked items
Jump To:

Who is online

 
Users browsing this topic 1 logged customers:: 0 and guest 1 (based on users active over the past 5 minutes)