RE: [Suggestion] - "Let's see what we have here"

Hunkah <[email protected]>
Newsgroups gmane.comp.web.oscommerce.suggestions
Message-ID <c7ff63a1a7ff76487f60d0eda289fa88@osCommerce-Forums>
This message was sent from: Suggestions and Proposals
http://forums.oscommerce.com/viewtopic.php?p=197343#197343
----------------------------------------------------------------

[quote="vidmaster"]The change I made was slightly different and will save you the extral sql query when loading category listings. I am by no means a php expert, so I may have missed something. It works great on my site though.

In [b]/catalog/includes/languages/[lang_here]/default.php[/b]:

Find the define for heading_title and change it to

[code]
  define('HEADING_TITLE', ucwords(strtolower($categories['categories_name'])));
[/code][/quote]

[b][color=red]This will work!!!![/color][/b]

There were three changes I made to  [b]/catalog/includes/languages/english/index.php:[/b]

[code]line 19: define('HEADING_TITLE', 'Let\'s See What We Have Here');
line 38: define('HEADING_TITLE', 'What\'s New Here?');
line 40: define('HEADING_TITLE', 'Categories');
[/code]

Change each of these to:

[code]define('HEADING_TITLE', ucwords(strtolower($categories['categories_name']))); [/code]

And it will work!

[color=blue]Thank-you [b]vidmaster[/b] for making this and Thank-you [b]The_Bear[/b] for finding it![/color]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.