WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => jQuery => Topic started by: macsmet on August 13, 2010, 02:15:29 PM

Title: Superfish call in code section gives error!
Post by: macsmet on August 13, 2010, 02:15:29 PM
Hi there all,

I use jqueryadmin and playing with SuperFish and SM_2.
The tutorial says you can use it with a code section.
It gives me an error when doing this in a code section: [[jQueryInclude?preset=superfish]] (I also call SM_2 within the code section).

When I put [[jQueryInclude?preset=superfish]] in a WYSIWYG and SM_2 in a code section it works fine.
Why do I get this error?

Greetings,

MacSmet
Title: Re: Superfish call in code section gives error!
Post by: BlackBird on August 14, 2010, 10:41:42 AM
It seems to be an error in the docs. Droplet calls cannot be used in a code section. :roll:

Edit: You could try to use this in the code section:

Code: [Select]
echo "[[jQueryInclude?preset=superfish]]";