Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Address column 7 years 4 months ago #21791

Hello

It is possible to activate a city column.
Is there a way to display an address column instead?

Best regards
Laurent Zotto

Please Log in or Create an account to join the conversation.

Address column 7 years 4 months ago #21795

  • Hoffi
  • Hoffi's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 2283
  • Thank you received: 449
Hi Laurent,

generally it is but you need to adapt the view(s), best using template override mechanism.
If you need e.g. to change the Simplelist (eventslist) you must copy and modify components/com_jem/common/views/tmpl/default_events_table.php.

There you can replace the code to print the city by code to print a full address (search for "showcity" to find the relevant code blocks). The fields you need are $row->city, $row->postalCode, $row->street.

Also you may change COM_JEM_TABLE_CITY (the "showcity" block above) to COM_JEM_ADDRESS to show "Address" as column header.
The following user(s) said Thank You: Laurent Zotto

Please Log in or Create an account to join the conversation.

Address column 7 years 4 months ago #21798

Hi , addedd Venue instead and write the address on the Venue in here!

Thank you anyway!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.404 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......