In my template I want to create sidebar navigation and the user can navigate to different pieces of content depending on which navigation button is selected.
I want to basically use the URL to decide which navigation tab the user is on.
so for example
I'm following the "Let's build an add-on" in the dev docs and ran into an issue.
I'm in the "Create the portal page" section
Specifically I'm creating the .html template which ive placed in "src/addons/Demo/Portal/_output/templates/public/demo_portal_view.html"
Now what is happening is that...
So I am successfully regex matching a section of the PAGE_CONTAINER template and I want to replace the matched text with the contents of another custom template I made called 'marksTemplate'
Is this possible?
Is there a simple xf call to pull in the contents of a template?
I've so far tried...
Thank you man, I got started and successfull made my add-on
Now i'm trying to make the Template Modification but having problems
I went to "Appearance" -> "Template modifications" and am under the "Public" tab. But I don't see any option to "Add template modification" as per the...
I've been basicly directly editing my PAGE_CONTAINER template to add custom header graphics with my own divs. Over time i've been adding more and more custom html elements to that template, and i realized that this might be a mistake.
For example, with every XF upgrade I hve to revert the...
I'm following the Add-on Demo: https://xenforo.com/xf2-docs/dev/lets-build-an-add-on/
When I try to run
php cmd.php xf-addon:install-step Demo/Portal 1
I get the following error:
PHP Fatal error: Class Demo\Portal\Setup contains 3 abstract methods and must therefore be declared abstract or...
Did you ever figure this out?
I made a script to transfer over my "likes" from a vb install as reactions in the XF database. I got the data successfully ported over into the XF reaction content table, but the reactions dont actually show up on the posts. I'm assuming something somewhere has...
After 6 days of running the importer (yes 6 days lol) I got to the point of finalizing the import
I thought the last step would be fast so I used the web interface but then as it was rebuilding users it threw this error:
MySQL query error : The total number of locks exceeds the lock table...
I'm pretty good with the whole vB Product/Plugin system. I feel I can make the forum do anything I want, have all the hooks, vars and datamanagers to memory by now, etc..
Now starting the long hard road to learning a new system, in this case XF
I've been reading through the docs for the...