Hi!
I've a problem with chronoconnectivity! I need to display only the owner data, but when i show the connection i can see all the data in the table.
I've insert the field of the owner in the "Owner id column" in the permission tab.
Anyone can help me?
Thanks!
P.s.
sorry form my english, i'm an italian user...
I've a problem with chronoconnectivity! I need to display only the owner data, but when i show the connection i can see all the data in the table.
I've insert the field of the owner in the "Owner id column" in the permission tab.
Anyone can help me?
Thanks!
P.s.
sorry form my english, i'm an italian user...
Hi pocky,
You can use the ChronoConenctivity conditions box to limit the records displayed. Please see this FAQ
You can use the current user ID with this code (replace model_id.column with your values)
Bob
Later: removed extra '
You can use the ChronoConenctivity conditions box to limit the records displayed. Please see this FAQ
You can use the current user ID with this code (replace model_id.column with your values)
<?php
$user = JFactory::getUser();
return array('model_id.column' => $user->id);
?>
Bob
Later: removed extra '
thanks Bob for the reply!
i've read the FAQ, and i tryed to insert in the considtion box the same code, but in the front end i continue to see all the records in the table and also (with the condition box compiled) this error:
Parse error: syntax error, unexpected ''); ' (T_ENCAPSED_AND_WHITESPACE), expecting ')' in /home/XXXXXXX/public_html/administrator/components/com_chronoconnectivity5/chronoconnectivity/controllers/lists.php(245) : eval()'d code on line
What can i do?
Thanks
Matteo
i've read the FAQ, and i tryed to insert in the considtion box the same code, but in the front end i continue to see all the records in the table and also (with the condition box compiled) this error:
Parse error: syntax error, unexpected ''); ' (T_ENCAPSED_AND_WHITESPACE), expecting ')' in /home/XXXXXXX/public_html/administrator/components/com_chronoconnectivity5/chronoconnectivity/controllers/lists.php(245) : eval()'d code on line
What can i do?
Thanks
Matteo
Hi Matteo,
Sorry, an extra ' got left in there, I've updated my earlier post, please try the corrected version.
Bob
Sorry, an extra ' got left in there, I've updated my earlier post, please try the corrected version.
Bob
This topic is locked and no more replies can be posted.