OK, so far I have added primary key to a db table without conflicting with the component using the db table. And have a formatted connection of the table through CC.
Adding a simple filter box now. I love the other tutorials for dynamic filters and also clickable headings to sort as asc or dsc for future development.
So with just one filter box, can I, and how best then to show this information on the front side for administrators? Can I create an article that links to the db connections link created in CC?
_Cindy
Adding a simple filter box now. I love the other tutorials for dynamic filters and also clickable headings to sort as asc or dsc for future development.
So with just one filter box, can I, and how best then to show this information on the front side for administrators? Can I create an article that links to the db connections link created in CC?
_Cindy
Hi Cindy,
Nothing so complicated. Just add this code to the beginning of the CC Header box:
You can of course change the redirect URL or the message to something more suitable.
Bob
Nothing so complicated. Just add this code to the beginning of the CC Header box:
<?php
$user =& JFactory::getUser();
if ( !in_array($user->gid, array('24', '25')) ) {
$mainframe->redirect('index.php', 'Get out of here!');
}
?>
This will redirect if the user isn't in Group 24 (Admins) or 25 (SuperAdmins).You can of course change the redirect URL or the message to something more suitable.
Bob
This topic is locked and no more replies can be posted.