Forum
Rules for naming buckets
What are the rules for the naming of buckets?
Is there a limit of 16 characters? Are spaces permitted? Are hyphens and underscores permitted?
I had an issue where a bucket had 18 characters in its name (no spaces, though) and assets didn't display correctly. Removing the last two characters from within buckets.php cured the problem.
Yes, there's a 16 character limit at the moment. I'm looking at revising that upwards.
https://docs.grabaperch.com/perch/resources/buckets/
Thanks.
Are spaces allowed? And upper and lower case?
If you use them, they'll be preserved, but you should name buckets as you'd name any other folder as part of a web project. It pays to be conservative. I'd stick to lowercase alphanumeric, underscores and dashes.
Thanks Drew.