Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Get Files in Admin panel
· 10 years ago
Hi, I would like to get a file list in a custom select field i have placed a custom field with yaml: fields: header.download: type: select style: vertical label: Select File classes: fancy data-option
-
Custom Form Validation
· 10 years ago
Sorry, another try: public static function getSubscribedEvents() { return [ ‘onFormProcessed’ => ['onFormProcessed', 0] ]; } public function onFormProcessed(Event $event) { $form = $event['
-
Custom Form Validation
· 10 years ago
Please paste your code in triple backticks. I can't make sense of this without your pasted content in code blocks.
-
Custom Form Validation
· 10 years ago
Hello Im trying to do some custom validation on a form, have made a plugin as per the Reference:Form Actions chapter in the documentation. public static function getSubscribedEvents() { return [
-
How to point multiple Grav sites to web-root CSS?
· 10 years ago
Thanks for a fast reply! I'm getting 'website.com/blog/' with base_url_abs, but there are multiple Grav installations at 'website.com/', and ideally I'd like all those sites to share a 'custom.css' ty
-
How to point multiple Grav sites to web-root CSS?
· 10 years ago
{{ base_url_absolute }} should be the full base path with protocol.
-
How to point multiple Grav sites to web-root CSS?
· 10 years ago
Right now our dev site is http and the live site is https. This wouldn't be a problem taking care of with php, but I was under the impression there might be a twig way to get to site root?
-
How to point multiple Grav sites to web-root CSS?
· 10 years ago
Thnx, I should have been clearer; we have to take in account http and https sites (dev and live) and also would like to know if there's a way of linking to root with 'assets.addCss' in partials?
-
How to point multiple Grav sites to web-root CSS?
· 10 years ago
just create a reference to the CSS with a hardcoded path. ie: http://yoursite.com/css/custom.css
-
How to point multiple Grav sites to web-root CSS?
· 10 years ago
Hi! How can I point multiple Grav installations under same web root to fetch ONE 'custom.css' file? Right now in the twig partial, there's no way to get website root and put a custom CSS there only po