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
CustomCSSheight: unset!important; min-width: 320px!important;max-width: 320px!important;
Width320px


Mentor sidebar
BackButton/display/PN#tab-MENTORS



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
<style>
@media only screen and (min-device-width : 320px) and (max-device-width : 1000px) {
  .mentor-text-container {
	padding: 20px 0 0 0 !important;
  }
  .custom-column-container:nth-child(4) {
	margin-top: 20px !important;
	margin-left: 0 !important;
  }
}
</style>

<script>
$('.my-title')[0].remove();
$('#mentor-strengths')[0].remove();
$('.my-title')[0].innerHTML = " ";
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;
	$('.my-title')[0].innerHTML = "About " + document.getElementById('mentor-name').innerHTML.toString();
});
</script>

...