x x x
x
Only portrait mode is currently supported - please rotate your device.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Custom section
CustomCSS width: 80%!important; flex-wrap: nowrap;
ContainerIDmainprofcontainer
DisableAutoHeighttrue


Custom column
CustomCSSmin-width: 320px!important;max-width: 320px!important;
Heightauto;
Width320px


Mentor sidebar
BackButton/display/c32mentors/C32+Mentors+Home



Custom column
CustomCSSmargin-left: 20px;width:100%!important;
Width100%


General content
CustomCSSbackground-color: inherit;


Mentor description

HTML
<div id="book"> </div>


Hide If
grouppremium-users


Custom section
CustomCSSjustify-content:center;

Locked content



Show If
grouppremium-users


HTML
<script>
let current_mentor = getQueryVariableFromUrl("mentor");
AJS.toInit(function (){
  var iframeBooking = AJS.$('#roomBooking');
  var mentorCalendar;
  jQuery.ajax({
    url: "https://signup.theonevalley.com/mentor/calendar/" + current_mentor,
    type: "get",
    dataType: 'json',
    async: false,
    success: function (data) {
	  console.log('email???', data);
      var iframeSrc = 'https://gsvlabs.as.me/?calendarID=' + data.id + '&appointmentType=8893711' + '&firstName=' + userFirstName + '&lastName=' + userLastName + '&email=' + userEmail + '&phone=' + userPhone + '&certificate=' + userMentorCode + '&field:5754148=' + userWebsite + '&field:5756602=' + userWebsite + '&field:5756740=' + userCompany + '&field:5756761=' + userCompany;
      iframeBooking.attr('src', iframeSrc); 
    }
  });
});
</script>
<iframe id="roomBooking" width="100%" height="800" frameBorder="0"> </iframe><script src="https://d3gxy7nm8y4yjr.cloudfront.net/js/embed.js" type="text/javascript">






HTML

<script>
let r1 = $('.mentor-text-container')[0].childNodes[0];
	let r2 = $('.mentor-text-container')[0].childNodes[1];
	r1.remove(); r2.remove();
AJS.toInit(function(){
	document.getElementById('mentor-tagline').innerHTML = document.getElementById('mentor-tagline').innerHTML.substring(2).substring(0,document.getElementById('mentor-tagline').innerHTML.length-4);
	document.getElementById('profile_header_text').innerHTML = document.getElementById('mentor-name').innerHTML;
	$('.mentor-text-container')[0].childNodes[0].remove();
	$('.mentor-text-container')[0].childNodes[0].remove();
	$('.mentor-text-container')[0].childNodes[0].innerHTML = "About " + document.getElementById('mentor-name').innerHTML.toString();
});
</script>

...