CSSToolTipsToGo-Talk

Summary: Talk page for CSSToolTipsToGo.
Maintainer: Joan Vilaseca
Users: +1 (View / Edit)

This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.

Comments

PHP5.5 Compatibility Issue

M. Denning, 20170729: Ruleset is throwing the following compatibility error. Please, can this be addressed ASAP? Base site is battzion.org and WebMaster contact is at the bottom. Thanks!

CSSTTTG   _begin    B=   ! file: /cookbook/csstooltipstogo.php, line: 121, pat: /\[\|(.*?)\|\|(.*?)\|\|(.*?)\|\]/se
TTTGDEF   fulltext  B>=  ! file: /cookbook/csstooltipstogo.php, line: 49, pat: /\(:tooltips (.*?):\)/se
Update: I have updated lines 49 and 121
FROM049: Markup("TTTGDEF","fulltext","/\\(:tooltips (.*?):\\)/se", "CSSToolTipsToGoDefine('$1')");
TO049: Markup_e("TTTGDEF","fulltext","/\\(:tooltips (.*?):\\)/s", "CSSToolTipsToGoDefine(\$m[1])");
FROM121:
Markup("CSSTTTG", "_begin", "/\\[\\|(.*?)\\|\\|(.*?)\\|\\|(.*?)\\|\\]/se", 
"Keep(CSSToolTipsToGo('$1',PSS('$2'),PSS('$3')))");
TO121:
Markup_e("CSSTTTG", "_begin", "/\\[\\|(.*?)\\|\\|(.*?)\\|\\|(.*?)\\|\\]/s", 
"Keep(CSSToolTipsToGo(\$m[1],PSS(\$m[2]),PSS(\$m[3])))");
TakeAway:This seems to have taken away the error generated in Rule Table.
AfterThought:However, I would still be more comfortable if I obtained positive word from the other developers that this was the only updated necessary.

Typo?

Hi Joan, I am not an expert, but I think there is a typo on line 124. The recipe works for me just if I change

from -> Markup("CSSTTTG", "_begin", ...

to -> Markup_e("CSSTTTG", "_begin", ...

- Frank September 06, 2016, at 11:02 PM

Problems with Safari

Hi Joan, your recipe is really wonderful, I would like to use it, but it doesn't work with my browser (safari 6.0.2), I don't understand why, since LinkCSSToolTip (inspired by this recipe) works fine. Do you think there is a solution? Thanks in advance. -- Frank January 17, 2013 at 11:05 PM

  • Sorry, I can't help on this I am not using safari, so can't say what's going wrong. -- Joan Vilaseca 26 febrer 2013

Hello Joan, sorry, my mistake (probably I messed with config.php), the recipe works well on safari. Thank you. -- Frank June 9, 2014 at 01:57 AM

Talk page for the CSSToolTipsToGo recipe (users).