Jump to content

emilianoc

Members
  • Content count

    10
  • Joined

  • Last visited

Profile Information

  • Real Name
    Emiliano Casta?o
  1. emilianoc

    Featured products mod

    I do it myself!!! emiliano
  2. emilianoc

    Featured products mod

    I made my first ever contribution!!!!! woooohoooooo :D :D At the moment I'm with many exams at the university, but later I will upload the contribution as a package.. just wait, it's really a great contribution, I'm sorprised that I made it!! Cheers Emiliano
  3. emilianoc

    Featured products mod

    Hello I made some modifications to the Featured Products mod that I will upload as a new version, but I need some help to finish it. With this contribution you can set a short description for every product, and the idea is to show this short description in the default page. Everything works great! I can create new products with a short description or not in every language set in the site, I can previsualize the new product, or update it. But (yes.. there is allways a but!) In catalog/includes/modules/featured_products_short.php (is a modification of featured_products.php) is where I have the code that shows the list of featured products in default.php <td valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '"><b><u>' . $featured_products_array[$i]['name'] . '</u></b></a><br>' . '<br>' . TEXT_PRICE . ' ' . $products_price; ?></td> I'd like to show the short description in that cell.. but I can't do it! I know that I have to take the value from catalog/includes/modules/featured_products.php $featured_products_query = tep_db_query($featured_products_query_raw); while ($featured_products = tep_db_fetch_array($featured_products_query)) { $featured_products_array[] = array('id' => $featured_products['products_id'], 'name' => $featured_products['products_name'], 'shortdescription' => $featured_products['products_shortdescription'], 'image' => $featured_products['products_image'], 'price' => $featured_products['products_price'], 'specials_price' => $featured_products['specials_new_products_price'], 'tax_class_id' => $featured_products['products_tax_class_id'], 'manufacturer' => $featured_products['manufacturers_name']); } But if I add $products_shortdescription or $featured_products_array[$i]['shortdescription'] nothing seems to be working.. Some help? Emiliano my english really sucks.. but i hope that someone could understand what i'm trying to say...
  4. emilianoc

    Featured products mod

    Hello I made some modifications to the Featured Products mod that I will upload as a new version, but I need some help to finish it. With this contribution you can set a short description for every product, and the idea is to show this short description in the default page. Everything works great! I can create new products with a short description or not in every language set in the site, I can previsualize the new product, or update it. But (yes.. there is allways a but!) In catalog/includes/modules/featured_products_short.php (is a modification of featured_products.php) is where I have the code that shows the list of featured products in default.php <td valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '"><b><u>' . $featured_products_array[$i]['name'] . '</u></b></a><br>' . '<br>' . TEXT_PRICE . ' ' . $products_price; ?></td> I'd like to show the short description in that cell.. but I can't do it! I know that I have to take the value from catalog/includes/modules/featured_products.php $featured_products_query = tep_db_query($featured_products_query_raw); while ($featured_products = tep_db_fetch_array($featured_products_query)) { $featured_products_array[] = array('id' => $featured_products['products_id'], 'name' => $featured_products['products_name'], 'shortdescription' => $featured_products['products_shortdescription'], 'image' => $featured_products['products_image'], 'price' => $featured_products['products_price'], 'specials_price' => $featured_products['specials_new_products_price'], 'tax_class_id' => $featured_products['products_tax_class_id'], 'manufacturer' => $featured_products['manufacturers_name']); } But if I add $products_shortdescription or $featured_products_array[$i]['shortdescription'] nothing seems to be working.. Some help? Emiliano my english really sucks.. but i hope that someone could understand what i'm trying to say...
  5. emilianoc

    Detect if cURL is installed on host

    Hello.. what is cURL? thanks in advance emiliano
  6. emilianoc

    [CONTRIBUTION] Latest News v1.0.0

    As I told you by mail it'd be nice to have this features: *Short text news in default.php.. and a link to a full story file inside the site.. a master/detail page... *The posibility to insert images.. Thanks in advance Emiliano Casta?o
×