pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3185 posts · 17 topics · 1019 reputation
Badges
Recent posts
-
Avoid race condition
· 7 years ago
@TheDancingCode, As said, I have never dealt with this in PHP... Below is (a part of) the definition of class AbstractFile (see '/system/src/Grav/Framework/File/AbstractFile.php') , which is the paren
-
Avoid race condition
· 7 years ago
@TheDancingCode, Although I have never dealt with this situation using PHP, I can think of the following: Request an exclusive lock before reading/writing the file(s). See flock() Use sqlite with au
-
Vela theme frontend login
· 7 years ago
@hotel, I haven't been able to find that login functionality when clicking on the title in the menu. According the template '/user/themes/vela/templates/partials/navigation.html.twig', the title shoul
-
Comments form design
· 7 years ago
@hotel, You have a few options to add your own styling to a theme. But first some explanation. Have a look at template '/user/themes/vela/templates/partials/base.html.twig'. It contains a section wher
-
Userdata is not set when logged in
· 7 years ago
@sque, While reading the README of the login plugin for your last question, I noticed the following quote: Note: the frontend site and admin plugin use different sessions so you need to explicitl
-
"Private Area" not working with session initialization disabled
· 7 years ago
@sque, I presume it is because when system.session.initialize is set to false, Grav won't set a cookie for the user. According the comments in /system/config/system.yaml' for the setting system.sessio
-
RSS Feed picking up wrong name
· 7 years ago
@techielass, I presume you meant you: Copied templates '/user/plugins/feed/templates/(atom|feed).rss.twig' to '/user/themes/my-inherited-theme/templates' And hard-coded the title in the copies? ;-)
-
Emphasis within quoted / indented text?
· 7 years ago
Hi @sue, is the following code block something you are looking for? <pre><code>This is <b>bold</b> inside a code block</code></pre> If so, you can create it by mixi
-
Userdata is not set when logged in
· 7 years ago
Hi @sque, Are you sure a user did indeed login? If not, there is no data about a user... To force the user to login when accessing a page, add the following to the page: access: site.login: true S
-
RSS Feed picking up wrong name
· 7 years ago
Hi @techielass, I presume you are using the plugin "feed"? Looking at the source code at Github, the title is always the title of the page on which the plugin in placed. This is the Twig the plugin u