Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Sean Member
@seanparko · Joined 2 years ago · 11 posts · 2 topics · 1 reputation
Badges
Recent posts
-
Plugin: How to get url of media in current page's folder
· 2 years ago
I tried looking in the plugins folder, but there is no base plugin or anything like similar that I could see that appears to have the onMarkdownInitialized function in it. Do you know where-abouts in
-
Plugin: How to get url of media in current page's folder
· 2 years ago
Like I want to use getPath() from Interface: \Grav\Common\Media\Interfaces\MediaCollectionInterface. Can you just tell me if I'm making sense when I say that I want to implement the interface?
-
Plugin: How to get url of media in current page's folder
· 2 years ago
Like I can't tell if I'm talking jibberish. Like I'm not having a go, does it even make sense what I'm asking? Like I know what part of the media interface I want to use, how do I call it? I know I'm
-
Plugin: How to get url of media in current page's folder
· 2 years ago
💀 I'm new to GravCMS and php in general. Would you prefer me to ask you to write the whole thing for me? I tried to write it on my own, then I asked chat GPT how to get the URL, and then I went to the
-
Plugin: How to get url of media in current page's folder
· 2 years ago
Tbh that was just generated by chat GPT. Monkey see, monkey do. So I put use in the top of my PHP code to use the class, but how do I actually access these functions? Like I can't just put getPath() a
-
Plugin: How to get url of media in current page's folder
· 2 years ago
Yeah, I mean like how do I put these in my code? Like how do I call the interfaces from the API?
-
Plugin: How to get url of media in current page's folder
· 2 years ago
How do I reference these in my code?
-
Plugin: How to get url of media in current page's folder
· 2 years ago
Hello, I'm working on a plugin to allow the insertions of SVG files in markup, but I'm not sure how I can retrieve the URL of an svg contained within a page folder. Sure, I could use an absolute path
-
Including File Browser Plugin on page
· 2 years ago
I think you've misinterpretted what I meant. If I only have 1 instance of file_browser_plugin.html.twig, and I can't include the file browser in any other template instance, that means I can only have
-
Including File Browser Plugin on page
· 2 years ago
Okay, what about having individual pages with file browsers on them? How can I have multiple file_browser_plugin.html? Thanks for your help.