Sorry, I cannot distribute the module at this moment.
However, I just tried it with my current module (I did not have it enabled for studio yet) and this is all that was needed for it to at least show up as one of the modules in studio.
--> modules/Reservations/metadata/studio.php
Code:
<?php
$GLOBALS['studioDefs']['Reservations'] = array(
'LBL_DETAILVIEW'=>array(
'template'=>'xtpl',
'template_file'=>'modules/Reservations/DetailView.html',
'php_file'=>'modules/Reservations/DetailView.php',
'type'=>'DetailView',
),
'LBL_EDITVIEW'=>array(
'template'=>'xtpl',
'template_file'=>'modules/Reservations/EditView.html',
'php_file'=>'modules/Reservations/EditView.php',
'type'=>'EditView',
),
'LBL_LISTVIEW'=>array(
'template'=>'listview',
'meta_file'=>'modules/Reservations/listviewdefs.php',
'type'=>'ListView',
),
'LBL_SEARCHFORM'=>array(
'template'=>'xtpl',
'template_file'=>'modules/Reservations/SearchForm.html',
'php_file'=>'modules/Reservations/ListView.php',
'type'=>'SearchForm',
),
);
?> I have some permission issues with writing the files from Studio and I cannot try what actually gets displayed for each view ... Studio support is currently not on my priority list, so I don't have time to investigate it any further. I realize you already tried creating the studio.php file, so I don't know if the above code is of any help .. but that's all I can provide at this moment.
Good luck
Bookmarks