Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Sascha Member
@assbach · Joined 3 years ago · 12 posts · 2 topics · 1 reputation
Badges
Recent posts
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 3 years ago
You're right regarding the topic and drifting off, i was hoping to make things clear and post the whole solution for others, but it has nothing to do with flex anymore, im sorry.
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 3 years ago
Going for caching and performace maybel later. I'm still having a couple problems: how do i get the slug/route of the actual page the likebutton is on? let's say "/test". I tried these: $route =
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 3 years ago
I think i got it working with a YAML file now, thanks for the hints. The only thing i need to achieve is, to assign a CSS-class to the "heart-icon" on page-load, when the visitor comes back and has pr
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 3 years ago
Thank you very much for testing and your support. Actually, i feel a bit relieved that i am not the only one who struggles with that. There will not be many likes so performance will not be an issue i
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 3 years ago
Mhm, since i also want to delete an object when someone who liked the page (clicked the button) comes back later and unlikes, i think i need the key. My code just won't use the hash as a key, what am
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 3 years ago
@assbach: I know this is not a guarantee, but i don’t want to use cookies or sessions. Thank you, i tried using the hash as the key, but it didn't work yet. Will try again. Last thing that looked go
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 3 years ago
The last link was the info and example i needed, thanks a bunch! Saving works now! Now trying to check if the entry already exists.
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 3 years ago
i still don't get it. $flexdir seems to be okay, i thought, cause the Exception is not thrown. What array is it looking for? I cannot find any example code unfortunately.
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 3 years ago
Hey, i've been trying ChatGPT to help me create a custom plugin for a simple like-button in GRAV. I want to store the data in a flex-directory called "likes", there is one test-entry in it already. Pr
-
Collection without pages that have a certain header-value
· 3 years ago
Awesome. That seems to work. Thanks a lot! Now i only have to find out how i need to change the feed plugin so that it respects these settings. This way i could publish articles that won't show up in