Forums / Basic Configuration / Images in Sideboxes Instead of Text

Images in Sideboxes Instead of Text

Locked

Views: 1,071

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
9 Sep 2008, 8:50 PM
#1
sturmgeschutz avatar

sturmgeschutz

New Zenner

Join Date:
Aug 2008
Posts:
19
Plugin Contributions:
0

Images in Sideboxes Instead of Text

Title says it all...:smile: I used categories dressing to use images instead of text links (see https://www.worldwariiattic.ca) but i would like to do the same for my Information and more information sideboxes. Anyone know how to proceed or if there's another mod available i might have missed for such a purpose? Thank you.

Matt

19 Sep 2008, 6:07 AM
#2
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Images in Sideboxes Instead of Text

includes/modules/sideboxes...information.php and more_information.php and you can edit the links there to an image instead....and save to your overides folder

For example:

  if (DEFINE_SHIPPINGINFO_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>';
  }
```can be changed to

if (DEFINE_SHIPPINGINFO_STATUS <= 1) {
$information[] = '<a href="' . zen_href_link(FILENAME_SHIPPING) . '"><img src="[image url here]"></a>';
}

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe