WebsiteBaker Support (2.8.x) > Templates, Menus & Design

show_menu2 error: $aOptions is invalid. No flags from group 1 supplied!

<< < (4/5) > >>

Tomno399:
Done - with aposthrophe ' xxx '?

Thank you dbs, I will have a look tomorrow on the server logfile and post it here.

Tom

jacobi22:

--- Quote from: Tomno399 on July 01, 2016, 02:22:14 PM ---Done - with aposthrophe ' xxx '?

--- End quote ---

without apostrophe!

dbs:
Ooops, jacobi22 is right.

Tomno399:
Without aposthropes = no more error messages!

Thank you dbs, thank you jacobi22!

jacobi22:
please read the instructions for this module, both menu's are incomplete

--- Quote ---GROUP 1
    -------
    Exactly one flag from this group must always be supplied. These flags
    affect how the siblings in the tree are removed from the output.

   SM2_ALL or
   SM2_TRIM or
   SM2_CRUMB or
   SM2_SIBLING
--- End quote ---

here an example

--- Code: ---<?php show_menu2(0, SM2_ROOT+1, SM2_CURR+1, SM2_ALL|SM2_PRETTY, '<dt>[a][menu_title]</a>', '</dt>', '<dl class="nav3-grid">' , '</dl>'); ?>
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version