This will definitely go into v2.1 ... always annoyed me having click the tiny arrow image!
Although, the code for the building the link is already in the catalog/includes/boxes code using
Code:
<?php echo $boxLink; ?>
for example:catalog/includes/boxes/specials.php
Code:
$boxLink = '<a href="' . tep_href_link(FILENAME_SPECIALS) . '"><img src="images/infobox/arrow_right.gif" border="0" alt="more" title=" more " width="12" height="10"></a>';
So perhaps - rather than putting the link to the infoBoxHeader in twice we should consolidate the code a bit? Merge $boxHeading and $boxLink ...
Perhaps simply adding the link code to $boxHeading and removing $boxLink alltogether ...
Eg.
Code:
$boxHeading = '<a href="' . tep_href_link(FILENAME_SPECIALS) . '">' . BOX_HEADING_SPECIALS . '<img src="images/infobox/arrow_right.gif" border="0" alt="more" title=" more " width="12" height="10"></a>';
and then in the template/boxes/box.tpl.php remove
Code:
<?php echo $boxLink; ?>
From line 9.
This would mean that the link was only set once in one place ...
Thoughts?
Regards,
Bookmarks