Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.
Load what data? If you mean the form, you can use conditionals to not show it if they do not have any templates, or to show a button to create a template.
As for playing with the javascript... The way your video showed takes more work than selecting from a dropdown.
On the normal pageload it doesn't load anything, it just adds the button if js is available. (that's important for me, because i don't want to load ANYTHING on the standard pageload)
Once the user clicks on it, he gets a list of his post templates.
Now he can click on the list items to insert the text into the editor (i'll install tomorrow a demo on ragtek.org so you'll see what i'm talking about^^)
Maybe it's a good idea to give admin an option to choose where does he need these templates. And they will be automatically inserted into textfield if the user wants to create a thread in that forum.
At the moment we only use post templates in threads and this is sufficient. The availability and visibility would need to be usergroup dependant, of course.
At the moment we only use post templates in threads and this is sufficient. The availability and visibility would need to be usergroup dependant, of course.
A little off-topic, but with some similarities...
On our vb3.8 board we've been using a tool for many years to insert special characters into the message window. (see the attached screenshot). I would love to have this feature too in XF. How could I do this?
A little off-topic, but with some similarities...
On our vb3.8 board we've been using a tool for many years to insert special characters into the message window. (see the attached screenshot). I would love to have this feature too in XF. How could I do this?
this would be possible, but IMHO it would be better to insert this feature direct into the editor (because it's static content) and not dynamic as my user specific user post templates.