D

How to save additional data to a Post

  • Thread starter Thread starter delzhand
  • Start date Start date

Visitor Greeting

Welcome to NullWarehouse.com... We are currently seeking Mod's and Contributors. If you wish to apply for a Mod position then please click on Members dropdown arrow, then click on Staff App and fill it out completely and submit it. If you want to be a Contributor then start contributing and we will have our eye on you and take notice, something great could come of it.

  • We have redone the forum. If you notice any issues or errors please open a Support Ticket under the Members dropdown and let us know.
D

delzhand

Guest

I'm trying to add a checkbox to posts that allows users to toggle a change to the way the post is presented in a thread.

I've successfully added a column to the xf_post table. I have a listener that exposes the data to the post, and I'm able to both show a checkbox in the post_edit template populated with the right value and add a css class in post_macros where I need it. I manually flagged some posts in the database to test it out and these parts work great.

However, I'm struggling to...

Read more

Continue reading...
 
Similar content Most view View more
Back
Top Bottom