For ****s and giggles I ran this through chatgpt:
You're very close! You're correctly extending `XF\Widget\WidgetRenderer` and attempting to access the current widget, but the issue seems to be **the timing or context of your `render()` override** — specifically, that the `widget` entity isn’t...
I have this piece of code that works but I don't think its the right way to do it.
<xf:if is="$xf.options.myOption != '1'">
<xf:title>{{ phrase('title') }}</xf:title>
<xf:else />
<xf:title></xf:title>
</xf:if>
If I take the else statement out it will replace the title with the board...
When using the prefixinputrow:
<xf:prefixinputrow
label=""
prefixes="{}"
type=""
prefix-value=""
textbox-value=""
placeholder=""
autofocus="autofocus"
help-href="{{ link() }}" />
It has some values to be implemented. I can understand what some of them do but I...
I found this document that might help you on closing your forum:
https://xenforo.com/community/resources/how-to-archive-a-xenforo-forum-to-make-it-read-only.7825/
I saw this thread too. But I am a total newbie so it doesn't make any sense to me or how to use it in my situation.
Thanks you @Ozzy47 for trying to help
I am watching the video series on how to build a note pad. I am stuck on building with Xenforo 2 part 11. It asks me to create this code:
<xf:button href="{{ link('notes/edit', $note) }}" fa="fa-edit"
data-xf-click="inserter"...
XenForo 2.3.6
Usage:
command [options] [arguments]
Options:
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version...
After years of working with XenForo, I decided it was time to deepen my coding knowledge. So, I purchased PhpStorm and set everything up—or so I thought. While following Kier’s video on creating a simple notepad feature, I ran into an issue. In the video, Kier uses the debugger to inspect some...
I've created an option which uses the On/Off checkbox. How do I call the function to see if it has a check mark?
<xf:if is="$xf.options.mycheckboxoption == '1' ">
Do something
</xf:if>
This doesn't work. What is the correct way to call this function?
Thanks,
Itworx4me