Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
3.29/5 (6 votes)
See more:
I hav these two files in my project that I am migrating. If somebody could have a look and help me to convert these menu.ctp generates the JSON containing the list of all the plugins

retrieve.ctp gives the details of the selected plugin called after profile selection, as an alternative to menu.ctp

Menu.ctp
<?php  
Configure::write('debug', 0);  
echo($_GET['callback'].'(');  
echo ($javascript->object($profiles));  
echo(');');  
?>  


Retrieve.ctp
<?php
Configure::write('debug', 0);
echo($_GET['callback'].'(');
echo ($javascript->object($profile));
echo(');');
?>

I migrated most of the project seeing the functionality but I actually didn't know about these small files.
Posted
Updated 4-Jan-11 23:34pm
v2

1 solution

I hope Migration Assistant[^] may help you a bit.
 
Share this answer
 
v2
Comments
fjdiewornncalwe 6-Jan-11 10:36am    
@Hiren... Just updated the href to include the "t" that was missing at then end of it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900