I found it takes a long time (more than 2 minutes) to load the page the first time once I have a template or phrases change. No matter which template I've modified.
Is it fully rebuilding the forums? I'm in a developing environment. How could I reduce the waiting time?
Thanks for your answer. I'm using these now.
But it was not saved when I pressed the save button.
_POST in option/update request. The hytalecn_pnl_group_after_linked option key was filtered out.
Defination of hytalecn_pnl_group_after_linked:
My template:
<xf:checkboxrow...
Thank you for your response.
It shows a list with user groups correctly now, but the value was not saved.
This is my code:
<xf:checkboxrow label="{$option.title}"
hint="{$hintHtml}"
explain="{$explainHtml}"
name="{$inputName}[userGroups]"...
Ah yes. Sorry for forgetting it.
I want to create a list of checkbox, I tried:
<xf:checkboxrow
label="{$option.title}"
hint="{$hintHtml}"
explain="{$explainHtml}"
html="{$listedHtml}"
rowclass="{$rowClass}"
listclass="listColumns">
<xf:foreach loop="$groups"...
I want to create an option with <xf:checkbox> created in <xf:foreach>, but it seems <xf:checkbox> is invalid inside <xf:checkboxrow>.
How to create a checkbox list option?
I got an error log in admin page: XF\Db\Exception: MySQL query error [1264]: Out of range value for column 'position' at row 1 src/XF/Db/AbstractStatement.php:230.
Detailed:
UPDATE `xf_post` SET `position` = ? WHERE `post_id` = 360
------------
#0 src/XF/Db/Mysqli/Statement.php(207)...
I'm trying to use Phrases for i18n of the front-end UI. But XF.phrase() only interprets the keys contained in XF.phrases.
For instance: XF.phrase('oops_we_ran_into_some_problems') got "Oops! We ran into some problems." correctly, but XF.phrase('1_day_ago') did not.
How to make a phrase...