David,

Can you describe this in more detail?  It sounds like you built a field 
that combined the content of other fields, if they exist?  Hmmm.  Nice 
hack, but due to other issues, I am not sure I can use this (we are 
creating the json file on the fly utilizing drupal databases).  But more 
details and I might...

Thanks,
Maria

David Karger wrote:
> Maria, I had a similar problem and fixed it with the following hack: I 
> added a new boolean property, "hasInstructorOrCourseNumber" to the 
> exhibit data file, then built my div on ex:if-exists 
> .hasInstructorOrCourseNumber.  The kind of "denormalization" is a Bad 
> Thing according to database engineers but it does provide a quick fix 
> to the problem.
>
> Maria McDowell wrote:
>> Johan,
>> thanks again.  Hmmm, no, I definately meant 'OR'.  And your solution 
>> would create
>> duplicates, yes?  So if .instructor and .coursenumber BOTH exist, I will
>> have both divs, right?  I think that I do not want that, too much 
>> code as
>> you said, and it will duplicate on the page.  Hmmm.  Need to think on 
>> how to
>> solve this.
>>
>> Thanks,
>> Maria
>>
>>
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://simile.mit.edu/mailman/listinfo/general
>>   

-- 
Maria Gwyn McDowell
Instructional Design Resident
IDeS/Honors Program
--
Doctoral Candidate - Theological Ethics
--
Boston College
617.552.8508
http://www.bc.edu/eteaching

--
"Every gun that is made, every warship launched, every rocket fired signifies, 
in the final sense, a theft from those who hunger and are not fed, those who 
are cold and are not clothed. This world in arms is not spending money alone. 
It is spending the sweat of its laborers, the genius of its scientists, the 
hopes of its children... This is not a way of life at all, in any true sense. 
Under the cloud of threatening war, it is humanity hanging from a cross of 
iron."
-Dwight Eisenhower


_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to