Search

I’m wanting to move the location that an extension loads it’s Symphony menu item into, in the backend. Looking into the extension’s code, it’s using the following:

        public function fetchNavigation() {
        return array(
            array(
                'location'  => 200,
                'name'  => 'Mass Upload Utility',
                'link'  => '/inject/'
            )
        );
    }

I’ve read that there is a newer method of doing this that doesn’t use ‘200’ to position the menu item. Can anyone give me an example of how I could do this?

I have a menu item of Content which was made for my sections, and I want to move the extension under this menu item, but don’t know how…

Thanks in advance!

 public function fetchNavigation() {
      return array(
           array(
                'location'  => 'System', // or 'Blueprints' or whatever
                'name'      => 'My Item',
                'link'      => '/content-path'
           )
      );
 }

Nice one Craig, thanks!

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details