Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Site Feedback

Question: creating page -> clickable dropdown folders instead of html select tag?

Started by Jan Plechtý 7 years ago · 3 replies · 857 views
7 years ago

Hey there,
I really don't know, if this is the right place to ask on this topic...

What I want to ask is if there is some better option in selecting the folder when the user is creating a page?

I mean the select is fine when in the site exists like 20 pages but when a website contains more, it's quite unclear.

If there is something like the default clickable foldering system in Pages (I mean examplesite.com/admin/pages) included in the creating page modal, can I have it?


So, what I mean is this list
list|320x242

Instead of this select
Question|690x316

It will be very nice addon I guess.

Thank you in advance for your replies,
Junek

7 years ago

Oh it looks like good solution!

I'll start from now.

Do you have some code to share with?

Anyway thanks for your reply!

7 years ago

You have to get down to business with blueprints to really customize.
but for a simple solution
follow the instruction on the link

edit:
user/blueprints/admin/pages/YOURPAGE.YAML

YAML
    route:
      type: hidden
      default: /YOURDESTINATION

this is only a fraction of things you have to set.

👍 1

Suggested topics

Topic Participants Replies Views Activity
Site Feedback · by pamtbaau, 22 minutes ago
0 0 22 minutes ago
Site Feedback · by Jarry, 3 hours ago
1 7 32 minutes ago
Site Feedback · by pamtbaau, 8 hours ago
4 59 6 hours ago
Site Feedback · by pamtbaau, 8 hours ago
4 20 8 hours ago
Site Feedback · by timkenhan, 3 months ago
2 81 8 hours ago