Vote up/down problem with <?php print $scripts ?>

hankp98072- - September 25, 2009 - 04:26
Project:Vote Up/Down
Version:5.x-1.1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I have a site at www.theforvm.org that has used the vote up/down system for several years. I 'm trying to use the WYSIWYG module and the fckeditor plug in to get wysiwyg editing for blogs and comments. What I found is that if I don't put

<?php
print $scripts
?>
in the head section then vote up/down works fine but WYSIWYG doesn't, and if I do put
<?php
print $scripts
?>
in the head section then vote up/down doesn't work but WYSIWYG does.

I posted this here because I found several instances of people recommending the insertion of

<?php
print $scripts
?>
to fix problems, I haven't been able to find an example of it causing one.

#1

hankp98072- - November 15, 2009 - 06:24
Status:active» closed

#2

VM - November 15, 2009 - 06:28
Category:bug report» support request
Status:closed» fixed

printing $scripts is required for multiple things in drupal. It's how drupal pushing .js files into the head tag.

Ensure $closure is also being printed just before the ending body tag of your page.tpl.php

compare your page.tpl.php file with a core theme tpl.php file.

#3

System Message - November 29, 2009 - 06:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.