i am attempting to build a drag and drop list menu from one div to the
other.  I have it working flawlessly in regular HTML, but once I took
it into my TPL file (template file for Smarty) it stopped working.

the page itself is called with the following code:
<li><a href="#"  onClick="changeNavigation('index.php',
'menus');"><span>Menu</span></a></li>

Which calls a case of the switch I have in place, which also utilizes
the smarty template system.

case menus: // START OF MENUS
                                $_s = isset($_POST['s']) ? $_POST['s'] : '';
                                        if ($_s == '') {
                                                $_s = isset($_REQUEST['s']) ? 
$_REQUEST['s'] : '';
                                        }

                                switch ($_s) {
                                        default:
                                                $page = 
$aws->fetch('../templates/admin/menu.tpl');
                                                echo $page;
                                        break;

                                        case save:

                                        break;
                                }
break;

this is the switch, and sub switch inside the PHP file.

menu.tpl code can be viewed at:

http://aws-sandbox.com/templates/admin/menu.tpl

then the constructor which is never reloaded during the entire session
can be found:
http://aws-sandbox.com/templates/admin/constructor.tpl

the tab.js loads, the prototype loads (i see this because the
unordered list does change into how it should) -- but it seems like
the drag and drop functionality is either not loading, or something.

Cant wrap my head around it.  Any help with this appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to