Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No HTML in php files?


Recommended Posts

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).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...