TinyPortal

Development => Support => Topic started by: eline on March 18, 2008, 01:36:27 PM

Title: How to made attached photos on main page?
Post by: eline on March 18, 2008, 01:36:27 PM
Hi I want to made short message with a first image attachment thumbnails if exists.

Already look on SMF forum and use some mods from there, but they are not working in TP - propably due to issue how informations are taken from dayabase.

Could You help my how this can by made?

regards
Title: Re: How to made attached photos on main page?
Post by: IchBin on March 18, 2008, 02:31:14 PM
Sorry, but I do not understand what you are asking about at all. Could you explain what you want in more detail please?
Title: Re: How to made attached photos on main page?
Post by: eline on March 18, 2008, 02:43:58 PM
Tx for reply

On main page from TP i can use "news" from SMF in 4 different layaut mode, I want on one of this mode use also attachment from post.

So I would have attachment ( if it is a photo and have thumbnail ) included in post teaser on start site.

Just teaser news with photos.
Title: Re: How to made attached photos on main page?
Post by: IchBin on March 18, 2008, 05:11:52 PM
Ah yes, I see what you are saying now. I don't know of any plans to have TP display attachments. If you'd like, you can put in a request in to the requests board and maybe Bloc will add it?
Title: Re: How to made attached photos on main page?
Post by: eline on March 18, 2008, 06:15:03 PM
Hi
of coure im interested, but propably I will find solution in few days.

Could You give my example where TP ask database for front block?

Best regards
Title: Re: How to made attached photos on main page?
Post by: IchBin on March 18, 2008, 07:33:54 PM
TPortal.php and TPortal.template you will see how Front blocks are called.