HTML Option in ACP without php include.
Pages
@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.
- Edited
@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. :/
Doesn't work with beta6:
Class Flarum\Forum\Controller\ClientController does not exist
can this custom pages be activated as a homepage/landing page?
rnovino no but there's an open issue for this feature: sijad/flarum-ext-pages6
rnovino I couldn't reproduce, can you please make sure there's no PHP error in your error logs?
- Edited
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>
dark mode design is kinda broken:
- Edited
Hi everyone! Thanks @sijad for your plugin.
My question is: Is there a way to add javascript in page ?
I would like to add converse.js on the page.
https://conversejs.org/docs/html/quickstart.html
Edit: In fact, the converse windows appears only after a sedond visit on the page. I don't know why.
Cheers!
But how will I be able to display the pages as tabs on the home-page?