FriendsOfFlarum Pages
He don't work
I use php 7.4.5
Nginx 4.9.5
My error: [2020-04-27 11:57:17] production.ERROR: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'flarum.pages' doesn't exist in /usr/share/nginx/html/flarum/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:64
Ayoub does running php flarum migrate
fixes it ? Or disabling and re-enabling the extension.
clarkwinkelmann I run migrate but nothing change
Would it be possible to add permissions to this? My team's looking to integrate our dashboard into Flarum, and having certain pages visible only to certain groups would be really helpful. It integrates really well with regular Flarum, so thanks!
Gizmotronn have you given the extension a try ? That's exactly what restricted pages do
It's not documented in the README but I think the feature is self-explanatory inside of the extension.
- Edited
clarkwinkelmann Impossible to update to the 0.4.0 version
nether494 are you able to share any detail to help us troubleshoot ? Any error message or output ?
clarkwinkelmann I run the update command and it tells me I'm up to date lol
I can't receive your update
Kylo Again composer require fof/pages
work fine bro
Gatsu do you see any error in Flarum logs or the browser javascript console ?
clarkwinkelmann Now I see it, after 10-15 minutes....
I cleared the cache several times of course.
Maybe it was caused by Uncache by Reflar
HI, please can you help me, how to remove the header from this page, because I want to use my header.
and how to correctly set the link in the extension of the created pages:
now is:
https://mysite.com/p/1-home
I need:
https://mysite.com/home
Thanks in advance
EvgeniySotnikov with CSS, you can hide .Pages-page .Hero
.
Changing the URL structure is however not possible at this time. /p/home
will also work though.
clarkwinkelmann
Thanks for the quick response. Yes, that would save me. What combination in CSS can turned off?
And about the link - how can do it at least without “1-” so that it would be at least “mysite.com/p/home” if impossible in another way? Thanks again
.Pages-page .Hero { display: none; }
You can access a page via:
/p/<id>
/p/<id>-<slug>
/p/<slug>
/
(if set as homepage)
clarkwinkelmann
Clearly, and where do I need to set access if I want to use /p/<slug>
?
Sorry for the stupid questions