Why I miss WordPress... just a little bit

What do WordPress have that Kirby donā€™t? A lot of stuff, maybe 90% junk and that is one reason I like Kirby. Still there are some good things in the world of WordPress that Kirby does not have.

I also think that this list covers things that people have asked for before, so it would be great to have some answers about them.

1. Proposed scope

What are the plans for the next release / releases? We have issues on Github but they donā€™t tell the whole story. A list of ideas for the future versions / version would be great.

It can also be good to see the ideas that are not going to be implemented, for example a favicon editor (I hope a favicon editor is not on todo).

You have stuff on your mind but itā€™s not that easy to get it @bastianallgeier. Future ideas as public list on github, or not?

2. Custom admin pages (panel)

We canā€™t add admin pages, at least not yet. Here are a few things you could do with it:

  • An admin page for broken links on the site.
  • An admin page for SEO (Search Engine Optimization) showing missing title tags and missing meta descriptions.
  • An admin page for Google Analytics stats.
  • An admin page for a great custom tool, whatever it might be.

Is this a part of your future plan for Kirby @bastianallgeier? Next version, future, maybe or never?

3. Custom admin sidebar (panel)

We canā€™t change the list to the left in the panel. It would be good to set custom stuff and remove pages we donā€™t want to see. We can remove them with panel css but it feels a little hackish.

Is this a part of your future plan for Kirby @bastianallgeier? Next version, future, maybe or never?

4. Revisions / page versions

I know many of you use git as version control. I like the idea to save backup files in a subfolder called ā€œversionsā€ or something. To make it complete there would be possible to back to a version or compare two of them.

Is this a part of your future plan for Kirby @bastianallgeier? Next version, future, maybe or never?

5. Duplicate / clone page

Copy a page with all contents is a good feature. WordPress fails here as well but it work with a plugin.

Is this a part of your future plan for Kirby @bastianallgeier? Next version, future, maybe or never?

6. Move page level

Sometimes the page might be created at the wrong depth. In this case we need to move it. With FTP itā€™s easy but it would be good to have that feature in the panel as well. If the blueprint does not support the page, give a warning of what fields will be deleted before move.

Is this a part of your future plan for Kirby @bastianallgeier? Next version, future, maybe or never?

7. Change the menu system

Many things has come up as problems with the way the menu system works. Itā€™s not even clear to everyone how itā€™s ment to be used. Some even suggested that it should be used to hide hidden pages completly on the site.

Are you going to change it in some way @bastianallgeier? Next version, future, maybe or never?

8. Hook just before template loads

The biggest problem of not having a hook before template loads is that you cannot get the correct page().

Is this a part of your future plan for Kirby @bastianallgeier? Next version, future, maybe or never?

9. Title not required

EDIT: Seems to be fixed: Don't require title in the blueprint Ā· Issue #650 Ā· getkirby-v2/panel Ā· GitHub

The content title is required just to be used by the panel, even if itā€™s not used elsewhere. WordPress fails here as well.

Do you have plans of changing this @bastianallgeier? Next version, future, maybe or never?

10. Not all folder paths can be edited

To separated Kirby core and the panel I belive the folder structure can be improved. Not all folders can be edited. If they could we could have our own folder structure, just as we want. WordPress fails here as well.

Is this a part of your future plan for Kirby @bastianallgeier? Next version, future, maybe or never?

How about using a contoller? Itā€™s processed before template load/render if i remember right.

Iā€™ve been that road before. Unfortunately there is nothing like a shared controller. I tried to make one but it doesnā€™t make things much easier.

The issue also appered here:

And here:

I think a ā€œpluginā€ is something like a shared controller.

Yes but then you run into this issue again:

After being slightly pushed by Jens again, Iā€™m finally trying to answer some of the questions/suggestions here :smile:

1. plans

Iā€™m afraid I canā€™t be more detailed about the plans for future releases. There are so many suggestions coming in and every new release is just a set of decisions being made in ā€œreal-timeā€ while building it. I never really have a fixed todo list and even if I had, I wouldnā€™t give it away. I learned in the last years with Kirby that making promises has always led to disappointment or too much pressure.

2. Custom admin pages

This is on my personal list for a long time now. The panel refactoring was a huge necessary step to get there eventually. (next version or future)

3. Custom admin sidebar

I already worked on hiding pages in the sidebar from the blueprint. This led to a performance issue, so I removed it again, but I will keep this in mind (future)

4. Revisions / page versions

I thought about this a lot and as much as Iā€™d love to add it, it would also add so much more complexity. (maybe)

5. Duplicate / clone

Never really thought about this. (maybe)

6. Move page level

Yes, definitely on my list for a long time now (next version probably)

7. Change the menu system

I still think that the differentiation of visible/invisible pages has its place. I know that there are some connected issues for more complex menu situations, but this is easy to fix with structure fields in the site.txt to controll the main menu or multiple menus for example. This is in fact such a fundamental part of Kirby, that it probably wonā€™t go away. I know that there are suggestions to move the sorting into the files, but this would lead to worse performance and this is not an option.

9. Title not required

Yep, itā€™s fixed :smile:

10. Not all folder paths can be edited

Iā€™m not sure if it makes sense to mak all paths editable. This would lead to a lot of possible problems, but Iā€™m always trying to make the kirby, panel and site folders more flexible and this is definitely something Iā€™m open for additional changes.

I hope the answers help to get a better idea of the next steps even though there is no fixed roadmap! Thanks for the time you are spending on thinking about that stuff and asking such questions. It definitely means a lot.

2 Likes

Thank you so much for your time to answer these questions! :slight_smile:

Now we know what you think about some of the suggestions that has been around for a while (not just by me). It does not only give a hint of what is coming, but also give a hint on whatā€™s not. Thatā€™s good for plugin development.

Those features that is set to ā€œmaybeā€ can instead be built as a plugin by someone. At least those feature will probably not end up in the core for some time.

Question number 8?

Is there a reason why you skipped question number 8 or did you just miss it? I think itā€™s one of the most important question of them all.

Question number 8 in short

  • A plugin can not get the current page with like page()->title() because itā€™s loaded too early.
  • Itā€™s possible to add a function directly above <html> in the template but it makes the template look really silly.
  • A controller can get the current page but there is no such thing as a global controller so itā€™s not a good fit.

My suggestion was some kind of template init hook. Is this something you want to solve?

Next release, future, maybe or never?

Sorry about pushing you againā€¦

Havenā€™t really done testing to see if there are situations where this breaks, but maybe a utility function like this for question 8?

function currentPage() {
  if(url::path()=='')
    return site()->homePage();

  return site()->page(url::path());
}