hi there,
I am in the process of migrating my forms from J!1.5 to J!2.5 and came across the following prob:
when listing the articles created by the logged in user in J!1.5 I was using the following snippet in the where clause of a record loader:
could somebody pls give me a hint on how to achieve this with J!2.5?
I am in the process of migrating my forms from J!1.5 to J!2.5 and came across the following prob:
when listing the articles created by the logged in user in J!1.5 I was using the following snippet in the where clause of a record loader:
<?php $user =& JFactory::getUser(); ?>
<?php if ($user->gid < '23') : ?>
Model.created_by = '<?php echo $user->id; ?>'
<?php endif; ?>
could somebody pls give me a hint on how to achieve this with J!2.5?