Skip to main content

Posts

It's now 21.38 GMT+1. Tomorrow morning I'm gonna leave Zagreb and going back to Jakarta and now kinda bit snowy outside. It was really fun here and like it so far. The city is not so crowded like Jakarta not mention the geek scene here , I'm definetly gonna miss this place. Hopefully will had the change to come again and doing other FLOSS hack. Hvala Zagreb! Hvala Croatia! Hvala Mama!
Don't really bother with syntax coloring on vim 'till now So to make syntax coloring on vim, edit "/etc/vimrc" and add "syntax on set backspace=indent,eol,start"
Another notes for me, in mysql version 4, at least the one that on my SuSE 10. If I create user and give permision to do all things and assign host anything beside localhost. I wont be able to login to mysql console. And now my mysql_connect() on my php script wont work unless I use 127.0.0.1 for the db host. Dunno why, I'll figure out this later
Been while since I post my last blog and playing with php. So to remind my self about getting value from POST and GET in php. When you have url like http://lame.com/script.php?duh=ownotagain You can just straight echoing inside the script like echo $duh; Just notice that the newer php, that thing doesn't work anymore. For the url that I've mention above, that mean it use the GET method, if you want assign the duh variable to you php script, you gotto do like this $duh = $_GET['duh']; echo $duh; It then will give you ownotagain on your browser. Yeah I know.... I'm totally moron just figure that out :D Ummmm, 1,5 week again before I return home, so still have to deal with this damn cold winter Guess, I'll miss Zagreb coz this is really nice town to be around
Finally manage to put some dhtml drop down menu onto WALHI website, though till i write this it still kinda buggy when using M$ IE and work great on Firefox. I create style element script_dhtml for storing javascript and css file that used by dhtml dropdown menu. For top navbar I modify banner_menu and put javascript function inside html link tag and for left horizontal kampanye I modify the variable in subtopics_menu and change fetch section to <a class="subtopic2" href="<?=$site->uri.$topics_array[$subtopic->id];?>/" onMouseover="ddropdownmenu(this, event, <?=$subtopic->name;?>, '150px')" onMouseout="ddelayhidemenu()">&(subtopic.extra);</a> Add several new global variable on code-global so that the dhtml can get array for the subtopic. And to give subtopic array on the javascript dhtml dropdown from midgard subtopic function, I came up with following lines of code <? $campaigns_topic = mgd_list_t...
Bergie just gave me account to midgard project website and listed me in developer community section with other midgarders. Really cool coz I had a change to try out some MidCOM there. Here is link for midgard developer community : http://www.midgard-project.org/community/whoswho/
WALHI need to make sub website for sahabat WALHI (WALHI's volunter community). We want to use our separate Midgard based system for that. There's a lot facilities that we've think that we want to put to there like forum, chatroom, pooling stuff and membership. I'm still thinking how can I put all that stuff to our Midgard System.