Link to location without address

  • Roger Clarke
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 10 months 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
4 years 10 months 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
4 years 10 months 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
  • Premium Member
  • Premium Member
More
4 years 10 months 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
4 years 10 months 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.

  • Roger Clarke
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 6 months ago #128618 by Roger Clarke
Replied by Roger Clarke on topic Link to location without address
Is there any chance that LOCATION_DESCRIPTION could be added as an available tag for emails?
I want to put car parking details for a location into the location description. These display on the event details page under the heading Venue Information - [LOCATION], which is great, but I'd also like to include them in the email.
Regards,
Roger

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
4 years 6 months ago #128620 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Link to location without address
Just added some code to support it. You can access to My Downloads menu item, download latest package, upgrade it to your site and you can use that tag to show location description

Tuan

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

  • Roger Clarke
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 6 months ago #128629 by Roger Clarke
Replied by Roger Clarke on topic Link to location without address
That's superb, thank you so much! That saves me from needing bespoke emails for each event!

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
4 years 6 months ago #128633 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Link to location without address
Happy to hear that it is useful for me. Just few lines of code added and took me few minutes only

Tuan

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

Moderators: Tuan Pham Ngoc