XF 2.0 How to create this specific addon....

koa

Member
Hi! I'm trying to get a hang of creating Addons for XF. And wow, the learning curve is a bit steep.

I have a specific addon I'm thinking of creating for my community but I don't know where I would start. I did read the addon tutorial for the Demo Port, but I'm still a bit confused how I would go about certain things. I get creating pages and messing with MySQL.

So, let's say I wanted to create a page where it's a two column page, on the main content area, it user-generated content and on the side it has some options and stats.

Main Content:
  • Lists content submitted by users via options that's accessed by the sidebar.
  • Clicking on one "content block" would take you to that contents page.
Sidebar:
  • Has a button "Submit Content".
  • Clicking button takes you to a custom form.
  • After clicking the form, you're directed to that content page.
  • Content could be anything. Form would have a few field, as well as the wysiwyg editor.

I can kinda understand how to fetch that content thanks to the dev tutorial, but I don't understand how I would create a whole other custom form/post page, and where that form would POST to for that content submission. Or if that step could be done with AJAX.

How would I do this?

Thanks.
 
Back
Top Bottom