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
forums/index.php?mypage&tab=1...
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...
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 put this very basic CSS line into extra.less
left: calc(5% + 33px);
But xenforo outputs it as
left:38%
Is there anyway to tell xenoforo to output my CSS and let the browser do the calculation?
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...
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 [1206]: 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...
I thought reading that xenForo uses alot of InnoDB? Im not exactly sure, but with a fresh install almost everything is MYISAM with a few MEMORY tables. Is this correct? Or did I misconfigure something? I will be importing a very large BB so I dont want to run into table locking issues...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.