> Hi,
>
>
> I've created a global adress book. However, I cannot see the addressees
> when I click on Address or during compose.
>
> # ls -l gl*
> -rw-r--r--  1 apache apache 5329 Feb 14 15:54 global.abook
>
>
> # pwd
> /var/lib/squirrelmail/prefs
>
>
> Can someone please give me a few pointers?

By default only localbackend (Personal address book) is displayed. Shared
address books are displayed only after you hit "list all".

I think these two changes in src/ directory fix things.

---------------
Index: addrbook_search.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/src/addrbook_search.php,v
retrieving revision 1.64
diff -u -r1.64 addrbook_search.php
--- addrbook_search.php 27 Dec 2004 15:02:24 -0000      1.64
+++ addrbook_search.php 15 Feb 2005 08:29:19 -0000
@@ -247,7 +247,7 @@

         if($backend != -1 || $show == 'blank') {
             if ($show == 'blank') {
-                $backend = $abook->localbackend;
+                $backend = -1;
             }
             $res = $abook->list_addr($backend);

Index: addrbook_search_html.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/src/addrbook_search_html.php,v
retrieving revision 1.71
diff -u -r1.71 addrbook_search_html.php
--- addrbook_search_html.php    27 Dec 2004 15:02:24 -0000      1.71
+++ addrbook_search_html.php    15 Feb 2005 08:29:21 -0000
@@ -236,7 +236,7 @@

     if (! isset($backend) || $backend != -1 || $addrquery == '') {
         if ($addrquery == '') {
-            $backend = $abook->localbackend;
+            $backend = -1;
         }

         /* echo '<h3 align="center">' .
$abook->backends[$backend]->sname) . "</h3>\n"; */
----------------------


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to