Quote:
Originally Posted by draugluin
@ Hof
I'm looking foreward to Mys 1.4.0.
to conform the new script is not such a big problem, I've needed just a tip.
And I will be glad, if you can help with another "problem":
I want the alternate image for the females.
So ... If the randomgenerator create a adoptable female, is it possible to insert automatically "yes" into the field "usealternates" ?
and if so ... where ? and how ? 
|
When a new object is a created you can put a condition if gender == female, update database, which is with that function $mysidia->db->update(...). I don't really remember it that well though, but it must be in some files when you change information (like adoptables name and stuff)