Not working in page.tpl.php

ChemAli - July 3, 2009 - 05:42
Project:jCarousel
Version:6.x-1.1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Drupal: 6.12 clean
Theme: garland

I inserted the code example from readme.txt into page.tpl.php, but it does not work.

If you insert into the node with a php filter, it works.

What could be wrong?

#1

ChemAli - July 3, 2009 - 17:17

The base Javascript "jquery.js" and "drupal.js" not loaded after jcarousel_add() call!

#2

ChemAli - July 4, 2009 - 11:03
Priority:normal» critical

#3

Wim Leers - July 19, 2009 - 23:09
Category:bug report» support request
Priority:critical» normal
Status:active» fixed

You can't call this from page.tpl.php. That's too late. You have to do it from within a module.

#4

System Message - August 2, 2009 - 23:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.