# |
Aug 8th 2008, 06:23 |
annnna |
for this to work, i had to do a rather unusual approach (maybe a wrong one), redirecting the virtual host of both domains on apache to the same directory in the server's disk |
# |
Aug 8th 2008, 06:22 |
annnna |
not really. it´s a dedicated server which i control and actually i did nothing there. I went to sleep, then errands, thinking about this but it fixed "itself" |
# |
Aug 8th 2008, 06:21 |
Matt1 |
annnna: nameserver update ? |
# |
Aug 8th 2008, 06:19 |
annnna |
so i themed it according to $_SERVER[ http_host ] request, and it threw a blank page for http://domain.com but worked fine for www.domain.com. 24 hours later it works either way. Im trying to find a reasonable explanation |
# |
Aug 8th 2008, 06:17 |
annnna |
the strangest thing happened to me with this app. It's for a real estate aggregation and I had to theme it for different domains (everybody shares data but they dont share layouts) |
# |
Aug 8th 2008, 06:10 |
annnna |
Matt1: great! free education it's all over the internet |
# |
Aug 8th 2008, 06:08 |
Matt1 |
annnna: self-taught |
# |
Aug 8th 2008, 06:04 |
annnna |
franko: yep. the good thing is that there's actually no age limit for architects (since you have so much slave labor in students and recent graduates) so i might come back to the field after im 40 or 50 |
# |
Aug 8th 2008, 06:01 |
franko |
annnna: bit of both - even tried my hand at architecture, too much work though! |
# |
Aug 8th 2008, 06:00 |
annnna |
so i try to help but i know im no authoritative source :( |
# |
Aug 8th 2008, 05:59 |
annnna |
are you guys in computer science careers or self-taught developers? i went to architecture school |
# |
Aug 8th 2008, 05:59 |
franko |
annnna: I'm usually so good with children. But yeah, its easy to refactor it, just wondering if it was possible really... |
# |
Aug 8th 2008, 05:57 |
annnna |
yeah it seems weird though that you wanna kill the child object first |
# |
Aug 8th 2008, 05:57 |
annnna |
it's ana but i guess it might collide easily with someone else so i add random n's! |
# |
Aug 8th 2008, 05:55 |
franko |
annnna: your name is hard to get right huh :-p |
# |
Aug 8th 2008, 05:54 |
franko |
annna: thanks, I think I will just refactor to delete the user and just have the dependency from that relationship kick in... |
# |
Aug 8th 2008, 05:53 |
annnna |
franko: yeah i'm seeing that.... now i realize, sorry. Let me read a bit more |
# |
Aug 8th 2008, 05:53 |
franko |
np, will just delete the parent object... :-) |
# |
Aug 8th 2008, 05:53 |
franko |
anna: thats cool, understand that one - what I was wanting is to delete profile and then Bob is deleted also... |
# |
Aug 8th 2008, 05:52 |
annnna |
franko: still quoting-> For example, if the "Cool Blue" profile is associated to "Bob", and I delete the user "Bob", the profile "Cool Blue" will also be deleted. |
# |
Aug 8th 2008, 05:51 |
annnna |
franko: this bit comes from the 1.1 PDF manual which is a gem unparalleled: • dependent: if set to true, the associated model is destroyed when this one is. |
# |
Aug 8th 2008, 05:48 |
annnna |
yep that one. Im trying to find it for you in the cookbook or API for 1.2 but it's there in the 1.1 documentation, which was better |
# |
Aug 8th 2008, 05:48 |
pgcd |
fourcs: bye |
# |
Aug 8th 2008, 05:47 |
fourcs |
Got to go. Hope to see you again. |
# |
Aug 8th 2008, 05:47 |
fourcs |
Glad you got it! |
# |
Aug 8th 2008, 05:46 |
franko |
annnna: cheers, do you mean the model relationship array? will look over the docs again... |
# |
Aug 8th 2008, 05:46 |
pgcd |
and when i do get to it, i try to pretend everything works by squinting very hard =) |
# |
Aug 8th 2008, 05:45 |
annnna |
franko: there are options in the array for that, i think they are the ones called "dependant" and "exclusive" |
# |
Aug 8th 2008, 05:45 |
pgcd |
annnna: IE for development is hell. i avoid it until the very last moment |
# |
Aug 8th 2008, 05:45 |
annnna |
testing is awfully impossible at least for me... |
# |
Aug 8th 2008, 05:44 |
annnna |
imagine what you would've wasted using IE |
# |
Aug 8th 2008, 05:44 |
pgcd |
wasted like hours on this... |
# |
Aug 8th 2008, 05:43 |
pgcd |
fourcs: found the solution. it's the danged firefox caching the danged selects. grrr. |
# |
Aug 8th 2008, 05:43 |
franko |
I have user hasOne registration [dependant], want to delete the associated user when I delete the registration... |
# |
Aug 8th 2008, 05:43 |
franko |
Is there a way to delete the parent of a belongsto relationship? |
# |
Aug 8th 2008, 05:41 |
pgcd |
i haven't pasted it, there's actually no code - i'm just trying to echo a datetime field with a default value (using 'selected' in the options) |
# |
Aug 8th 2008, 05:39 |
fourcs |
what's the url of the code? |
# |
Aug 8th 2008, 05:39 |
pgcd |
guess, even |
# |
Aug 8th 2008, 05:39 |
pgcd |
can't get more exoteric than that, i gues |
# |
Aug 8th 2008, 05:39 |
pgcd |
fourcs: nope. and it's getting sillier: if i drop a debug in form.php, it's fine, otherwise it's wrong |
# |
Aug 8th 2008, 05:37 |
fourcs |
pgcd: did you solve your date problem? |