How to Get Autocomplete Support on PopupsAPI

mikestefff - May 8, 2009 - 07:58
Project:Popups: Add and Reference
Version:6.x-2.0-alpha1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hey,

I noticed that when creating regular popups (via class="popups-form" or any of the available options) autocomplete fields in node creation pages don't work. But when using your module to add nodes, they work fine (as well as collapsible regions).

So I ask, what is the difference and how did you get them to work? How can I get them to work on manually created popups?

Thanks

#1

mikestefff - May 9, 2009 - 04:23

Scratch it...you need to:

<?php
drupal_add_js
('misc/autocomplete.js');
drupal_add_js('misc/collapse.js');
?>

 
 

Drupal is a registered trademark of Dries Buytaert.