Re:showing the links in a different order than avail.
Tuesday, 21 October 2008 06:40
Try just dropping your altered php file on top of the existing file after a fresh install. No need to reinstall the entire package after every small change you make to the code. It sounds like you''ll need to do so due to the problems you''ve had, but for future reference, you needn''t usually reinstall a package after making these minor changes.
For now, uninstall the extension, then go into your ftp client and browse into your Joomla installation, and make sure that the mod_weblinkinfo folder is completely gone. Then go back in and reinstall the original package. That puts you back into a normal installation status.
Now, you can just drop your altered php file right on top of the old one (better yet, change the name of the original file by putting a ''_'' at the beginning to make a backup). Now, the new code will be executed instead of the old code. And if you make a mistake, you can just undo your changes, re-save the file, drag your new save over the one online, test again, etc. And if all else fails, you can always delete it and rename the backup to its original name to restore the code to its original glory.
Anyway, I hope my explanation was clear, and I didn''t rush over too much. That should help you at least work out. I''ll leave more detailed advice for the module''s creator, as he''ll be more informed about its inner workings. I know I couldn''t help you with the code itself, but hopefully my advice will make the hacking/testing process a bit easier on you, and you won''t have to deal with the installer anymore once you get the basic extension installed clean.
Good luck! Cheers.