Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
maxime Member
@mathmax · Joined 8 years ago · 41 posts · 14 topics · 4 reputation
Badges
Recent posts
-
Alternatives to '@slugify-title'
· 8 years ago
@pamtbaau Your solution worked. Thank you! I was hopping to override AdminController::taskContinue() but that doesn't seem possible.. so I will go with events.
-
Alternatives to '@slugify-title'
· 8 years ago
Thank you! That looks like a good solution. I will test it after I get back home. I was wondering if Grav has a rewrite mechanism like some other CMS have. For example, in Magento it is possible rewri
-
Alternatives to '@slugify-title'
· 8 years ago
I checked again and confirmed that the hyphens are removed in the folder name. By adding some debug output I can see that they are being removed by this line of the slug function: $str = transliterato
-
Alternatives to '@slugify-title'
· 8 years ago
Thank you for your reply. Actually I was first trying to input ‘YYYY-MM-DD’ but the hyphens got deleted in the folder name. I use Grav 1.5.1. Anyway, I now need to input the title with '/' instead of
-
Alternatives to '@slugify-title'
· 8 years ago
Hello I created a blueprint to ease adding news on my website. Basically only the title is required on creation, and it is always a date (with format YYYY/MM/DD). I would like the folder of the page t
-
Rewrite system class
· 8 years ago
Hello Does Grav make it possible to rewrite a class of the system folder? By "rewrite", I mean inherit the class and replace it so that Grav will always instantiate the new class instead of the origin
-
Reuse blocks of content on different pages
· 8 years ago
Yes, exactly. I agree that components are kind of "in between" theme and pages. Pages should be stable when switching from one theme to another, whereas components (or blocks) may change. I also think
-
Reuse blocks of content on different pages
· 8 years ago
@Utis: It's a good idea to use a blueprint to allow adding/removing items from the admin panel. I haven't yet played with blueprints either, and I am not really sure what would be the advantages to st
-
Reuse blocks of content on different pages
· 8 years ago
@Utis: Except maybe the "active" option in the hierarchy posted on my first post, the menus, titles and urls are all content, not configuration. So I am not sure how blueprints would be useful here..
-
Reuse blocks of content on different pages
· 8 years ago
Thank you for your reply. Your theme is a good example. It is reassuring to see that someone found a similar solution to what I did.. I also thought about gathering components inside a single folder,