Jump to content



Member Since 29 Nov 2007
Offline Last Active Apr 16 2015 07:06 PM

Posts I've Made

In Topic: Which Host Is THE BEST?

26 November 2009 - 08:56 AM

I have 5 domains on HOSTMONSTER
Very good support and much more:

UNLIMITED Hosting Space
UNLIMITED Site Bandwidth
Host UNLIMITED Domains

Unlimited Pop/Imap Email Accounts
SSH Access (Secure Shell)
SSL, FTP, Stats
CGI, Ruby (RoR), Perl, PHP, MYSQL
Front Page Extensions
Free Domain Forever
Free Site Builder
Best Support in the Industry

In Topic: 2.0.8 to 2.0.9 Failure

12 November 2009 - 03:45 PM

You must disallow

Allow customer to signup for membership

in administration -> settings


In Topic: Previous And Next Product Mod W/ SEO Links

12 September 2009 - 09:11 AM

open file : /controllers/customer/products.php

find :

if (count($_SESSION['recently_viewed_products']) > MAX_RECENTLY_VIEWED) {

add after :

/* NEXT PREV PRODUCT by laurent.nguyen@siteseconde.com */
$products = db_get_fields("SELECT product_id FROM ?:products_categories WHERE category_id = ?i AND link_type = 'M' ORDER BY position ASC, product_id ASC", $_SESSION['current_category_id'], CART_LANGUAGE);
$current_p = array_search($_REQUEST['product_id'], $products);
$prev_p = $products[$current_p-1];
$next_p = $products[$current_p+1];
$view->assign('prev_p', $prev_p);
$view->assign('next_p', $next_p);
if ($prev_p)
$view->assign('seo_prev_p', fn_seo_link('p', $prev_p));
if ($next_p)
$view->assign('seo_next_p', fn_seo_link('p', $next_p));
/* --- */

open file : /skins/basic/customer/views/products/view.tpl

find :

<div class="product-image" id="product_images_{$product.product_id}">

replace by :

<div style="margin-bottom: 13px; padding: 3px 10px 0 10px; height: 22px; background-color: #f5f0f2;">{if $seo_prev_p}<a href="{$seo_prev_p}" style="float: left;"><- Précédent</a>{/if} {if $seo_next_p}<a href="{$seo_next_p}" style="float: right;">Suivant -></a>{/if}</div>
<div class="product-image clear-both" id="product_images_{$product.product_id}">

It's working perfectly for me.

Enjoy !

When product status is DISABLE or HIDE is listed as next/prev too.
I need list only active products.
Please, how to?