FrancescoMusone Posted April 12, 2011 Share Posted April 12, 2011 Hello everyone, I am writing to ask you to help me on a problem I have with oscommerce. I would change the <title> advance_search_result page so that I see a title with this form *PRODUCTS* *LINE*. how can I do? Link to comment Share on other sites More sharing options...
Guest Posted April 12, 2011 Share Posted April 12, 2011 Francesco, You can edit the language definition for that page in the /includes/langauges/english/advanced_search.php file define('NAVBAR_TITLE_1', 'Advanced Search'); define('NAVBAR_TITLE_2', 'Search Results'); define('HEADING_TITLE_1', 'Advanced Search'); define('HEADING_TITLE_2', 'Products meeting the search criteria'); Chris Link to comment Share on other sites More sharing options...
FrancescoMusone Posted April 12, 2011 Author Share Posted April 12, 2011 Thanks to Chris of the answer, but maybe I could not explain well. I would like to change the tag <title> </ title> dynamically, giving it a variable that should be found from the database, or "products_name" and "products_description" as having the tag in the form *PRODUCTS* *LINE*. I can not proceed on this page to get the result I want. Link to comment Share on other sites More sharing options...
Hotclutch Posted April 12, 2011 Share Posted April 12, 2011 Thanks to Chris of the answer, but maybe I could not explain well. I would like to change the tag <title> </ title> dynamically, giving it a variable that should be found from the database, or "products_name" and "products_description" as having the tag in the form *PRODUCTS* *LINE*. I can not proceed on this page to get the result I want. You will have to construct a query before the <title> tag and then have something like <title><?php echo $keywords; ?></title> Link to comment Share on other sites More sharing options...
FrancescoMusone Posted April 12, 2011 Author Share Posted April 12, 2011 I still ask excuse, the speech of the query is clear but how do I enter the tag <title> advanced_search_result if the page does not say the tag <title>? Link to comment Share on other sites More sharing options...
Hotclutch Posted April 13, 2011 Share Posted April 13, 2011 I still ask excuse, the speech of the query is clear but how do I enter the tag <title> advanced_search_result if the page does not say the tag <title>? Which version of oscommerce are you using? If it is V2.3x then you will have to write a module for this. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.