AndrewSimm
Well-known member
I have an add-on that uses a template modification to pass a true/false article argument to post macro in the post_macros template.
If article is true then some other changes are performed.
My only issue is after replying to the article the post below "There are more posts to display" do not use the changes, but instead format like they do when displaying in the thread. If a refresh the page then everything shows correctly.
My question is where else do I need to pass the article argument to or what do I need to extend?
Code:
<xf:macro name="post" arg-post="!" arg-thread="!" arg-article="">
If article is true then some other changes are performed.
My only issue is after replying to the article the post below "There are more posts to display" do not use the changes, but instead format like they do when displaying in the thread. If a refresh the page then everything shows correctly.
My question is where else do I need to pass the article argument to or what do I need to extend?
Last edited: