Home › Forums › Calendar Products › Events Calendar PRO › HTML shows as text
- This topic has 11 replies, 3 voices, and was last updated 10 years, 4 months ago by
Geoff.
-
AuthorPosts
-
September 10, 2015 at 3:13 am #1003593
Gwyneth Moss
ParticipantSince the update my registration link is showing as text
http://www.efthelps.com/eft-courses/eft-part-one-october/I use regonline and have put buttons in the description, they are ok, and in the event details additional fields I had a link to the registration system
the additional field is now showing this as text
How do I make it a link again?
This is happening on all of my events! HELP!
September 10, 2015 at 3:21 pm #1003968Nico
MemberHi Gwyneth,
Thanks for reaching out to us, and sorry about the inconvenience this might be causing to you. I’ll help you out getting this right!
Hopefully fixing this seems to be quite easy, it will require a simple template override which I’ll try to present in simple steps. If you are not familiar with this please be sure to check our Themer’s guide. Here we go:
– Inside your theme folder wp-content/themes/your_theme/ create the following folder structure: tribe-events/pro/modules/meta/.
– Make a copy of the file wp-content/plugins/events-calendar-pro/src/views/pro/modules/meta/additional-fields.php.
– Drop the copy of the file into the just created folder: wp-content/themes/your_theme/tribe-events/pro/modules/meta/.
– Edit the file and change line 22:// replace this <dd class="tribe-meta-value"> <?php echo esc_html( $value ); ?> </dd> // with this <dd class="tribe-meta-value"> <?php echo $value; ?> </dd>That should be it, please let me know if you can make it work,
Best,
NicoSeptember 11, 2015 at 6:53 am #1004184Gwyneth Moss
ParticipantMy developer has made these changes and the html code is still showing as text
http://www.efthelps.com/eft-courses/eft-part-one-september/Before your upgrade this worked as a link, we have not made any changes
This happens on every event pageWhat next?
September 11, 2015 at 10:17 am #1004351Nico
MemberHi Gwyneth,
Thanks for getting back to me.
Just tested the fix on my end and it works as expected. Can you make sure the dev had a chance to clear server cache and check that the template override is on place?
Please let me know, I’ll try to craft a different fix if this one doesn’t respond,
Thanks,
NicoSeptember 11, 2015 at 12:12 pm #1004404Gwyneth Moss
ParticipantHere is the full system info, it still does not work
I can give my login password to Jake the dev and he can communicate with you directlyURL
INSTALL KEYS
[key removed by admin]
WORDPRESS VERSION
4.3
PHP VERSION
5.3.29
PLUGINS
Black Studio TinyMCE Widget version 2.2.7 by Black Studio(http://www.blackstudio.it)
Contact Form 7 version 4.2.2 by Takayuki Miyoshi(http://ideasilo.wordpress.com/)
Content Views version 1.6.6 by PT Guy(http://profiles.wordpress.org/pt-guy)
The Events Calendar PRO version 3.12 by Modern Tribe, Inc.(http://m.tri.be/20)
Google Analytics by Yoast version 5.4.6 by Team Yoast(https://yoast.com/)
Hello Dolly version 1.6 by Matt Mullenweg(http://ma.tt/)
Image & Text Widget version 1.0.3 by dFactory(http://www.dfactory.eu/)
WPBakery Visual Composer version 4.5.3 by Michael M – WPBakery.com(http://wpbakery.com)
Post Duplicator version 2.8 by Metaphor Creations(http://www.metaphorcreations.com)
Content Views Pro version 2.0 by PT Guy(http://www.contentviewspro.com/)
Revolution Slider version 4.6.93 by ThemePunch(http://themepunch.com)
Shortcodes Ultimate version 4.9.8.1 by Vladimir Anokhin(http://gndev.info/)
Templatera version 1.1.2 by WPBakery(http://wpbakery.com)
The Events Calendar version 3.12.1 by Modern Tribe, Inc.(http://m.tri.be/1x)
UmanIT Update URLs version 1.0 by UmanIT(http://www.umanit.fr/)
UpdraftPlus – Backup/Restore version 1.11.9 by UpdraftPlus.Com, DavidAnderson(https://updraftplus.com)
WooCommerce version 2.3.9 by WooThemes(http://woothemes.com)
Wordfence Security version 6.0.16 by Wordfence(http://www.wordfence.com/)
Yoast SEO version 2.3.4 by Team Yoast(https://yoast.com/)
MailPoet Newsletters version 2.6.16 by MailPoet(http://www.mailpoet.com/)
YouTube widget responsive version 1.1.4 by StefanoAI(http://www.stefanoai.com)
NETWORK PLUGINS
–
MU PLUGINS
–
THEME
EFT helps
MULTISITE
–
SETTINGS
tribeEnableViews =
Array
(
[0] => list
[1] => photo
)
schema-version = 3.12.1
recurring_events_are_hidden = exposed
previous_ecp_versions =
Array
(
[0] => 0
[1] => 3.11.2
[2] => 3.12
)
latest_ecp_version = 3.12.1
last-update-message = 3.11.2
donate-link =
postsPerPage = 12
liveFiltersUpdate =
showComments = 1
showEventsInMainLoop =
eventsSlug = eft-training
singleEventSlug = eft-courses
multiDayCutoff = 00:00
defaultCurrencySymbol = £
reverseCurrencyPosition =
embedGoogleMaps = 1
embedGoogleMapsZoom = 10
debugEvents =
stylesheetOption = tribe
tribeEventsTemplate =
viewOption = photo
tribeDisableTribeBar = 1
monthEventAmount = 1
enable_month_view_cache =
dateWithYearFormat = j,F, Y
dateWithoutYearFormat = j F
monthAndYearFormat = F Y
dateTimeSeparator = @
timeRangeSeparator = –
datepickerFormat = 4
tribeEventsBeforeHTML =
tribeEventsAfterHTML =
earliest_date = 2015-09-12 00:00:00
latest_date = 2016-01-31 17:00:00
disable_metabox_custom_fields = show
pro-schema-version = 3.12
hideSubsequentRecurrencesDefault =
userToggleSubsequentRecurrences =
recurrenceMaxMonthsBefore = 24
recurrenceMaxMonthsAfter = 24
geoloc_default_geofence = 100
geoloc_default_unit = miles
defaultValueReplace =
eventsDefaultOrganizerID = 685
eventsDefaultVenueID = 686
eventsDefaultAddress =
eventsDefaultCity =
eventsDefaultState =
eventsDefaultProvince =
eventsDefaultZip =
defaultCountry =
eventsDefaultPhone =
tribeEventsCountries =
hideLocationSearch = 1
hideRelatedEvents =
week_view_hide_weekends =
weekDayFormat = D jS
custom-fields =
Array
(
[2] => Array
(
[name] => _ecp_custom_2
[label] => Timings:
[type] => textarea
[values] =>
)[7] => Array
(
[name] => _ecp_custom_7
[label] => Transport:
[type] => textarea
[values] =>
)[11] => Array
(
[name] => _ecp_custom_11
[label] => Registration:
[type] => textarea
[values] =>
))
custom-fields-max-index = 19
WORDPRESS TIMEZONE
–
SERVER TIMEZONE
UTC-
This reply was modified 10 years, 7 months ago by
Nico.
September 14, 2015 at 1:02 am #1004739Gwyneth Moss
ParticipantThe html is still showing as text
Here is the message from by Dev
“Ok
I have triple checked the server path, the file structure, re copied and pasted the replacement code and have tried adding the template override both in the main themes folder and in the child folder (it’s a child theme) and the link is still showing as html. The only caching that is taking place is from WordFence, I have disabled this and cleared the cache”
http://www.efthelps.com/eft-courses/eft-part-one-october/September 14, 2015 at 5:27 pm #1005093Nico
MemberHi Gwyneth,
Thanks for following up on this and confirming everything is in place. This one is a bit tricky as I cannot reproduce it locally 🙁
Can you ask the dev to add this snippet to the theme functions.php file -located at wp-content/themes/you_theme/- ?
add_action ( 'tribe_get_custom_fields' , 'get_html_custom_fields' );function get_html_custom_fields ( ) {
$postId = Tribe__Events__Main::postIdHelper( );
$data = array();
$customFields = tribe_get_option( 'custom-fields', false );
if ( is_array( $customFields ) ) {
foreach ( $customFields as $field ) {
$meta = get_post_meta( $postId, $field['name'], true );
if ( $meta ) {
$data[ esc_html( $field['label'] ) ] = $meta;
}
}
}
return $data;
}
Also what type of field is the ‘Registration’ additional field?
Thanks for your patience in this. I hope we can make this right soon,
Best,
NicoSeptember 15, 2015 at 1:20 am #1005171Gwyneth Moss
ParticipantHello Nico
Before I ask my Dev to do any more (because I have to pay him) lets see if I can give you more info and you can replicate the problem or advise me how else I can get a link with link text into the event details.
Here is a screen shot of the input for the additional field https://www.dropbox.com/s/fykeee98lar2nwg/Screenshot%202015-09-15%2009.11.48.png?dl=0
Here is a screen shot of the settings of the additional field
https://www.dropbox.com/s/xkqkt1angbyb5qt/Screenshot%202015-09-15%2009.13.58.png?dl=0And here is how the event page displays
http://www.efthelps.com/eft-courses/eft-part-two-november/Before your recent update the html in the Registration additional field displayed as a link ‘Book Your Place’
I used a text field in the additional fields because I want to have the link text, if I use URL then the whole link is rather long and it runs over the edge of the box which looks messy
My registration system is Regonline and though I have put registration buttons in the body text I would like there to be a registration link in the event details. This did work before your update.
Hope that helps
GwynethSeptember 16, 2015 at 7:21 am #1005585Nico
MemberHey Gwyneth,
Thanks for following up on this in such a detailed way 🙂
Reviewing our previous messages I made a mistake on the folder structure provided. I’m sorry for that, my bad.
Can you ask your dev to rename the ‘tribe’ folder inside your theme folder to ‘tribe-events’ and check if this solves the issue?
Please let me know if it does,
Best,
NicoSeptember 17, 2015 at 3:19 am #1005871Gwyneth Moss
ParticipantOK that works now
Thanks for owning up to error
GwynethSeptember 17, 2015 at 8:03 am #1005962Nico
MemberHey, glad to hear this is working now Gwyneth.
Is the least I can do! Thanks for understanding 🙂
I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create a new one and we will be happy to assist you.
Best of luck with your project,
NicoDecember 2, 2015 at 11:16 am #1034016Geoff
MemberHey there,
Just poking in to let you know that this issue has been resolved and a patch will be included in Version 4.0. We expect that to release sometime today so please do keep you eyes peeled and feel free to let us know if have any other questions after updating.
Thanks for your patience while we figured this out!
Geoff
-
This reply was modified 10 years, 7 months ago by
-
AuthorPosts
- The topic ‘HTML shows as text’ is closed to new replies.
