ho provato un po' di combinazioni,
ma non cambia nulla:
shop.browse.php ORIGINALE
if ($DescOrderBy == "DESC") {
$icon = "sort_desc.png";
$selected = Array( "selected=\"selected\"", "" );
$asc_desc = Array( "DESC", "ASC" );
}
else {
$icon = "sort_asc.png";
$selected = Array( "", "selected=\"selected\"" );
$asc_desc = Array( "ASC", "DESC" );
CASE1 :
if ($DescOrderBy == "DESC") {
$icon = "sort_desc.png";
$selected = Array( "selected=\"selected\"", "" );
$asc_desc = Array( "ASC", "DESC" );
}
else {
$icon = "sort_asc.png";
$selected = Array( "", "selected=\"selected\"" );
$asc_desc = Array( "ASC", "DESC" );
}
CASE2 :
if ($DescOrderBy == "DESC") {
$icon = "sort_desc.png";
$selected = Array( "selected=\"selected\"", "" );
$asc_desc = Array( "ASC", "DESC" );
}
else {
$icon = "sort_asc.png";
$selected = Array( "", "selected=\"selected\"" );
$asc_desc = Array( "DESC", "ASC" );
}
CASE3 :
if ($DescOrderBy == "ASC") {
$icon = "sort_desc.png";
$selected = Array( "selected=\"selected\"", "" );
$asc_desc = Array( "ASC", "DESC" );
}
else {
$icon = "sort_asc.png";
$selected = Array( "", "selected=\"selected\"" );
$asc_desc = Array( "DESC", "ASC" );
}
CASE4 :
if ($DescOrderBy == "ASC") {
$icon = "sort_desc.png";
$selected = Array( "selected=\"selected\"", "" );
$asc_desc = Array( "DESC", "ASC" );
}
else {
$icon = "sort_asc.png";
$selected = Array( "", "selected=\"selected\"" );
$asc_desc = Array( "DESC", "ASC" );
}
CASE5 :
if ($DescOrderBy == "ASC") {
$icon = "sort_desc.png";
$selected = Array( "selected=\"selected\"", "" );
$asc_desc = Array( "ASC", "ASC" );
}
else {
$icon = "sort_asc.png";
$selected = Array( "", "selected=\"selected\"" );
$asc_desc = Array( "ASC", "ASC" );
}
CASE6 :
if ($DescOrderBy == "DESC") {
$icon = "sort_desc.png";
$selected = Array( "selected=\"selected\"", "" );
$asc_desc = Array( "ASC", "ASC" );
}
else {
$icon = "sort_asc.png";
$selected = Array( "", "selected=\"selected\"" );
$asc_desc = Array( "ASC", "ASC" );
}
CASE7 :
if ($DescOrderBy == "DESC") {
$icon = "sort_desc.png";
$selected = Array( "selected=\"selected\"", "" );
$asc_desc = Array( "DESC", "DESC" );
}
else {
$icon = "sort_asc.png";
$selected = Array( "", "selected=\"selected\"" );
$asc_desc = Array( "DESC", "DESC" );
}
------------------------------------------------------
qui dopo aver provato a modificare
il file
browse_header_category.tpl.phpdel template di virtuemart
<?php if( trim(str_replace( "<br />", "" , $desc)) != "" ) { ?>
<div style="width:100%;float:left;">
<?php echo $desc; ?>
</div>
<br class="clr" /><br />
<?php
}
?>
CASE1 :
if ($DescOrderBy == "DESC") {
$icon = "sort_desc.png";
$selected = Array( "selected=\"selected\"", "" );
$asc_desc = Array( "ASC", "DESC" );
}
else {
$icon = "sort_asc.png";
$selected = Array( "", "selected=\"selected\"" );
$asc_desc = Array( "ASC", "DESC" );
}
CASE2 :
if ($DescOrderBy == "DESC") {
$icon = "sort_desc.png";
$selected = Array( "selected=\"selected\"", "" );
$asc_desc = Array( "ASC", "DESC" );
}
else {
$icon = "sort_asc.png";
$selected = Array( "", "selected=\"selected\"" );
$asc_desc = Array( "DESC", "ASC" );
}
CASE3 :
if ($DescOrderBy == "ASC") {
$icon = "sort_desc.png";
$selected = Array( "selected=\"selected\"", "" );
$asc_desc = Array( "DESC", "ASC" );
}
else {
$icon = "sort_asc.png";
$selected = Array( "", "selected=\"selected\"" );
$asc_desc = Array( "ASC", "DESC" );
}
CASE4 :
if ($DescOrderBy == "ASC") {
$icon = "sort_desc.png";
$selected = Array( "selected=\"selected\"", "" );
$asc_desc = Array( "ASC", "DESC" );
}
else {
$icon = "sort_asc.png";
$selected = Array( "", "selected=\"selected\"" );
$asc_desc = Array( "DESC", "ASC" );
}
ho provato anche a cambiare template di VM ma nulla,
ho provato a rigenerare i link di sh404 ma nulla...
IDEE ??