This is what I do...
<a href="<?php echo ScreenURL("New_Screen"); ?>">Link Text</a>
Then define the screen in the file
./modules/include/ScreenInfo
/* this should be the last entry in the file,
unless you've modified it already */
"about_us"=>array
(
SI_TITLE=>"About the Site",
SI_DESCRIPTION=>$DefaultDescription,
SI_KEYWORDS=>$DefaultKeywords,
SI_LAYOUT=>"with_your_nav"
), // <======================== add the comma
/*
** Additional Screens
*/
"New_Screen"=>array
(
SI_TITLE=>"New_Screen Title",
SI_DESCRIPTION=>$DefaultDescription,
SI_KEYWORDS=>$DefaultKeywords,
SI_LAYOUT=>"with_your_nav"
)
Just add the new screen info to the array... and place the actual
screen in the ./modules/screens/ directory.
That should do it... the sessid will follow...
Roger
/*
** $sig = new Signature();
*/
[---------- !e7~PHyX8|EndTrans:874e3wUPqwZ :]
[-------------------------------------------]
[-- www.asphyxia.com/phyx8/ -----::....-----]
_____________________________________________
----- Original Message -----
From: Bjarne Hansen <[EMAIL PROTECTED]>
To: FreeTrade <[EMAIL PROTECTED]>
Sent: Tuesday, April 04, 2000 2:36 PM
Subject: [FreeTrade] url with session id
Hi!
I would like to make a few extra pages (screens) whith mostly
html code. I would like to add urls to items and departments. I
need the sission id to be a part of the link, so I must make the
urls in php code.
How do I write it?
Thanks!
Bjarne Hansen
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]