bavard Is this extension for creating pages and adding them to the navigation menu, while the Links extension does the same but for links ? If so, and considering that menus are made of internal and external links, shouldn't both extensions be combined ?
datitisev bavard What's the problem with having them separate? Also - Flarum Discuss uses fof/links but not fof/pages - the links point to internal discussions.
bavard datitisev The readme are too short for me to know all the features. Custom pages need custom links, and vice versa. Both features are needed together so they might as well be combined. Also less extensions means less trouble.
datitisev bavard They aren't needed together. They can be used together - and most people do, but it's not necessary. Combining them would be pointless and confuse people that just want links and not pages.
Ayoub 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
clarkwinkelmann Ayoub does running php flarum migrate fixes it ? Or disabling and re-enabling the extension.
Gizmotronn 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!
clarkwinkelmann 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.
clarkwinkelmann nether494 are you able to share any detail to help us troubleshoot ? Any error message or output ?
nether494 clarkwinkelmann I run the update command and it tells me I'm up to date lol I can't receive your update
Kylo nether494 are you using composer update or composer require ? Use composer require fof/pages and run composer why-not fof/pages 0.4.0 if that doesn't work
Gatsu 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
EvgeniySotnikov FriendsOfFlarum 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
clarkwinkelmann 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.
EvgeniySotnikov 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
clarkwinkelmann EvgeniySotnikov .Pages-page .Hero { display: none; } You can access a page via: /p/<id> /p/<id>-<slug> /p/<slug> / (if set as homepage)