Manal's blog
Arab Digital Expression Camps looking for trainers
Not sure if this will be relevant to most of you, but I think some of you might be interested. Here it is ...
Notes of the PHP from within Drupal 1st session
Notes on the PHP from with Drupal, 1st session
We'll be working with Drupal 5. To test all this php examples while working on Drupal: From create content, choose page (or story) and write the code betwwen the php tags, and dont forget to change the input format to php, otherwise the code will be stripped out.
Where to find PHP in Drupal:
- nodes
- blocks
- theme templates
Notes of the PHP from within Drupal 2nd session
Here are the notes of the PHP from within Drupal, 2nd session
Examples we used:
Example 1:
between the php tags:
$result = taxonomy_select_nodes( array(1, 3), 'or', 'all', true);
$html = node_title_list($result);
$html.= theme('pager');
print $html;
We tried to guess what these functions do from their output, then we read their documentation
Example 2:
Working on the same poll of the last example in the 1st session, we wanted to get the number of votes corresponding to each choice.
between the php tags:
$node = node_load(55); $i=$_GET['choice']; print $node->choice[$i]['chvotes'];
and add to the url:
?choice=1
try 0 and 2 instead of one, to get the number of votes for the first and third choice respectively.
Example 3:
Doing the same thing but using Drupal functions.
between the php tags:
$node = node_load(55); $i=arg(2); print $node->choice[$i]['chvotes']."
Wireless Networking in the Developing World
This is the name of a multi author book that has just been released 3 days ago. The book is released under a creative commons lincese, and u can download it in pdf format, the whole book or as chapters, from their website:
From the release note:
In almost every village, town, or city in the developing world, there are people who can build just about anything. With the right know-how, this can include wireless networks that connect their community to the Internet. The book addresses what Rob Flickenger, the book's editor and lead author, calls a chicken-and-egg problem: "While much information about building wireless networks can be found on-line, that presents a problem for people in areas with little or no connectivity", said Flickenger from his workshop in Seattle.
dado!!
Hey guys and gals
I usually dont get messages on my EGLUG inbox, so I dont bother to check it regularly, today I found the following message:
Home » Private messages » Read message
From: dado
To: Manal
Subject: hii
Date: Fri, 26/08/2005 - 16:04
hi i am adam from syria i am at 20 years i want to chat with you
buy
- 11 comments
- Read more
- 1826 reads
أم رجل مسلوخة
Hi everyone, just thought I'd take this to my blog to avoid getting off topic.
thanx a lot for ur concern about my health, I went to another doctor and he said the same thing, that I had tamazoq fi al arbeta and that I need to put my leg in a cast for almost 3 weeks.
so thats what I did, and now I'm wearing a very bulky cast, but it's not a full cast, only gebess under my foot and at the back of my leg (L shaped), sorry to disappoint those who wanted to sign it ;-)
theming the calendar
I themed the calendar interface:
- to have friday and saturday with a different color (instead of saturday and sunday)
- to make the calendar use the same color palete of this theme
plz everyone check it and tell me ur opinions.
- 1 comment
- 1671 reads
theming the forum page interface
I themed the forum page interface to look more like the phpbb forums, so that it will be more familiar to new members.
plz everyone check it and tell me ur opinions.
- 7 comments
- 1660 reads
Inlined Styles
- Repeated:
- In the div which is under (div class="main-content" id="content-both") contains (div class="tabs" id="tabs-1") containing the navigation tabs:: (div style="margin:0; padding:0;")
- In the div which is under (div class="main-content" id="content-both"):: (div style="margin: -3px 3px 0 3px; padding: 5px; border-left: solid 1px; border-right: solid 1px; border-bottom: solid 1px;")
- quotes in titles need to be changed to named inteties
- Left bar:
- In the table which is under (div class="block block-filestore):: (table border="0" cellspacing="0" cellpadding="0"):: many of the tds have align and valign attributes.
- 5 comments
- Read more
- 1932 reads
Current EGLUG related Projects...eshm3na ana ;-)
eshm3na MadFarmAnimalz wi mhlmi ya3ni
I will finish xams on 12th june, and i'll start serious work immediately.
Projects:

