filter the information

asabikertenkele 23 Feb, 2010
Thank you for chronoconnectivty
I've created a table. I need to filter the information by user name. table contains the user name.
where and what do I write(mysql code)?
GreyHead 24 Feb, 2010
Hi asabikertenkele,

There is a 'WHERE' box in the ChronoConnectivity setup - you can add filters directly there; or you can create a 'filter form' in the header section and use the results of that to create a more complex 'WHERE' clause. There are several examples in the forums here.

Bob
asabikertenkele 24 Feb, 2010
thanks. I'll call forums.
I'm using chronoform for forms. nickname in a column is available. (to record the user name.) this HiddenField on the form. How do I make the user's name into the HiddenField?
GreyHead 24 Feb, 2010
Hi asabikertenkele,

Try this
<?php
if ( !$mainframe->isSite() ) { return; } 
$user =& JFactory::getUser();
?>
. . .
<input type='hidden' name='username' value='<?php echo $user->username; ?>' />

Bob
asabikertenkele 24 Feb, 2010
ok. I'm trying now. Thank you for your very quick and helpful response.
GreyHead 24 Feb, 2010
Hi asabikertenkele,

Sorry, there was a '{' missing in my code - I've fixed it now.

Bob
radical 14 Jun, 2010
works nice. Thanks
rachelbonilla 19 Aug, 2010
Ah ha, I needed this. Thanks so much for posting!
beverly_brown1949 01 Sep, 2010
Just as I'm about to give up, I found the answer to my plight. thanks for this post!
hvq168 24 Sep, 2010
Work great. THanks you so much
forbrukslÄn 14 May, 2011
Wow.. you guys are so helpfull.
Thanks! Now I have some things to try out.
This topic is locked and no more replies can be posted.