theMusicMan Posted July 6, 2003 Posted July 6, 2003 Hi All... I would like to add another image to the header.php file that points to my main www site. The way I would like to do this is to add another variable containing whatever URL I'd like to point to. I can see that this line of code: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'tMP eShop Entrance') . '</a>'; ?></td> ...actually uses the variable 'FILENAME_DEFAULT' to determine the URL - si I will add another variable called 'FILENAME_HOME' - but in which file would these be defined so I can add an entry...? Thanks John John
equilla Posted July 6, 2003 Posted July 6, 2003 Hi John, the file you need to add the definition of your new constant to is: catalog/includes/application_top.php Cheers, Mark Mark Stephens Contribs: http://www.oscommerce.com/community/contributions,1680 http://www.oscommerce.com/community/contributions,1467 http://www.oscommerce.com/community/contributions,1422
Recommended Posts
Archived
This topic is now archived and is closed to further replies.