Closed (fixed)
Project:
BeautyTips
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Sep 2009 at 09:54 UTC
Updated:
24 Sep 2009 at 18:58 UTC
Hi, this looks like a great module, but I'm having difficulty getting new bt's in place... I've watched the video, read the doc many times, looked in the beautytips.module file that adds the bt's in the first place in the module settings form - still no luck - any help would be ... very helpful!
In template.php, top level code as the very last lines in the file:
$btoptions['test_bt']=array(
'area' => '#logo',
'text' => 'here it is',
);
drupal_set_message("trace1");
beautytips_add_beautytips($btoptions);
drupal_set_message("trace2");
And the trace1 and trace2 do show up on every page load so I know it's at least going to those lines, without php errors...
And the html around the logo:
<body class="sidebars">
<div id="page">
<div id="masthead">
<div id="header" class="clear-block">
<div class="header-right">
<div class="header-left"> <div id="logo-title">
<a href="/" title="Home"> <img src="/sites/default/files/litejazz_logo.jpg" alt="Home" id="logo" /> </a>
</div>
<!-- /logo-title -->
<div id="name-and-slogan">
</div>
<!-- /name-and-slogan -->
But no luck... It's probably something completely obvious...?
Many thanks!
Comments
Comment #1
caver456 commentedSolved it, went searching some more and found the bug report saying that changing to the latest -dev is needed - that did the trick, everything else was right. (I didn't bother looking in the javascript error log window). Glad I'm not too full of hooey!
http://drupal.org/node/549076
So, yes, again - very nice module!
Comment #2
kleinmp commentedI'm glad you were able to find the issue. I released a new tag, so the new stable version (6.x -1.1) shouldn't have this problem.