Earl Well-known member Sep 19, 2024 #1 This can be a silly question but please help, I have a custom template in notice system. I need to add a simple refresh button in it. which parameters and values should I add to the <xf:button /> ?
This can be a silly question but please help, I have a custom template in notice system. I need to add a simple refresh button in it. which parameters and values should I add to the <xf:button /> ?
Solution mjda Sep 20, 2024 Just had a quick look. Scratch that, and try this instead: HTML: <xf:button href="{$xf.fullUri}" class="button" icon="refresh">Refresh</xf:button>
Just had a quick look. Scratch that, and try this instead: HTML: <xf:button href="{$xf.fullUri}" class="button" icon="refresh">Refresh</xf:button>
mjda Well-known member Sep 20, 2024 #2 You might could try something like this...I'm thinking it should work, unless you have params in your URL: Code: <xf:button href="." class="button" icon="refresh">Refresh</xf:button> Upvote 0 Downvote
You might could try something like this...I'm thinking it should work, unless you have params in your URL: Code: <xf:button href="." class="button" icon="refresh">Refresh</xf:button>
mjda Well-known member Sep 20, 2024 #3 Just had a quick look. Scratch that, and try this instead: HTML: <xf:button href="{$xf.fullUri}" class="button" icon="refresh">Refresh</xf:button> Upvote 3 Downvote Solution
Just had a quick look. Scratch that, and try this instead: HTML: <xf:button href="{$xf.fullUri}" class="button" icon="refresh">Refresh</xf:button>
Earl Well-known member Sep 20, 2024 #4 mjda said: Just had a quick look. Scratch that, and try this instead: HTML: <xf:button href="{$xf.fullUri}" class="button" icon="refresh">Refresh</xf:button> Click to expand... thank you! this works Upvote 0 Downvote
mjda said: Just had a quick look. Scratch that, and try this instead: HTML: <xf:button href="{$xf.fullUri}" class="button" icon="refresh">Refresh</xf:button> Click to expand... thank you! this works