Hello,
I have a site running on Drupal 5.5 on LAMP platform. I have installed and enabled the htmlbox module for all users.
The site uses a custom theme, say ABC, derived from the contributed Siberia theme. In my custom theme there are no changes accept I have added a node-news.tpl.php
If I apply any of the default or contributed themes the textboxes are enabled with htmlbox. When I apply the custom theme ABC the textboxes do not display the htmlbox buttons (ie htmlbox is not enabled). I checked all the permissions and also tried entering the #id of the textarea in htmlbox configuration.
Can you please tell me if I have to implement something in my custom theme to turn on htmlbox.
Thanks.
Comments
Comment #1
Poetro commentedHTMLBox uses it's CSS to display the buttons, named htmlbox.css in the module directory. If your theme do not add the module CSS files to the
<head>section of the theme, no module CSS files will be visible in your theme. You may have missed theprint $styles;from page.tpl.phpComment #2
user901 commentedHello,
Thanks for the quick response.
I checked page.tpl.php it has the following lines
Also when I do a view source on any page on the site I see
Is there any other resource that is needed for htmlbox to work?
Thanks.
[I forgot to mention this earlier, I have downloaded the module again, installed it , tried it on different sites and also tried it from both IE and FF]
Comment #3
Poetro commentedWhat should be on the page with HTMLBox visible there:
and something similar to this at the end of page, near the
</body>Comment #4
user901 commentedI do not have the second part of the script calling the $(function () { $("#edit-code") on my page. What should I change to get that on my page?
Also I have a < script> call to google analytics near the < /body> tag, I hope that does not hamper in anyway.
Thanks for your help.
Comment #5
user901 commentedHello,
Yesterday I upgraded to version 5.x-1.0 to make sure I have the latest code. The behavior is still the same.
Please let me know the next steps.
Thanks.
Comment #6
Poetro commentedThe 1.0 version had a stupid bug (sorry about that), fixed in 5.x-1.0-1.
Let me know if there is still an issue.
Comment #7
user901 commentedYes, the issue is still there, I do not see the script call at the bottom of the page (near the closing body tag).
Thanks.
Comment #8
Poetro commentedOh, I finally got it... the page.tpl.php is missing the
print $closurefrom the bottom of the file, just before the</body>Comment #9
user901 commentedThanks a lot.
That worked, I can now see the htmlbox.
Regards.
Comment #10
Poetro commentedComment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.