<![CDATA[ Support/Comments for CALx - My Forums]]> https://forums.modx.com/thread/?thread=48855 <![CDATA[Re: Support/Comments for CALx]]> https://forums.modx.com/thread/48855/support-comments-for-calx?page=18#dis-post-284171
took a bit of finagling. For some reason it told me the utf-8 file was malformed. I saved it as html and opened it and c/p it into a new doc and then found the relevant code (I believe.)

on line 1015 of the original i replaced the switch with your switch and added in the return false so we would not go anywhere if a link was clicked:

switch($action){
case 0:{
$output='<a href="" onmouseover="return overlib(\'booked\', '.$this->toolTipPosition.', WIDTH, '.$this->popupSize.', CSSCLASS, TEXTFONTCLASS,\'textfontClass'.$this->chunkCSSID.'\', FGCLASS,\'fgClass'.$this->chunkCSSID.'\',BGCLASS,\'bgClass'.$this->chunkCSSID.'\',CAPTIONFONTCLASS,\'capfontClass'.$this->chunkCSSID.'\', CLOSEFONTCLASS, \'closefontClass'.$this->chunkCSSID.'\');" onmouseout="return nd();" onClick="return false;">'.$dom.'</a>';

break;
}
case 1:{
$output= '<a href="" onClick="return false;">'.$dom."</a>\n" ; 

break;
}
case 2:{
$output='<a href="#" onClick="return false;">'.$dom.'</a>';

break;
}
}
return $output;
}


I believe it works, however the tooltip still is not functional. I may put it back to the original, get that working and then return to this facet of the scripting.

but thank you so much.


]]>
redtoad Apr 16, 2010, 03:10 PM https://forums.modx.com/thread/48855/support-comments-for-calx?page=18#dis-post-284171
<![CDATA[Re: Support/Comments for CALx]]> https://forums.modx.com/thread/48855/support-comments-for-calx?page=18#dis-post-284170 ]]> bunk58 Apr 16, 2010, 03:03 PM https://forums.modx.com/thread/48855/support-comments-for-calx?page=18#dis-post-284170 <![CDATA[Re: Support/Comments for CALx]]> https://forums.modx.com/thread/48855/support-comments-for-calx?page=18#dis-post-284169 redtoad Apr 16, 2010, 02:29 PM https://forums.modx.com/thread/48855/support-comments-for-calx?page=18#dis-post-284169 <![CDATA[Re: Support/Comments for CALx]]> https://forums.modx.com/thread/48855/support-comments-for-calx?page=18#dis-post-284168 I know I customised the CALx.class.php file, I think around line 1000, but can’t remember what I did!
Attached is that version in case it helps.]]>
bunk58 Apr 16, 2010, 01:52 PM https://forums.modx.com/thread/48855/support-comments-for-calx?page=18#dis-post-284168
<![CDATA[Re: Support/Comments for CALx]]> https://forums.modx.com/thread/48855/support-comments-for-calx?page=18#dis-post-284167
The link to the page is here:

http://www.redtoadmedia.com/maggie/index.php?id=5

and my snippet call is here:

[!CALx? &getFolder=`5` &idMultiEvent=`22` &useTV=`true` &dateStartTVName=`bookingStart` 
&dateEndTVName=`bookingEnd` &lang=`english` &popupType=`0` &popupSize=`200` &toolTipPosition=`above` &getTypeProcess=`createCal`!]


the calendar seems to be styled? but the booking date is showing a link (I only want the date to have a new style, with no link to any resource) and there are no tooltips, I am also posting a screenshot of my test "event" resource. I have included something in each title field. There is a link to the correct style sheet in my header. also have manually added the correct path to the js files to the template, in the same position as it is injected by the script (at the bottom of the page). The injected js paths were not correct.

thoughts?

thank you very much for the help.]]>
redtoad Apr 16, 2010, 11:40 AM https://forums.modx.com/thread/48855/support-comments-for-calx?page=18#dis-post-284167
<![CDATA[Re: Support/Comments for CALx]]> https://forums.modx.com/thread/48855/support-comments-for-calx?page=18#dis-post-284166
I am going to reinstall this today and walk back through it, will try that and keep you posted. Clarification? Title and subtitle, you are referring to the page title and longtitle fields?]]>
redtoad Apr 16, 2010, 09:49 AM https://forums.modx.com/thread/48855/support-comments-for-calx?page=18#dis-post-284166
<![CDATA[Re: Support/Comments for CALx]]> https://forums.modx.com/thread/48855/support-comments-for-calx?page=18#dis-post-284165
Did you write a title, sub-title in your page ?]]>
Jabberwock Apr 15, 2010, 12:12 AM https://forums.modx.com/thread/48855/support-comments-for-calx?page=18#dis-post-284165
<![CDATA[Re: Support/Comments for CALx]]> https://forums.modx.com/thread/48855/support-comments-for-calx?page=17#dis-post-284164
I just uninstalled this after working with it for hours, am getting ready to reinstall.

my css path and js paths were correct, however the pop-ups were not showing. In addition, when I made the pop-up = `0` then it still showed me a "click here message"

what I want to do is this:
http://www.perthshire-selfcatering-cottages.co.uk/index.php?id=6&mois=11&annee=2009

no link to any resource, no message other than "booked"

I tried to go into the php and edit it but I guess I’m too tired to really get it right now, that and I do not want to mod too much till I have the css/js loading. I tried logging out of the manager, clearing the cache, calling it cached/uncached, using a new browser... nothing. Admittedly, am on Opera 10 so I could have an issue because of that but it did the same in Firefox.


thoughts?
]]>
redtoad Apr 14, 2010, 11:25 PM https://forums.modx.com/thread/48855/support-comments-for-calx?page=17#dis-post-284164
<![CDATA[Re: Support/Comments for CALx]]> https://forums.modx.com/thread/48855/support-comments-for-calx?page=17#dis-post-284163 sottwell Mar 17, 2010, 11:49 AM https://forums.modx.com/thread/48855/support-comments-for-calx?page=17#dis-post-284163 <![CDATA[Re: Support/Comments for CALx]]> https://forums.modx.com/thread/48855/support-comments-for-calx?page=17#dis-post-284162 Quote from: atomoc at Mar 16, 2010, 12:47 PM

Hello.

Please, i need yours help.

System - MODx Evolution 1.0.2

CALx v8

I did all how be said.


Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/zenhost/data/www/zenhost.ru/vkosmos.ru/manager/includes/document.parser.class.inc.php(770) : eval()'d code on line 1


What is this?

I have the same problem!!! Any suggestions??????]]>
neopablix Mar 17, 2010, 10:33 AM https://forums.modx.com/thread/48855/support-comments-for-calx?page=17#dis-post-284162