Arab source brainstorming meeting is over. I'm tired, My left eye is stillhurting.
I really need a vacation as I didn't spend an hour at home during the last2 days except to sleep.
Being busy didn't give me time for my personal feelings, I guess this might be good.
This code is pulled from my svn which means that whenever I update it, It'll reflect the file displayed here ;-)
Or get the file directly from here.
Can't open the file!
This should be able to open and save files with Arabic filena
I've started the port a few months ago but it was inactive.
Last wednesday, Mostafa suggested that I port it to wndows.
So here's a deal, I've built a windows binary for the latest CVS.
دلوقت ممكن تستخدم ال API بتاعة بغداد مع اى كود php
لسه الكود مش موجود فى اى حته غير عندى
Nothing is better than coding at night!
This was born at ~6 am.
This should also be integrated into Baghdad to drop the Glibmm dependency.
When I say that certain places in this world are characterized by stupid people, No one should blame me. And here's a proof!
I aways wanted to create this section since I had foolab.
It's not exactly what I wanted it to be, But It's the best I can do at the moment.
I still need to populate it.
I've created the form using flexinode, Creaed the vocabolary hierarchy.
Overriding the node in my theme so I can display the tags like want.
Now how did I create the page itself ?
Here's the php code, It's not the best but it works:
echo "<br />";
$arr = taxonomy_get_tree(5,0,-1,1);
$y = count($arr);
for ($x = 0; $x < $y; $x++)
$count = 0;
$ch = taxonomy_get_children($arr[$x]->tid, 5);
$j = count($ch);
$_ch = array();
for ($i = 0; $i < $j; $i++)
$ch_a = array_shift($ch);
$_url = "/taxonomy/term/" . $ch_a->tid;
$_count = taxonomy_term_count_nodes($ch_a->tid);
$count += $_count;
$_name = $ch_a->name . " (" . $_count . ")";
$_ch = l($_name, $_url);
$url = "/taxonomy/term/" . $arr[$x]->tid;
$name = $arr[$x]->name . " (" . $count . ")";
echo l($name, $url);
echo "<br />";
BTW: The code above'll be updated automatically whenever the original one changes.
Enough is enough.