Jump to content

webvision

Members
  • Content count

    6
  • Joined

  • Last visited

Everything posted by webvision

  1. webvision

    Links Manager II

    thank you for that. It worked for other people that want to do this, here's the whole code for /includes/boxes/links.php <!-- links.php //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_LINKS); new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_LINKS)); while($link = tep_db_fetch_array($link_featured_query)) { $info_box_contents = array(); $info_box_contents[] = array('align' => 'center', 'text' => '<a href="' . $link['links_url'] . '" target="_' . $openMode . '">' . $link['links_title'] . '</a><br>'); new infoBox($info_box_contents); } ?> </td> </tr> <!-- links.php_eof //-->
  2. webvision

    Links Manager II

    Can someone please guide me in the right direction? I'm trying to display more then 1 featured link in /includes/boxes/links.php When i add one more line like the following code. it just displays the same link twice: $info_box_contents[] = array('align' => 'center', 'text' => '<a href="' . $link['links_url'] . '" target="_' . $openMode . '">' . $link['links_title'] . '</a><br>' . '<a href="' . $link['links_url'] . '" target="_' . $openMode . '">' . $link['links_title'] . '</a><br>'); I want it to display 10 different featured or regular links.. whichever is easier to do. Thank you
×