-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid empty title / ugly pagename #81
Comments
Yes, that makes sense, though I'm wondering if then it shouldn't also be checked in the PHP code. I'm a bit reluctant to add more configuration options so I would probably make this default. I'm only wondering one thing: if people are using this to simply create pages that are just named after the current date by using the date prefix configuration option which would mean that an empty title is okay. |
I think it would be ok to use the html-attribute only. |
This is a quite important change imo, because users entering an empty title will create blog/start.txt, which is not shown in the blog list. So, a possibly long text appears to be lost, when in fact it's just in the start page of the blog. I have added required="yes" to the input file. Now, if the input field is empty, a popup will flash up. syntax/blog.php |
It would be nice if
blog__newentry_title
gets the html attributerequired="required"
- maybe as an option?!The text was updated successfully, but these errors were encountered: