webshopgyrl Posted November 8, 2008 Share Posted November 8, 2008 I'm trying to get my store to list the Category instead of "Let's see ... " ... any one been there/done that and can point me in the right direction? And is there a trick to how your products are listed in the categories? Any way to control the grouping? If I have two items the same size, I'd like to group them together instead of the alpha listing it does now. Thanks for your help -- you guys are great! Pam Link to comment Share on other sites More sharing options...
Guest Posted November 8, 2008 Share Posted November 8, 2008 As to the first question you could try this. Display cat name You could also look into header tags controler. Search for it in the addons. As th o the second question, not sure about that one. Link to comment Share on other sites More sharing options...
webshopgyrl Posted November 8, 2008 Author Share Posted November 8, 2008 As to the first question you could try this.Display cat name You could also look into header tags controler. Search for it in the addons. As th o the second question, not sure about that one. Thanks for your help Brian! Maybe I'm making this too hard ... trying to grab all the loose strings at once -- maybe all I have to do is redefine what what that opening line is looking for. Still ... if anyone has a better answer let me know before I jump in with tools in hand ... I'm not the best mechanic. LOL Pam :blush: Link to comment Share on other sites More sharing options...
Guest Posted November 8, 2008 Share Posted November 8, 2008 Maybe I'm making this too hard ... trying to grab all the loose strings at once Not sure what you mean there. What ever you do make sure you backup your files before you change them. Link to comment Share on other sites More sharing options...
Enzio_Ferrari Posted November 8, 2008 Share Posted November 8, 2008 The "let's see ..." bit is easy. Open this original file from your HDD into Wordpad or Notepad (definitely NOT Word or similar!) oscommerce/catalog/includes/languages/english/index.php **The reason for using the simplest of text editors is that most of the 'better' ones tend to embedd Rich Text or other non-printing commands into the structure of the file which only serve to confuse the .php file structure. If you want this kind of thing inside text for formatting purposes it has to be added as HTML.** Scroll down towards the bottom where there are several lines starting with the word define One of them (second up if memory serves) contains that line enclosed in single quotes Change that text to what you want to see - remembering to retain the single quotes and that if you want to display an apostrophe it MUST be preceeded by a \ or it will be treated as the end of the printable text. Now save it using Save as ... with the option Text Document in Wordpad or Text Documents(.txt) in Notepad Open your website file structure, preferably with an FTP app, go to catalog/includes/languages/english/ and rename the file to index.BAK. Transfer the altered file to the same location and rename it index.php. Try it out. If it works then all is fine. If it doesn't you can delete it and rename index.BAK to index.php and you're back where you started! Once you've got the hang of it there are several other page headings, sub-headings and other page texts that can easily be altered in the same file. When all else fails ... RTFI ... then ... GIVE UP! Link to comment Share on other sites More sharing options...
webshopgyrl Posted November 8, 2008 Author Share Posted November 8, 2008 The "let's see ..." bit is easy.Open this original file from your HDD into Wordpad or Notepad (definitely NOT Word or similar!) oscommerce/catalog/includes/languages/english/index.php **The reason for using the simplest of text editors is that most of the 'better' ones tend to embedd Rich Text or other non-printing commands into the structure of the file which only serve to confuse the .php file structure. If you want this kind of thing inside text for formatting purposes it has to be added as HTML.** Scroll down towards the bottom where there are several lines starting with the word define One of them (second up if memory serves) contains that line enclosed in single quotes Change that text to what you want to see - remembering to retain the single quotes and that if you want to display an apostrophe it MUST be preceeded by a \ or it will be treated as the end of the printable text. Now save it using Save as ... with the option Text Document in Wordpad or Text Documents(.txt) in Notepad Open your website file structure, preferably with an FTP app, go to catalog/includes/languages/english/ and rename the file to index.BAK. Transfer the altered file to the same location and rename it index.php. Try it out. If it works then all is fine. If it doesn't you can delete it and rename index.BAK to index.php and you're back where you started! Once you've got the hang of it there are several other page headings, sub-headings and other page texts that can easily be altered in the same file. Jan, thanks so much for your help! I love the tip about the ".bak" file -- I can't believe I haven't been doing it that way!!! But what I was trying to figure out is how to get the page to display the category name instead of the "let's see ..." ... where it might say "Category: Hardware" or just "Hardware" on each appropriate page, changing for each category, depending on what link the customer clicked. Does that make sense? Thanks again!! Pam Link to comment Share on other sites More sharing options...
Enzio_Ferrari Posted November 8, 2008 Share Posted November 8, 2008 Someone may be along shortly to prove me a liar but I believe that each category page has to have the same heading. At least it can't be changed that way as each category page calls the same definition. Which is why I've changed mine to something neutral: "Just a few Ideas ... More to Come" I don't know what you sell on your site but I'm sure you can come up with something apropriate :D As an afterthought it may be possible to search out the definition call on each category page and point it to your own definition. Dunno :blush: When all else fails ... RTFI ... then ... GIVE UP! Link to comment Share on other sites More sharing options...
LordPG Posted November 8, 2008 Share Posted November 8, 2008 Scroll down towards the bottom where there are several lines starting with the word define One of them (second up if memory serves) contains that line enclosed in single quotes Hi, almost all lines start with the word define and I can't seem to find the one you mention, don't you know what line it is, 32? 21? I dont know. Link to comment Share on other sites More sharing options...
Enzio_Ferrari Posted November 8, 2008 Share Posted November 8, 2008 It's the one with 'HEADING_TITLE' and 'What\'s new Here' on it (the first of them)! The second one up - also with 'HEADING_TITLE' in it - contrary to what i previously claimed, is the title of the Shop's Front Page. When all else fails ... RTFI ... then ... GIVE UP! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.