Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 05:15 am EST

Geeklog Forums

How to sort static pages in top menu


Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hi everybody,

I would like to know if it is possible to sort static pages in the top menu?

Thank you in advance.

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
I made some advanced search but forget to look at the docs Oops! Thank you Dirk

Text Formatted Code
// sort the static pages that are listed in the site's menu
// (assuming you're using a theme that uses the {plg_menu_elements} variable)

$_SP_CONF['sort_menu_by'] = 'label'; // can be 'id', 'label', 'title', 'date'

I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

All times are EST. The time is now 05:15 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content