Since the switch from ext to jquery framework, pops are broken in the stock CMS calendar

Description

inHead now includes jQuery, not EXT. Need to switch calendar toolTip to something jQuery based. Just used the skin:toolTip to accomplish this. Code as it was:

<cfloop query="qDayEvents">
<cfset eventDisplayed = 1>
<skin:view objectid="#qDayEvents.objectid#" typename="dmEvent" webskin="displayToolTip" r_html="eventTeaserHTML" />
<extjs:toolTip toolTip="#eventTeaserHTML#"><em><span class="title"><skin:buildLink objectid="#qDayEvents.objectid#">#qDayEvents.title#</skin:buildLink></span></em></extjs:toolTip>
</cfloop>

Code as I've modified:

<cfloop query="qDayEvents">
<cfset eventDisplayed = 1>
<cfset randID=randrange(11111,99999)>
<skin:view objectid="#qDayEvents.objectid#" typename="dmEvent" webskin="displayToolTip" r_html="eventTeaserHTML" />
<skin:tooltip message="#eventTeaserHTML#" selector="###randID#" />
<div class="title"><skin:buildLink objectid="#qDayEvents.objectid#" id="#randID#">#qDayEvents.title#</skin:buildLink></div>
</cfloop>

NOTES:
This is very, very, very messy. For each event, a new block of 5 lines of jQuery are created. I fear that for very large calendars this could get ugly. Best case would be to make a toolTip just for the calendar that you can send the formatted text into instead of making a new object for each request. However, I'm cool with what I have for the time being.

Environment

Railo 3.2.x, Windows 7, Ubuntu 9.x, MySQL 5.x

Activity

Andrew Mercer 
March 23, 2020 at 12:09 AM

 

only <ext: in core now is:

  • core/webskin/farWorkflowDef/edit.cfm

  • core/webskin/farWorkflow/editTasks.cfm

  • core/webskin/farWorkflow/edit.cfm

replace with

<cfimport taglib="/farcry/core/tags/webskin" prefix="skin" />

<skin:onReady

Matthew Williams 
June 28, 2011 at 3:29 PM

This is for the displayTeaserCalendar.cfm

Details

Assignee

Reporter

Components

Priority

Created June 28, 2011 at 3:28 PM
Updated March 23, 2020 at 12:09 AM