General Community > WebsiteBaker Website Showcase

A huge website done in WB 2.7 - GOLF industry

<< < (4/4)

ndh611:
I made the form my-self, in a page called booking_form.php such as
And in the golf-online-booking.php page, I used the code section to include booking_form.php.

This is coded myself, and it has nothing to do with the form page type.

bgg:
Wonderful work :) I wonder if you would donate such a nice template to the community!

I have a question:

What code you have used n left subNav section to show child level links/menus?

Thanks for your help!



--- Code: ---<div id="subnav">

<?php show_menu2(0, SM2_CURR+1, SM2_ALL); ?>

</div>

--- End code ---

ndh611:
If you use show menu
show_menu(1,1,-1,false,'<li[class]>[a]<span>[menu_title]</span>[/a]','</li>','<ul>','</ul>','', ' class="menu-current"');

If you use show menu 2
show_menu2(1,SM2_ROOT+1,SM2_ALL,SM2_TRIM,'
* [a]<span>[menu_title]</span></a>','</li>','[ul]','</ul>', false,false);

And for the template, since this is a commercial project, I cannot donate it to the public. Hope you understand that ;)

bgg:

--- Code: ---show_menu(1,1,-1,false,'<li[class]>[a]<span>[menu_title]</span>[/a]','</li>','<ul>','</ul>','', ' class="menu-current"'); 
--- End code ---

show_menu works.. show_menu2 could not..

Thank you for your help!

Navigation

[0] Message Index

[*] Previous page

Go to full version