We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13320
    • 245 Posts
    Hi,

    Did you write a title, sub-title in your page ?
      [b]D
    • not sure. I believe so.

      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?
        ________

        Anne
        Toad-in-Chief
        Red Toad Media - Web Design, Louisville KY
        Hear me tweet: http://www.twitter.com/redtoadmedia
        "Bring on the imperialistic condiments." - Rory Gilmore
      • All right, have reinstalled.

        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.
          ________

          Anne
          Toad-in-Chief
          Red Toad Media - Web Design, Louisville KY
          Hear me tweet: http://www.twitter.com/redtoadmedia
          "Bring on the imperialistic condiments." - Rory Gilmore
          • 4310
          • 2,310 Posts
          Anne, I did the perthshire cottage calendar.
          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.
          • brilliant bunk!! I tried six ways from Sunday to figure it out, thank you so much!!
              ________

              Anne
              Toad-in-Chief
              Red Toad Media - Web Design, Louisville KY
              Hear me tweet: http://www.twitter.com/redtoadmedia
              "Bring on the imperialistic condiments." - Rory Gilmore
              • 4310
              • 2,310 Posts
              Thank me if it works wink
              • laughing.

                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.


                  ________

                  Anne
                  Toad-in-Chief
                  Red Toad Media - Web Design, Louisville KY
                  Hear me tweet: http://www.twitter.com/redtoadmedia
                  "Bring on the imperialistic condiments." - Rory Gilmore