Xil Ze
06-04-2005, 07:23 PM
I've been messing with this all day. If you simply create a new PHP modules, you'll be giving up all the control (which is the best part). The best way I've found to add a custom module is as follows:
Grab news.php from your ftp. Replace 'adv_portal_newsbits' with whichever custom template you wish to use. Make sure your preexisting templates have been updated with the new variables (replies, attatchment, etc.) Rename it whatever and upload it to the modules dir.
Copy an existing and working module (probably news). Choose the module from the drop down menu and fix the cache and settings to your liking. If things went correctly (and if this works for anyone else), your module should now appear.
If you're having trouble copying a module, you may have a dysfunctional 'GO' button. Check http://www.vbadvanced.com/forum/showpost.php?p=48197&postcount=7 for the proper coding.
Grab news.php from your ftp. Replace 'adv_portal_newsbits' with whichever custom template you wish to use. Make sure your preexisting templates have been updated with the new variables (replies, attatchment, etc.) Rename it whatever and upload it to the modules dir.
Copy an existing and working module (probably news). Choose the module from the drop down menu and fix the cache and settings to your liking. If things went correctly (and if this works for anyone else), your module should now appear.
If you're having trouble copying a module, you may have a dysfunctional 'GO' button. Check http://www.vbadvanced.com/forum/showpost.php?p=48197&postcount=7 for the proper coding.