e107sk.com

Chapter Menu

on Tuesday 14 July 2020
comments: 0

 Templating:  template key "panel" in chapter_template.php

 Using:

- in Menu Manager: the only caption can be set, it always displayed all chapters with template panel

- as a shortcode: - parameter book is available, so you can display only chapters/pages from one book, but again, chapters have to have template "panel" 

It has no logic...  not mention you need to know book ID . And there is hardcoded 24 items limit.

Example:

{MENU: path=page/chapter&book=7}

You can display only chapter shortcodes. No page/menus list. 

Next notice: as soon as you use panel template for book, this menu will fail.

0 Comments

Other links

Follow us