Applied Posted November 13, 2004 Posted November 13, 2004 I guess there are programs out there that search within text files for information. I'm trying to install the Header Tag contribution and it says find about 3 files that include the word title and change it to .... What should I use to do this?
Jack_mcs Posted November 13, 2004 Posted November 13, 2004 You may have mis-read the instructions. You have to change all of the files in your catalog directory that use the title tag (with one exception). The easist way to make all of the changes is to use the autoinstall script I added. If you don't want to use that, you could try using the grep program. Although that will prrobably cause you more work than you want since there is more than one line that needs replacing. Other than either of those methods, you will need to edit each file individually. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Applied Posted November 13, 2004 Author Posted November 13, 2004 I'd prefer to edit them by hand, but would like a list of which files need to be changed. I take it you have that?
Applied Posted November 13, 2004 Author Posted November 13, 2004 I'm trying to use the autoinstall but it's not doing something right. After I download UnxUtils, where do I need to put it? I tried putting sep.exe in the autoinstall directory but that isn't working.
Applied Posted November 13, 2004 Author Posted November 13, 2004 I got the script to install, but it seems it put in a block for everytime it should do a line break and start a new line, what happened, do I need to go into every file and edit it now? The directions of this script leave some key thigns out, and after that I still need to manually do it :angry:
♥Vger Posted November 13, 2004 Posted November 13, 2004 It's only a guess, as I haven't used the auto-install script - but is that executed on the website? To help you out, download a plain text editor called TextPad and install it on your computer. This has a Find and a Replace function which may help you. You can use it to 'Find' all references to a certain piece of text, and once it's done that you right click on the screen where the results are displayed, and select Open All. Then you go through the pages one at a time using the Replace All function to replace all the instances of the text it has found with the text/code you want to insert. If you go into Options it will also allow you to display Line NUmbers so that when you know a piece of code is on a certain line it will find it for you. Even if it doesn't help you with your present problem it will prove to be invaluable when using osCommerce. Vger
Applied Posted November 13, 2004 Author Posted November 13, 2004 That's that will be useful. I finished editting all the files and it seems to be working, sort of. But shouldn't this contribution put the product name in the titlebar as well? can someone please have a look? www.fanready.com also, is there any good reason why i'd want my email address on all pages in a meta tag? Why in the world does this contrib do this?
Jack_mcs Posted November 13, 2004 Posted November 13, 2004 I'd prefer to edit them by hand, but would like a list of which files need to be changed. I take it you have that?Everyones shop is different so there's not much point in listing the files. That's why the instructions say to go through all of your catalog files. That's that will be useful. I finished editting all the files and it seems to be working, sort of. But shouldn't this contribution put the product name in the titlebar as well?It does. I just looked at your site and the title is correct when you click on a product. also, is there any good reason why i'd want my email address on all pages in a meta tag? Why in the world does this contrib do this? <{POST_SNAPBACK}> No, it should be removed IMO. Some people want it there and that is how the original contribution was written so it has been left in. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Applied Posted November 13, 2004 Author Posted November 13, 2004 I'm havnig a problem because in the description of my item i use a lot of html or organize it how I want. The problem is that there are some " (quotes) used in the description, then when the contribution puts the description in the meta tag, it is cut short. Please look at this url's meta tag for example. http://www.fanready.com/os/product_info.php?products_id=123 What happens to the text that is after the " but before the > ? Also does anyone know why it is inserting "FanREADY.com :: What's New Here?>" that in the meta description?
Jack_mcs Posted November 13, 2004 Posted November 13, 2004 The link is not working. Are you saying you are adding html code into the meta tags? If your code uses apostrophes, they need to be esacaped ( \' ). Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Applied Posted November 13, 2004 Author Posted November 13, 2004 sorry the link is: http://www.fanready.com/os/product_info.php?products_id=123
Recommended Posts
Archived
This topic is now archived and is closed to further replies.