Advertisement:

Author Topic: Thumbnail on home for latest ads  (Read 2051 times)

Ozzy

  • Newbie
  • *
  • Posts: 8
Thumbnail on home for latest ads
« on: October 29, 2010, 05:38:48 am »
Hi,

Im trying to make latest ads with thumbnail-image on index-page.
Listing is ok > you can check here > http://www.gebrauchtemoebel.at/
But i can only call "fk_i_item_id" - but this is id number for item.
Code: [Select]
<img style="margin-left:10px; margin-right:10px;" align="left" src="../../../oc-content/uploads/<?php echo $a['fk_i_item_id'?>_thumbnail.png">
But images are false here :\

How can i call 'oc_t_item_resource' > "s_path" ?

------------------------------------------------------------

On 'oc_t_item_description' table is > "fk_i_item_id"
On 'oc_t_item_resource' table is also > "fk_i_item_id"

We need to connect them. Then calling "s_path" on 'oc_t_item_resource'.

Thanks,
(Sorry for bad english)
Best Regards.

guri

  • Newbie
  • *
  • Posts: 8
Re: Thumbnail on home for latest ads
« Reply #1 on: October 29, 2010, 04:52:03 pm »
Hi Ozzy,

I have just seen your website. You have same problem which I have, while register a new user. It shows us beneath message.

Could not instantiate mail function.
Warning: Cannot modify header information - headers already sent by (output started at /data/web/e17548/html/gebrauchtemoebel/oc-includes/phpmailer/class.phpmailer.php:586) in /data/web/e17548/html/gebrauchtemoebel/oc-includes/osclass/utils.php on line 36

Could you fix up the same?

-   Guri

Ozzy

  • Newbie
  • *
  • Posts: 8
Re: Thumbnail on home for latest ads
« Reply #2 on: October 29, 2010, 05:05:30 pm »
Im testing the ways to get "s_path" but it does not work.
I tried with SQL ( LEFT JOIN ) to get data (s_path on oc_t_item_resource)... but i could not manage it...

----

For your Problem..

check your PHPinfo..
Maybe u dont have "phpmailer" function on your server?

Ozzy

  • Newbie
  • *
  • Posts: 8
Re: Thumbnail on home for latest ads
« Reply #3 on: October 29, 2010, 05:09:04 pm »
Check this : /oc-admin/settings.php?action=mailserver