Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2008
    Posts
    67
    Plugin Contributions
    0

    Default Center Box's : Style and position

    Hi guys,

    Im having a little trouble acheivuing the desired results with my center box's

    basically i cant seem to get the product description to dsplay, and, despite manageing to get "more info" links... theny dont sem to woprk correctly.

    Can anyone please take a look at my code and maybe help me to debug?

    PHP Code:
    $list_box_contents[$row][$col] = array('params' =>'class="centerBoxContentsFeatured centeredContent back"' ' ' 'style="width:' $col_width '%;"',
    'text' => '<a href="' zen_href_link(zen_get_info_page($featured_products->fields['products_id']), 'products_id=' $featured_products->fields['products_id']) . '">' zen_image(DIR_WS_IMAGES $featured_products->fields['products_image'], $featured_products->fields['products_name'], IMAGE_FEATURED_PRODUCTS_LISTING_WIDTHIMAGE_FEATURED_PRODUCTS_LISTING_HEIGHT) . '</a><br /><a href="' zen_href_link(zen_get_info_page($featured_products->fields['products_id']), 'products_id=' $featured_products->fields['products_id']) . '">' $featured_products->fields['products_name'] . '</a><br />' '<div class=price_test>' $products_price '</div>' '<br />' $products_description $info_link); 
    that should be the only code that needs looking at ..... if you go right to the end you will see the $products_description and the $info_link variables are indeen being called.

    here is the code that defines these two variables :

    PHP Code:
    $products_description zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($featured_products->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION);

    $info_link '<a href="' zen_href_link(zen_get_info_page($featured_products->fields['products_id']), 'products_id=' $featured_products->fields['products_id']) . '"> more info...</a>'
    now... the more info link displays correctly.... but... doesnt link to the actual product information.

    And the product description doesnt display at all!

    just seems really wired ... and would love any help any of you guys can give.... :)

    Thanks

    Acc
    Last edited by accurax; 3 Aug 2008 at 04:10 PM.

  2. #2
    Join Date
    Mar 2008
    Posts
    67
    Plugin Contributions
    0

    Default Re: Center Box's : Style and position

    just the description im having problems with now.

    gonna dip into the db and write the sql myself i think

 

 

Similar Threads

  1. Center box position
    By logicalstep in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 6 Jun 2013, 08:05 PM
  2. sidebox content, style, and position
    By cyberbaffled in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Apr 2012, 04:17 AM
  3. Center Box Graphic and Have Center Boxes side by side
    By DebiWebi in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 16 Sep 2009, 03:58 PM
  4. center position of review box and bestseller box.
    By littlehawk in forum Basic Configuration
    Replies: 4
    Last Post: 26 Feb 2009, 02:07 AM
  5. How do I get the home/login etc buttons to center and the attributes box to center?
    By eye will in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 6 Nov 2007, 09:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg