Joomla $app->redirect() in template index.php causing a redirect loop
I am attempting to redirect in a template index.php i am building and getting a redirect loop. Am I missing something? What I am attempting to do is redirect the default page depending on the entry URL as well as certain template styles. My template code looks something like this... config.php <?php //joomla configuration JLoader::import('joomla.filesystem.file'); JHtml::_('behavior.framework', true); JHtml::_('jquery.framework'); $app = JFactory::getApplication(); $config = JFactory::getConfig(); $doc = JFactory::getDocument(); //load template style sheets and scripts $doc->addStyleSheet($thi
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.