pluck
pluck 4.7 out now, download it today!

pluck support forums

for all your questions about the easiest CMS on the planet

You are not logged in.

Announcement

New registrations are disabled for some spam problems. New registrations will be avaliable soon. If you want to help to keep forum away from spam - contact us.
Please post your bug reports on Launchpad.

#1 18-12-2009 13:52:35

Methuselah
Member
Registered: 14-03-2009
Posts: 63

news + image

i'm just tinkering around now, is there a quick way to upload an image when you add a news article, pref with a thumbnail. I've been trying it myself by using code fomr the albums module, but keep getting an error -

Undefined index : imagefile..

anyone have any ideas?

Last edited by Methuselah (18-12-2009 13:58:34)

Offline

#2 17-02-2011 11:11:26

a_bach
developer/module guru
From: Poland
Registered: 24-11-2008
Posts: 439
Website

Re: news + image

Methuselah wrote:

i'm just tinkering around now, is there a quick way to upload an image when you add a news article, pref with a thumbnail. I've been trying it myself by using code fomr the albums module, but keep getting an error -

Undefined index : imagefile..

anyone have any ideas?

Try to use $_POST, and dont forget about arrays

When you dont know where is problem try to echo var_dump($variable);

Offline

Board footer

Powered by FluxBB