I call this static function in each of my controllers construct.
I call this static function in each of my controllers construct static function forceLoggedIn(){ $user = JFactory::getUser(); if($user->guest||$user->id == 0) { $error = JText::_('YOU MUST BE LOGGED IN'); //base xkè altrimenti andrebbe in loop di redirect JFactory::getApplication()->redirect(JURI::base(), $error, 'error' ); return false; } }.
Thank you, it's exactly what I was looking for. I'll accept your answer in a couple of minutes. – Przemek Nov 8 '11 at 10:01.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.