Author Topic: Calendar - missing ')' error?  (Read 9865 times)

Benjamin

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Calendar - missing ')' error?
« Reply #15 on: November 26, 2008, 07:49:11 am »
Hi all,

the problem with apostrophe isn't fixed for the description text.
To fix it, read the following steps :

Note : Files are located at application/view/event/

1. open files "viewdate.php", "viewweek.php" and "calendar.php"
2. find the word "addTip"
3. just before the javascript (on the <?php ... ?> tag) apply the fix gived by Ignacio :

     
Code: [Select]
$tipBody = str_replace("'", "\\'", $tipBody);
EDIT :
note that on calendar.php, the variable $tipBody is named $tip_text

Regards.
« Last Edit: November 26, 2008, 07:54:45 am by Benjamin »