>>>>As far as I can see that plugin just changes the folder that is
>>>>displayed
>>>>when you login. You also have to precofigure where it's going to put
>>>>you.... so it's really not much use for what I'm trying to do.
>>>
>>>Yes, I wasn't suggesting that it was a ready-made solution for your
>>>requirement. I just thought that you might be able to use its code as a
>>>base to modify.
>> I was *hoping* not to have to get into the code :(
> I think you might have to.
Dangnammit.

>> Are you suggesting that I write a custom plugin because you know that
>> there is no way of doing this currently?
>> Frankly it seems to me that the easyist thing to do would be to patch
>> redirect.php so that it takes an additional form var that can override
>> the
>> redirect_url.
> There are two quick and dirty ways of doing this that I can see. You
> want to go to the compose page right?
I want to be able to dynamically change the page I end up at using the
POST/URL. The compose page is as good a place as any to start ;)

> In redirect.php change:
>
>    $redirect_url = 'webmail.php';
> to
>    $redirect_url = 'webmail.php?right_frame=compose.php';
Frankly I was thinking something more along the lines of:
$redirect_url = 'compose.php'
So that *just* the compose page opens.... without the left hand menu frame.

Perhaps I could do something like this around line 137 of redirect.php....

sqGetGlobalVar('other_url', $other_url)
if($other_url != '') (
  $redirect_url = $other_url;
) else (
  ... the normall $redirect_url setting code ...
)

Then in all I have to do is POST to redirect.php with the
'login_username', 'secretkey' (password) and 'other_url'......?
Though I'm not really sure that sqGetGlobalVar is the right function to
use. To get the form var. I have *NO* idea what I'm doing in the
SquirrelMail code :(

> OR
>
> In webmail.php add:
>
>    $right_frame = 'compose.php';
>
> around line 112 or so, just after the comments about how to call
> webmail.php.
Again this is kinda a static thing and would mess up the general operation
of SquirrelMail. All I want to do is put in a shortcut way of logging in
and getting to a perticular page.

>> However I'm quite ham fisted when it comes to PHP. I'm more
>> of a python/perl guy.
> If you can code in perl, you you shouldn't have too much trouble with php.
Heh.... No php doesn't look all that bad and I've been meaning to get into
it more. It's just *yet annother* set of syntax, core functions and
methodoligy to learn.

> Hope this helps,
It does indeed. You seem to be saying that what I want to do will require
coding.... that's question one answered ;)

Now all I have to do is figure out the easist and most un-intrusive way of
getting this done. Hopefully in some manner that the maintainers will be
happy to roll into the next release so that I'm not forever patching new
releases. If you can give me any pointers there it would be most handy!

Many thanks

  Nick


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to