DEMAND Performance Posted December 14, 2005 Share Posted December 14, 2005 I want to replace the text displayed on the top left where the heading title goes, I am trying to use the built-in banner function and having some trouble. Here is my code: define('HEADING_TITLE', 'tep_display_banner('static','4')'); Here is my error: Parse error: parse error, unexpected T_STATIC in /home/demandb/public_html/shop/includes/languages/english/shopping_cart.php on line 14 I imagine it's a basic syntax thing or I'm trying to make it do something that's inappropriate in that spot, but I'm new! Thanks so much for your help. :thumbsup: Link to comment Share on other sites More sharing options...
Guest Posted December 14, 2005 Share Posted December 14, 2005 The internal single quotes are the problem, Try: $some_banner = tep_display_banner('static','4'); define('HEADING_TITLE', $some_banner); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.