SV7 When using a friends-of-flarum page as the home page...there is a hamburger menu in the top-bar, and the rest of it is blank (on mobile). Is there a way to display a logo/text or search/notifications on that mobile top-bar (the app-header)?
dragnball Trying to make a static page with an image. Where should i store the image on the server? I tried to put it in var/www/html/public/my_image.png and then access it with <img src="https://mywebsite.com/my_image.png">
dragnball Yay got it working. I tested writing "https://mywebsite.com/public/my_image.png" in my browser and it said Forbidden You don't have permission to access this resource. Apache/2.4.29 (Ubuntu) Server at _ Port 443 Went into var/www./html/public/ with terminal and changed ownership of image with "sudo chown www-data my_image.png" which made it possible to access file Thanks to https://discuss.flarum.org/d/22379-cannot-connect-to-website
Pherinos dragnball Went into var/www./html/public/ with terminal and changed ownership of image with "sudo chown www-data my_image.png" which made it possible to access file An sudo chmod 644 my_image.png must work too.
dragnball It works just fine to add html commands but when i do <html> </html> It always jumps down one line for each command making my image appear 10*newlines down. This makes it next to impossible to do add css. Maybe i'm doing something wrong
datitisev dragnball You shouldn't use the HTML, HEAD or BODY tags. You aren't designing a whole page, just a subset of it, so it makes sense that the styles would become messed up.
clarkwinkelmann Just released version 0.3.0 Added restricted pages. Customize who can access those pages via the Permissions tab Fixed drafts that weren't properly hidden from public view Dropped non-English translations (not sure why we still had them after moving the extension to FriendsOfFlarum) Update with composer require fof/pages php flarum migrate
therealsujitk clarkwinkelmann There is a tiny bug.... This bug appears only on the admin panel. There is an extra zero after the title name. Only 'Privacy Policy' is supposed to appear. But, like I said, the extra zero does not appear on the page itself so it's not urgent.
datitisev ValiantShishu Looks like it was successful in the end. Perhaps GitHub was having some trouble initially. You should be fine.
clarkwinkelmann therealsujitk [deleted] tolgaaaltas woops I missed the GitHub issue. I just released a fix now.
clarkwinkelmann SteveXu200512 I don't think you can input javascript in the page HTML. But you could add javascript through the extension API or to some extent via the Flarum footer.