Code Monkey home page Code Monkey logo

joomla-cms's People

Contributors

alikon avatar andrepereiradasilva avatar brianteeman avatar buddhima avatar chdemko avatar dextercowley avatar dgrammatiko avatar eddieajau avatar elinw avatar ercanozkaya avatar frankmayer avatar hackwar avatar infograf768 avatar johanjanssens avatar kubik-rubik avatar laoneo avatar louislandry avatar mbabker avatar okonomiyaki3000 avatar pasamio avatar photodude avatar phproberto avatar rdeutz avatar realityking avatar reygigataras avatar rhukster avatar roland-d avatar severdia avatar wilsonge avatar zero-24 avatar

Watchers

 avatar  avatar  avatar

joomla-cms's Issues

Concept

The Joomla admin menus are one of the few things in Joomla that you cannot truly customise. The location of the menu items is as a result of arbitrary decisions made many years ago.

Why have all the components under one menu?

Wouldn't you like to perhaps separate the utilities from the content creation components.

Why is content a top level menu item?

It is just a component. I am sure the logic was that it was a component that is used so often that it deserves its own place. But what if you don't use com_content and use com_seblod - or you even have a photo gallery as your main content creating component.

Wouldn't it be great if you could build and customise the admin menu however you want? I am sure many people have had this thought as well but have you ever looked at the code that generates the menus in the Joomla admin? If you have then I am pretty sure that you will have run away scared.

All the menu items except for the Components menu are hard coded with lots of if statements to cope with the few places that we have options.

I am proposing that we switch the entire admin menu system to be database driven and customisable via an admin menu component. Thecomponent will allow people to move menu items, create and remove top level menus etc.

Backwards compatibility

By default without any modifications the site should look exactly the same.
The big BC issue to address is where do the menu links for NEW components that a user installs get created. The problem is that the user could have removed the "components" top level menu. I would suggest that just as we have to flag a top level menu item as default homepage in the frontend we would have to flag a top level menu item in the admin as well for the default location that new component menu items are created.

Multilanguage issues

Unlike the frontend I would suggest that the admin menu manager can only manage ONE menu and not one per language. Instead of user created menu titles as in the front end we can continue to use the strings from the language files. This will ensure that a site with multiple admin languages installed will only need to manage one menu and that everything will be in the same place in all languages.

Database issues

Currently the jos_extensions table contains all extensions so we would just need to update that table to contain the id for the menu link

[copy pasted from https://github.com/joomla/issues/5492]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.