Bleistivt
ModeratorBleistivt Moderator
Reactions
-
Re: Why is there so much markup in php files?
@yourfavorite Just looked at your prototype which looks really nice. For implementing it in vanilla, I'd rip out the header and panel entirely. You could just add this in your template to have the ca… (View Post)3 -
Re: Any way to use 24 hour format instead of AM/PM?
Yes, add this to your conf/locale.php (or create it if it doesn't exist). <?php$Definition['Date.DefaultDateTimeFormat'] = '%B %e, %Y %H:%M';$Definition['Date.DefaultTimeFormat'] = '%H:%M'; (View Post)2 -
Re: Doesn't work for NewDiscussion Module
This doesn't let you add or remove modules. It can only change the sort order. You will have to remove it with a CSS rule. .BoxNewDiscussion { display:none; } (View Post)2 -
Re: Why is there so much markup in php files?
You are right, I would avoid doing this. You could also try using a background-image for the icon. In fact I would make use of vanillas category image functionality for convenience. You would then al… (View Post)3 -
Re: How to add validation to settings activated via the Configuration model
This works and does everything you want. It shows the saved message, validation results and no view is required: public function settingscontroller_test_create($sender) { $sender->permission('Gard… (View Post)3