Very strange seeing as how it is a single file (menu.php). But when i publish pages, and change the menu not all pages are updated, how can this be? is it a cache issue?
puzzled.
Very strange seeing as how it is a single file (menu.php). But when i publish pages, and change the menu not all pages are updated, how can this be? is it a cache issue?
puzzled.
I found my own solution, if anyone else is having this problem with navigation and templates,
you must wrap the navigation include with the cms:remove condition. Then when the page is created it wont create the menu as is at that time.
the above solution didnt work either when creating new pages...
My new solution with jquery,
<div id="nav"></div>
<script type="text/javascript">
$(document).ready(function() {
$('#nav').load('navigation.php');
});
</script>
can you post a link to the website? they happened to me as well. But I just reloaded did the nav menu and it worked. I think it has to do with a time out issue or something. When I loaded the menu the first time it took me a while to finish it, but when i did it all at once the second go around it worked.
I have started a new project and cannot replicate the issue. weird.
problem appears again. looking at the code of my templates, the menu is included even though i have it wrapped in a conditional CMS:REMOVE statement.
When the page is created the menu is built from the menu as it is at the time of creation.
I hate to use javascript to fix this issue because not everyone will have js turned on...
Any ideas Tom?
tgg, updating the menu or reloading it doesn't seem to work here. Was your issue caused from template pages?
Tom helped me out here, In case anyone else has this issue, when uploading a template choose "clone ftp target" when using the navigation menu.
Tom explained it nicely,
"When you choose there is an option one is FTP and one is HTML. HTML uses the rendered page as the browser sees it, FTP uses the raw code."
You must log in to post.