Page 1 of 1

Parent Link index.phtml not going to homepage

Posted: Wed 29. Jul 2009, 16:29
by Dan-G
I've been using NAV_LIST_UL:FP

In my web tree I have

HOME
Home Page Article
+ Cat 1
+ Cat 2
+ Cat 3

When I go to mysite.com the home page article appears fine
However when I click on the navigation HOME link I have a blank template ---> mysite.com/index.phtml

Re: Parent Link index.phtml not going to homepage

Posted: Wed 29. Jul 2009, 16:43
by Oliver Georgi
rename Home Alias from index to ***whatever***

Re: Parent Link index.phtml not going to homepage

Posted: Wed 29. Jul 2009, 17:11
by Dan-G
:(

This takes me to mysite.com/whatever.phtml which is again, just a blank template

Whereas the page appears on mysite.com or mysite.com/home-1.phtml

Re: Parent Link index.phtml not going to homepage

Posted: Wed 29. Jul 2009, 18:06
by Oliver Georgi
would you please try for me in include/inc_front/content.func.inc.php and change around line 164 from

Code: Select all

} elseif($alias == $indexpage['acat_alias']) {

	$aktion[0] = $row[0]['acat_id'];
	$aktion[1] = $row[0]['article_id'];
	$aktion[3] = $row[0]['aktion3'];
	$aktion[4] = $row[0]['aktion4'];
	define('PHPWCMS_ALIAS', $alias);
	
}
to

Code: Select all

} elseif($alias == $indexpage['acat_alias']) {

	define('PHPWCMS_ALIAS', $alias);
	
}
Also ensure that home is public and visible!

Oliver

Re: Parent Link index.phtml not going to homepage

Posted: Wed 29. Jul 2009, 18:40
by Dan-G
works a treat!

Thanks Oliver :) :)

Re: Parent Link index.phtml not going to homepage

Posted: Wed 5. Aug 2009, 01:44
by Jensensen
thanks. so it became r343