You are here:  » Formatting the CONTENTS


Formatting the CONTENTS

Submitted by marcelo on Mon, 2006-04-24 06:36 in

Good day David,
I have a question for formatting the CONTENTS with search.php and products.php!
The current allocation with search.php looks in such a way:
Panasonic KX FC195G C
Normalpapier Fax mit Anrufbeantworter und schnurlosen Telefon DECT für zu Hause Faxen, schnurlos telefonieren und kopieren das KX FC195 ist ein wahres Multitalent! Das Normalpapier Fax arbeitet .. Lieferzeit ab Lager Hersteller Panasonic

and so I would like to have the expenditure:
Panasonic KX FC195G C
Normalpapier Fax mit Anrufbeantworter und schnurlosen Telefon DECT für zu Hause Faxen, schnurlos telefonieren und kopieren das KX FC195 ist ein wahres Multitalent! Das Normalpapier Fax arbeitet ..
Lieferzeit ab Lager
Hersteller Panasonic

Equal formatting is to be taken over also with the product detail side (products.php).

Thank you already once for your support!
Best greetings
Marcelo

Ps. Translation with Babel Fish

Submitted by support on Mon, 2006-04-24 08:20

Hi Marcelo,

I am afraid I am not quite sure what you mean. Are you using the extras feature, and you want the extra fields displayed below the description instead of on the end?

Submitted by marcelo on Mon, 2006-04-24 14:57

Hello David,
it is correct, I the articles imported and under EXTRA two additional fields activated.
These fields indicate to me once the delivery status, thus like for a long time last the supply of the order, the second field are the manufacturer.

Greeting Marcelo

Submitted by support on Mon, 2006-04-24 15:12

Hi Marcelo,

This should work. In includes/admin.php, change from:

<?php
    
/* apply extras */
    
if ($admin_importExtrasExist)
    {
      foreach(
$admin_importExtras as $k => $v)
      {
        
$record[$admin_importFeed["field_description"]] .= " ".$v." ".$record[$k]." ";
      }
    }
?>

(about line 186) to:

<?php
    
/* apply extras */
    
if ($admin_importExtrasExist)
    {
      foreach(
$admin_importExtras as $k => $v)
      {
        
$record[$admin_importFeed["field_description"]] .= "<br />".$v." ".$record[$k]." ";
      }
    }
?>

You will need to import again before it has any effect...