Closed (fixed)
Project:
Image Assist
Version:
6.x-2.0-alpha3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2009 at 17:05 UTC
Updated:
12 Apr 2009 at 12:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
jonathan1055 commentedDone some further testing. In function image_assist_header_form, for the un-modified default view there is an item in the view object called get_total_rows which has value 1. In the modified view this item does not seem to appear. I added:
before the row that calls $myimages->execute(); and it now does return a value in $myimages->total_rows
So the question is, why is the item get_total_rows missing when the the default view is modified to drop one filter condition, and can it safely be reset here. The same is required in the next chunk, ie $allimages->get_total_rows=1;
Can these mods be added into the next patch?
Comment #2
corbacho commentedSame issue here with Image Assist 6.x-3.x-dev and 6.x-1.0-alpha4. I just installed them and they where working fine until suddenly they stopped working, after some hours, I couldn't say what I have touched. Because the CSS of Image Assist doesn't affect, or m
Anyway, thanks jonathan1055 for offering your solutions. It happens to me the same: Not images shown after upload them through Image Assit.
Even I publish them and put them in front page, they didn't appear . Also admin or authenticated user.
I went to views as you said, turn of Published and now is fine.
Also I have made the changes $myimages->get_total_rows=1 and $allimages->get_total_rows=1 to get the numbers again.
But I would like to have numbers also by terms (I have a vocabulary for images), but this doesn't follow the same logic than before, there is not get_total_rows in that part of the code. Some help?
UPDATE. It count's by terms too, not necessary any other fixing about counting.
I found that the problem is when I press the button "image assist" by TinyMce 3, then it doesn't store the taxonomy.
But if I go to "create content" -> Image -> and I select the taxonomy there, IT store it.
Should I put this in a new issue?
Comment #3
jonathan1055 commentedHere is a patch for the two lines that need to be added. Created against 6.x-2.0-alpha3.
Comment #4
sunThanks!
Committed with slight modifications to all 6.x branches.
Comment #5
jonathan1055 commentedThanks.
Yes I should have used TRUE not 1