Hi there,
I am kinda new to this entire Chrono tool and I think it is great. I created a custom form using your how to guides and one of the forms grabs the username and stores it into a table. I am now trying to generate a list where I only select records where that specific username is entered.
I am trying to create an over all group list (done) and a list for those who have added items into their group list.
I am having trouble using the select option and it does not recognize my select statement.
In the advanced tab on a multi record loader I have this
Can you tell me what I am doing wrong ?
I am kinda new to this entire Chrono tool and I think it is great. I created a custom form using your how to guides and one of the forms grabs the username and stores it into a table. I am now trying to generate a list where I only select records where that specific username is entered.
I am trying to create an over all group list (done) and a list for those who have added items into their group list.
I am having trouble using the select option and it does not recognize my select statement.
In the advanced tab on a multi record loader I have this
<?php
$user = JFactory::getUser();
echo " `username` = $user ";
?>
Can you tell me what I am doing wrong ?
Your 2nd line is wrong, you get the user name using:
Regards,
Max
$user->get('username')
Regards,
Max
This topic is locked and no more replies can be posted.