hi! I made 2 forms using chronoforms: one of them is connected by the CB registration plugin to the CB registration and the second form is connected to chrono connectivity.
After the login, I want the second form to show JUST the details of the logged user...is it possible?
at the moment the second form connected to chrono connectivity shows the details of all users that have registered on the site.
I'm sorry I'm not english and I cannot explain very well what I need... hope someone will understand my need!
After the login, I want the second form to show JUST the details of the logged user...is it possible?
at the moment the second form connected to chrono connectivity shows the details of all users that have registered on the site.
I'm sorry I'm not english and I cannot explain very well what I need... hope someone will understand my need!
Hi capitanonemo,
If you only want to show one record then you probably don't need ChronoConenctivity; but if you are using it then you can use the WHERE field to filter the results by adding the appropriate MySQL in there.
Bob
If you only want to show one record then you probably don't need ChronoConenctivity; but if you are using it then you can use the WHERE field to filter the results by adding the appropriate MySQL in there.
Bob
I need to show more records so I must use chrono connectivity but I don't know what I have to add in the WHERE field as I do not know php or what else...
Hi capitanonemo,
It's fairly straightforward. You'll find some examples here and you may need some help from the MySQL manual.
Bob
It's fairly straightforward. You'll find some examples here and you may need some help from the MySQL manual.
Bob
Yes I found the example in this forum... I have to put in the WHERE field:
WHERE userid='<?php $user = JFactory::getUser(); echo $user->id; ?>'
I had to change userid in cf_user_id as the form was made with chronoform and now it is perfect and it works
thank you for your help!
WHERE userid='<?php $user = JFactory::getUser(); echo $user->id; ?>'
I had to change userid in cf_user_id as the form was made with chronoform and now it is perfect and it works
thank you for your help!
This topic is locked and no more replies can be posted.