HTML Option in ACP without php include.

    Oh wow. I'm going to test this as soon as I can. Thanks! sijad

    @sijad So far my dynamic php pages look great! However, I'm still testing them and the first thing I noticed was my pagination is not working.

    For example, right now my test page is http://localhost/flarum/p/2-test?result=2 and it just reloads the same results. I'm assuming it's something with this extension? Because I've been using the same pagination for a long time.

    Thanks.

      grantus the query you send to forum will not available in request that will send to API. I'll find a way to fix this.

      11 days later

      @sijad , a important thing.
      When user try a page no created, need to return 404.

      For example, just have page 1 and 2, and user try http://site.com/p/3

      A js error will be created, it's not a good idea. :/

      25 days later

      Doesn't work with beta6:

      Class Flarum\Forum\Controller\ClientController does not exist

        A new version has been realized, it's compatible with Flarum Beta 6.

        you can update via composer to latest version.

        deseven thanks for report

          can this custom pages be activated as a homepage/landing page?

            sijad tested this out on beta 6 how does the enable html work coz I inserted html tags but id just showed be blank page.

              sijad it doesn't accept tables

              try this codes

              .tg  {border-collapse:collapse;border-spacing:0;}
              .tg td{font-family:Arial, sans-serif;font-size:14px;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;}
              .tg th{font-family:Arial, sans-serif;font-size:14px;font-weight:normal;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;}
              .tg .tg-yw4l{vertical-align:top}
              </style>
              <table class="tg">
                <tr>
                  <th class="tg-yw4l"></th>
                  <th class="tg-yw4l"></th>
                  <th class="tg-yw4l"></th>
                  <th class="tg-yw4l"></th>
                  <th class="tg-yw4l"></th>
                </tr>
                <tr>
                  <td class="tg-yw4l"></td>
                  <td class="tg-yw4l"></td>
                  <td class="tg-yw4l"></td>
                  <td class="tg-yw4l"></td>
                  <td class="tg-yw4l"></td>
                </tr>
                <tr>
                  <td class="tg-yw4l"></td>
                  <td class="tg-yw4l"></td>
                  <td class="tg-yw4l"></td>
                  <td class="tg-yw4l"></td>
                  <td class="tg-yw4l"></td>
                </tr>
                <tr>
                  <td class="tg-yw4l"></td>
                  <td class="tg-yw4l"></td>
                  <td class="tg-yw4l"></td>
                  <td class="tg-yw4l"></td>
                  <td class="tg-yw4l"></td>
                </tr>
              </table>

                rnovino the problem is I'm using nl2br function to making text look good when you're using html mod, but it also insert <br> tag to <style> content which make it invalid style. I couldn't find a proper way to fix this.

                  10 days later

                  dark mode design is kinda broken:

                  a month later

                  @nibreh

                  Edit: In fact, the converse windows appears only after a sedond visit on the page. I don't know why.

                  that's because page contents load via ajax, This will be fixed in next version.

                    sijad Thanks for the answer. I wish the team good luck in their efforts.

                    12 days later