View Full Version : Download Module - Missing Templates
Zachariah
05-30-2007, 10:51 PM
Hello, I created a custom module.
Download of module does not export "Templates Used" .
- I placed the templates in the Default and Master template set for testing.
- I have not looked @ vba_cmps_admin.php code.
- Also added the templates to the CMPS product for testing.
Perhaps I am not holding my mouth right. :(
DementedMindz
05-30-2007, 11:18 PM
lol yeah I think you need to hold it a little more to the left :)
Zachariah
05-30-2007, 11:26 PM
lol yeah I think you need to hold it a little more to the left :)
:eek: :p
Brian
05-31-2007, 09:38 AM
Thanks for pointing that out. Looks like I forgot to update that section to support the new format for the "Templates Used" setting. If you'll look in the vba_cmps_admin.php file for this code:
$tnames = ($module['templatelist']) ? explode(',', str_replace(' ', '', $module['templatelist'])) : array('adv_portal_' . $module['filename']);
Replace with this:
$tnames = ($module['templatelist']) ? explode("\r\n", $module['templatelist']) : array('adv_portal_' . $module['filename']);
And that should take care of the problem.
Zachariah
05-31-2007, 10:31 AM
Yes Sir, Thats it.
DementedMindz
05-31-2007, 11:22 AM
ok now you can hold it to the right ;)
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.