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

    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.

    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.

    8 days later

    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
      8 days later

      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.

        8 days later

        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.

        Hey guys - I have installed the extension, sorry if this sounds like a stupid question, but how do you actually view that page once you have saved it?

          5 days later

          Not sure if these suggestions are old, but this would help a lot

          • option to hide the title (.pageHero)
          • when HTML enabled, remove nl2br feature (only minified code looks like it should be)
          • add javascript-support field which is output to the footer of the page

          And CSS in HTML doesnt seem to work, right? (<style>...</style>)

          Hello, since my project needs extra pages I'm wondering if this extension could have an advanced text editor (similar to that of WP) and also if the content of the homepage could be chosen : that it could be another page than the forum.

            askvortsov I don't think that issue is relevant to this question. FoF Pages can already be set as Flarum homepage.

            bavard there is no plan to add any form of page builder at this time. You could pay a developer to get the features you want added. But I suspect it will be either very specific, or very broad and as such expensive.

            You can already use HTML. You could use an offline HTML editor to build the page. This will only work if everything on the page is static though, as any dynamic feature would require additional code.

            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 ?