Custom 404

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Apr 09, 2014 9:57 am
Reply with quote
Report this post
I am following this guide - http://docs.joomla.org/Creating_a_Custom_404_Error_Page

I am not sure were to add the code in the GK_news/error.php file

The link says - Edit the error.php file as follows, adding the code below immediately under the 'restricted access' line:

Can someone tell me were to add the code the error.php file?

Thanks guys
User avatar
Gold Boarder

GK User
Wed Apr 09, 2014 10:50 am
Reply with quote
Report this post
Hi,
please read following guide: http://www.gavick.com/documentation/joo ... rror-page/
if you don't want to touch PHP lines.

p.s.
Code from Joomla guide you can try to add above this line
Code: Select all
$templateParams = JFactory::getApplication()->getTemplate(true)->params;
User avatar
Platinum Boarder


cron