CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 personalize link

Print topic Send  topic

Author Message
manolo
Posted: 07/01/2005, 7:34 PM

This is my scenario:
I have my data divided in groups (math, science, quimics, etc) and design a web page for each group, how can I create a link that redirect the user to the page: math.php?idclass=258 if he click in a math theme, and to science.php?idclass=259 if he click in a science theme.

The name of the group an all info are in the same query, the idclass is a unique value.

using mysql as database.
datadoit.com
Posted: 07/02/2005, 11:48 AM

Place a link control onto your page. Right click on that link control and
check 'Extended HTML'. Then, in the link control BeforeShow:

if (CCGetGroupID() == whatever) {
$grid->LinkControl->SetLink("math.php?idclass=258");
}
else if (CCGetGroupID() == whatever) {
$grid->LinkControl->SetLink("science.php?idclass=259");
}
else {
$grid->LinkControl->SetLink("wherever");
}

manolo
Posted: 07/06/2005, 1:08 PM

Thanks... it's almost done, but... the idclass is the "record id" so it's unique, there can be unlimited "records" in the math group.

Im trying the CCLOOKUP, but I'm lost....
Damian Hupfeld
Posted: 07/09/2005, 10:04 PM

Is that idclass the ID of the USER?

Try CCGetSession(USERID)


regards
Damian Hupfeld
http://www.nexthost.com.au/services.php


"manolo" <manolo@forum.codecharge> wrote in message
news:542cc3a256e4dc@news.codecharge.com...
> Thanks... it's almost done, but... the idclass is the "record id" so it's
> unique, there can be unlimited "records" in the math group.
>
> Im trying the CCLOOKUP, but I'm lost....
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

manolo
Posted: 07/14/2005, 9:25 PM

I cant find 'Extended HTML' when I right click the link on the grid...
using CCS 2.3
peterr


Posts: 5971
Posted: 07/14/2005, 11:39 PM

Grid doesn't need 'Extended HTML'. Grids can already be hidden without this.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
manolo
Posted: 07/15/2005, 10:36 PM

How can I implement this, if I cant find the "Extended HTML" feature?
Quote datadoit.com:
Place a link control onto your page. Right click on that link control and
check 'Extended HTML'. Then, in the link control BeforeShow:

if (CCGetGroupID() == whatever) {
$grid->LinkControl->SetLink("math.php?idclass=258");
}
else if (CCGetGroupID() == whatever) {
$grid->LinkControl->SetLink("science.php?idclass=259");
}
else {
$grid->LinkControl->SetLink("wherever");
}



I really need help....
peterr


Posts: 5971
Posted: 07/15/2005, 11:13 PM

Sorry, you would select "Edit Link" and then turn on "Extended HTML".
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


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.