bluelagoonproducts Posted September 9, 2005 Share Posted September 9, 2005 Hi... I have tried installing a few mods and I keep getting the same problem. In the instructions it often says go to line 123, but if won't exist, the file hasn't got that many lines, and most of the time the line in question of when I need to edit HTML. Anybody any idea why? Thanks, Nick Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted September 10, 2005 Share Posted September 10, 2005 go to line 123, but if won't exist, the file hasn't got that many lines, and most of the time the line in question of when I need to edit HTML. I can't really follow you here, but if you mean that the line number often is not the same as yours than you are right. I think most authors try to give line numbers that correspond to those in the original file (so the package you originally downloaded). Even when you start with the unmodified file, soon the line numbers won't be right either because you are inserting lines yourself. So don't attach too much value to the line number, look at the code. Line numbers can be useful though. If you have a 1000 lines file (something like admin/categories.php) it is helpful to know whether the line you are looking for is around line 200 or 900. A trick I saw mentioned in the forums once is if you follow the instructions, start with the last instructions mentioned for a page and then work your way up. That way the line numbers should be correct (or at least closer because you insert lines below the area you need to change). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.