Events Made Easy › Forums › How do I … › How can I link an external URL?
Tagged: url
- This topic has 12 replies, 2 voices, and was last updated 13 years, 10 months ago by Anonymous.
-
AuthorPosts
-
Thu 13 Jan 2011 at 12:37 #42406AnonymousInactive
Sorry but I am really struggling with this for something so simple!
Using the default location balloon format, how can I create a link to an external website.
We are a running club and rely on users being able to book their own races.
I have been through the settings so many times and tried different variables (last one being #_DESCRIPTION) and cannot figure out a way to create an external URL for multiple events.
Example here: http://www.suttonrunners.org/events?event_id=13
Thanks in advance
Thu 13 Jan 2011 at 13:00 #46170FrankyKeymasterHi, a link to an external url just needs to be put in the format like html code, e.g.:
<a href=http://www.e-dynamics.be>My site</a>
Thu 13 Jan 2011 at 13:36 #46171AnonymousInactiveHi,
Thanks for the quick response.
Yes, I am aware on how to create links but this will be different for each event. I can’t place a single URL into the Events Settings page as this will change for each and every event. I guess what I’m asking, where in the ‘add new event’ can I place this data or variable? Or am I just being stupid 🙂
Hope this makes sense.
Great plugin by the way! It has brought so much benefit to our club members.
Thanks
Thu 13 Jan 2011 at 14:18 #46172FrankyKeymasterAha, I see what you mean. I suggest to use custom attributes then. E.g. in the balloon format (in the settings page) you put
<a href="#_ATT{EXTERNAL_LINK}">My link text</a>
and then, when editing/creating an event, you’ll see the custom attribute “EXTERNAL_LINK” which you can then give a value per event (but I believe you need the trunk version to be able to recognize attributes in balloons, just test it first).
For custom attributes: http://www.e-dynamics.be/wordpress/#custom-attrs
Thu 13 Jan 2011 at 14:33 #46173AnonymousInactiveok, great!
I will give it a go and report back.
One last question, you refer to ‘trunk version’, can you explain please?
Are you referring to the base plugin ‘events manager’ and not the extended version.
Thu 13 Jan 2011 at 14:51 #46174FrankyKeymasterNo, I’m referring to the not-yet-released version. But try with basic 3.2.15 first, otherwise: http://downloads.wordpress.org/plugin/events-manager-extended.zip
Thu 13 Jan 2011 at 15:00 #46175AnonymousInactiveGreat stuff, as mentioned it’s less complicated than it actually is.
Custom attribute (link) doesn’t appear to work with 3.2.15, will give trunk version a go.
Thanks for all your help!
Thu 13 Jan 2011 at 15:35 #46176FrankyKeymasterDon’t forget: you need to change the setting concerning the balloon format first in order to be able to use it in an event afterwards. Also: make sure you have activated the use of custom attributes in the settings page.
Thu 13 Jan 2011 at 23:44 #46177AnonymousInactiveChanged the settings for balloon format as described earlier in post. Activated custom attributes in settings. Upgraded to trunk version, but link still not working.
Fri 14 Jan 2011 at 08:25 #46178FrankyKeymasterDo you see the custom attribute when creating the event (at the bottom of the event window)?
Fri 14 Jan 2011 at 09:32 #46179AnonymousInactiveHi,
Yes, the custom attribute is shown at the bottom when adding new event and I enter a value, for example (with no quotes)
But still no response when clicking link.
Fri 14 Jan 2011 at 09:37 #46180FrankyKeymasterI stand corrected: attributes don’t work in the balloon format, nor in the location pages. This is because we enter attribute data for an event, not a location. And since more than one event can be linked to the same location, I can’t go get the event info for a location …
I’ll add a feature request for attributes for location info.
Fri 14 Jan 2011 at 09:40 #46181AnonymousInactiveOk, no problem. Appreciate your time and effort.
We can live without this feature for now.
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.