CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Can a strong developper explain me how in CCS?

Print topic Send  topic

Author Message
Christoph
Posted: 07/30/2002, 2:21 AM

i want to display in header the username visitor when he's logged on, his mail, the current date , his number of events? what I want is below
Monday August 12th 2002
welcome thierrythierry@caramail.com(link to his mail), you have 5 events(link to his events)
great thanks
folkerts
Posted: 07/30/2002, 5:38 AM

you should just put a grid in your header file containing the fields u wise to display. u can then edit the template to add things like hello. and welkom.
You have to make sure that every user has a private unique id on which you make the link with youre login UserID. You use this UserID as a where clause in your grid as discribed above. I hope it helps You

folkerts
Nicole
Posted: 07/31/2002, 6:14 AM

Hello,
please find the ASP solutio at:
http://www.gotocode.com/disc_viewt.asp?mid=13334
Christoph
Posted: 07/31/2002, 7:15 AM

im working with PHP and CCS could the solution work with
Nicole
Posted: 08/02/2002, 4:55 AM

Christoph,
here is PHP version:

You can place Label field in the header and so the task is to collect the necessary information about logged in user in order to assign it to Label field.
I suppose you need CCDlookUp() function to look up details of logged in person.
Create field Before Show event like below:

//you should create and open new connection to use it in CCDlookUP() function
//in case there's no forms on header page and thus no connection were created
global $Header;
$c = new clsDBMySQLconn();
//to access field value prefix it with the page name (it concerns all includable
//pages)
$Header->Label1->SetValue(CCDLookUp("first_name", "members", "member_id=". CCGetUserID(), $c));

Regards,
Helen
Christoph
Posted: 08/05/2002, 2:32 AM

Nicole
I did your explanations but I got an error: Can not instantiate a non existent class do I miss something

global $Header;
$c = new clsDBmysql_dsn();
//to access field value prefix it with the page name (it concerns all includable
//pages)
$Header->Label1->SetValue(CCDLookUp("firstname", "members", "member_id=". CCGetUserID(), $c));

Nicole
Posted: 08/06/2002, 5:07 AM

Christoph,
please provide the full text of the message and let me know php code from comon.php file of the line mentioned in the error message.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.