Search found 3 matches

by itsthetaste
Sun Feb 03, 2008 2:05 pm
Forum: Joomla! Coding 101
Topic: Adding object into object list
Replies: 1
Views: 353

Re: Adding object into object list

OK, after a few more hours I found i could do it like this.

$newimage = new stdClass;
$newimage->imagesrc = 'image.jpg';
         
$_SESSION['images'][count($_SESSION['images'])] = $newimage;

So it was the format. :)
by itsthetaste
Sun Feb 03, 2008 4:15 am
Forum: Joombie Coding Q/A
Topic: Fancyuploader or Swif or whatever...
Replies: 2
Views: 668

Re: Fancyuploader or Swif or whatever...

Hi, Ive just stumbled across your post.  Looks like im doing the same thing you are.  I'm not sure if your trying to achive the same thing as me.  Im attempting to allow an admin to upload images that dont get uploaded via the mediamanager into the content, but just get uploaded to th...
by itsthetaste
Sun Feb 03, 2008 4:00 am
Forum: Joomla! Coding 101
Topic: Adding object into object list
Replies: 1
Views: 353

Adding object into object list

Hi, This is probably really easy, but my PHP skills arent very good so any assistance would be most welcome. I have a db query like this. $query = "SELECT imagesrc FROM #__adverts_images WHERE advertid = ".(int) $row->id; $db->setQuery($query); $imagerows = $db->loadObjectList(); i am then placing t...