e107 icon indicating copy to clipboard operation
e107 copied to clipboard

newforumpostsmenu update

Open rica-carv opened this issue 5 months ago • 0 comments

Motivation and Context

Allow newforumposts_menu to be rendered in full page, as original code. Fixes issue #4322 and discussion #5337 And yes, you can force the output of menus in pages with the {MENU} shortcode in templates.

Description

Updated code

How Has This Been Tested?

image It can now even allow in the same page to be shown as page and menu with diferent layouts options Right side is a regular menu rendered in the menu area, the left side is a custom page with the same menu rendered via the {MENU} shortcode. See example here

Types of Changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Performance enhancement (non-breaking change which improves efficiency)
  • [ ] Code cleanup (non-breaking change which makes code smaller or more readable)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] Documentation (a change to man pages or other documentation)

Checklist

rica-carv avatar Sep 16 '24 19:09 rica-carv