J-BusinessDirectory - How do I edit the Adress Line (SOLVED)

Support Forum

 
 

 

Hi, George

I'm from South America and the address format is a little different down here. 

So, I'm trying to format the adress line to format that I need. My page settings is the "one page layout", and I've changed some lines at code (default_onepage.php), what was useful. 

I need to insert hyphens instead commas, change the zip code position and break the line - show the adress in two lines, but I don't know where I can change it.

Thanks for help...!



5 replies

Hi,

You can make all the changes directly in default_onepage.php file or if you use 4.0.0 version you can make the changes on {joomla}/administrator/components/com_jbusinessdirectory/assets/util.php and modify function getAddressText()

Thanks a lot! I'm very thankful - works fine...!

Hi again, George

I've edited the lines, and now the format address is ok, like I needed.

So, I did another change and added one new field to the edit form, new field on table; a field called "neighborhood". Worked fine.

But in the results page, this new field doesn't appears; just in details page.

Do I need to refer this new field in the search results page? Where can I do?

Thanks for your attention!

Hi,

The fields must be added on sql parameter on company table.

I'm very greatful. One more question resolved. Thanks again!

 
 
 

6 Item(s)

Show per page