Jump to content


Corporate Sponsors


Latest News: (loading..)

donnirai

Member Since 17 Sep 2008
Offline Last Active Sep 10 2011, 17:32
-----

Posts I've Made

In Topic: Basics for Design V2.3+

10 September 2011, 02:57

lol! Thanks so much Nick.

In Topic: Basics for Design V2.3+

09 September 2011, 08:30

HOW DO YOU MOVE THE INFO BOXES?

For example. I want to move the 'what's new' info box to the content on home page. But the move is not a smooth copy. I know how to move the link for the text, but moving the image, breaks the link to the image. I went to:
includes > modules > boxes
and from there copied, modified and pasted the box code onto the stores default home page.
Again, it worked. But the link to the image is broken.
My PHP needs more improvement, as I'm growing everyday. Anyhow can someone see were the code to the image is broken? Here it is.....


<div class="ui-widget infoBoxContainer">
<div class="ui-widget-header infoBoxHeading">
<?php echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW) . '">' . MODULE_BOXES_WHATS_NEW_BOX_TITLE . '</a>'; ?>
</div>
<div class="ui-widget-content infoBoxContents" style="text-align: center;">
<?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $random_product['products_image'], $random_product['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; ?>
</div>
</div>

Anyone have a clue what I'm doing wrong, please help, and thank you so much ahead of time.

Donni Rai