Link to location without address

  • Roger Clarke
  • Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
More
1 week 1 day ago #125757 by Roger Clarke
Link to location without address was created by Roger Clarke
Hi,
When including a location within a form message or email the location name is displayed in the link along with the address in brackets. i have a number of locations which just have a city name and no address and the location link is displayed as cityname ()

Is there a way to hide the brackets? Any chance it could be coded to only display the brackets if an address exists for the location?

Or alternatively a LOCATION_CITY parameter to just include the city name on a form or in a message.

Thanks,
Roger

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
1 week 1 day ago #125772 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Link to location without address
Hello

1. I fixed the blank bracket issue when no address is used/entered for the location

2. Or if you want, you can use other tags:

- [LOCATION_NAME]
- [LOCATION_CITY]
- [LOCATION_STATE]
- [LOCATION_ADDRESS]

Regards,

Tuan

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
1 week 1 day ago #125773 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Link to location without address
Forgot to mention you need to get latest package from My Downloads menu item, update to your site to get the empty bracket issue sorted

Tuan

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

  • Roger Clarke
  • Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
More
1 week 17 hours ago #125784 by Roger Clarke
Replied by Roger Clarke on topic Link to location without address
Hi Tuan,

Thank you, perfect! I hadn't realised that the other LOCATION_ tags existed either.

regards,
Roger

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
6 days 18 hours ago #125819 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Link to location without address
These tags were added sometime ago. I will try to add it to documentation ASAP

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc