WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Show menu_2 dissappeared
ruebenwurzel:
Hello,
for every page you generate there needs to be a corresponding file it the /pages dir. So look with ftp, if for all pages there is a corresponding file there. In WB admin the content is only read from database, in frontend the file in pages dir is necessary to display the content.
Matthias
apple:
Hi Matthias,
This is what I see on ftp:
The filename 'Home.php' (<?php $page_id = 22;.... )
Corresponding folder 'Home' with filenames in the folder: Who.php (<?php $page_id = 25;.....)
I am not sure what to look for. The structure and ID seems ok.
Thanks for looking into it. Cheers :)
apple:
Anyone got an answer?
Ruud:
You could start by just setting show_menu2() (without any parameters), just to see if they are there.
That should show subpages when you are on the parent of that page. (also the parent pages)
The only reason I cloud think of is that the first parameter is wrong. This is used when there are different menu groups. Using 0 uses "all"menu groups.
Maybe you can show your show_menu2 command to us?
Cheers
Ruud
apple:
There may be a bug somewhere ?? Everything works fine until I accidentally deleted the page with subpages. I thought all I need to do is to add the pages again. Unfortunately that is not the case. Here is the code on my webpages.
<?show_menu2(0, 1, SM2_ALL, SM2_ALL); ?>
That should show all the pages with subpages. Why did it suddenly stopped working?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version