pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3196 posts · 17 topics · 1020 reputation
Badges
Recent posts
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 3 years ago
@assbach, When using a yaml/json file, you'll need to load the file, parse it into an array, insert/append/remove item convert array to yaml/json save and override file. Grav has a File class wit
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 3 years ago
@assbach, I've been trying a few things and I give up... I expected the $key value in FlexDirectory::createObject($data, $key, ...) to be used as the key of the object entry. It doesn't seems to be li
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 3 years ago
@assbach, I didn't have a look at the implementation of a FlexDirectory::getObject(key) and FlexCollection::filterBy(), but my gut feel says that FlexDirectory::getObject(key) is an index lookup while
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 3 years ago
@assbach, When creating an object using the FlexDirectory::createObject(data, key, ...), you can pass in a key as second param. This could be a hash of an IP address. Using FlexDirectory::getObject(ke
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 3 years ago
@assbach, The flex-object plugin provides example 'Contacts' which uses contacts.json See Install Sample Data (Optional). Sample using above contacts.json file: Custom plugin catching form and savin
-
Add flex-object to existing flex-dir if not exists (from plugin php)
· 3 years ago
@assbach, grav.CRITICAL: Grav\Framework\Flex\FlexObject::__construct(): Argument #1 ($elements) must be of type array, string given, called in … The error is about the first parameter of the FlexObj
-
How to prevent all indexing of my GRAV on search engines
· 3 years ago
@morten, This is not really related to Grav, but more related to search engines. A wider search on the web returns quite a few sites with suggestions. To pick a few: Google Explains How To Hide A Web
-
Problem installing "Fatal error: Uncaught RuntimeException"
· 3 years ago
@deimosphoibus, It's a good habit to search a forum before posting a question. Try searching for NearlyFreeSpeech
-
Can’t edit style Gantry Template for Joomla v4 from admin panel
· 3 years ago
@Pocztaword, To complement the suggestion of @Karmalakas, you might first try Gantrys forum Gantry 5 for Joomla
-
Page without Primary Image
· 3 years ago
@Thorben, When I add images to a page (e.g. with Page Template “Default”) via the Page Media section it automatically uses the first image as primary image even if I not select any. That behaviour