inherit
256720
0
Jun 18, 2020 15:10:59 GMT -8
bluecargo1
36
October 2018
bluecargo1
|
Post by bluecargo1 on Oct 25, 2018 17:48:52 GMT -8
Hi, I would like to know the code that must be added/change to refresh the page / post list whenever a post gets deleted. I must have changed something in the template code, because now I have to manually refresh page to see the post disappear, instead of before it refreshing automatically when the post got deleted. Can you guys help me?
|
|
inherit
223470
0
Feb 27, 2019 17:05:53 GMT -8
₪» ⅀ ƪ Ƒ «₪
Original registration date: 2007. DeviantART: http://deviantart.com/ruanly. Discord: Ruanly#7946.
1,281
July 2015
fajita
|
Post by ₪» ⅀ ƪ Ƒ «₪ on Oct 25, 2018 17:53:46 GMT -8
I won't be able to personally help you, it's a bit out of my league, but you need to provide a link to your site so that others will be able to diagnose your issue.
When did this start happening?
What all have you edited recently, prior to it happening? Plugins, layout templates, style sheet, headers/footers; codes you added, removed, edited. Anything in the admin panel, essentially, that you did around the time you noticed this issue began.
If you have multiple themes, does this happen on all of them or is it only a specific theme?
|
|
inherit
256720
0
Jun 18, 2020 15:10:59 GMT -8
bluecargo1
36
October 2018
bluecargo1
|
Post by bluecargo1 on Oct 25, 2018 19:12:01 GMT -8
Guests aren't allowed to post in my forum, so the link won't be of any help. I have edited the layout templates of Thread, and Post List, and was changing the code for a while on those templates, but didn't check if the delete button worked until later this evening. There is only 1 theme, the basic blue and white one, and I haven't touched the style sheets, nor do I believe it is a plugin problem, since the refresh after delete worked when testing the plugin.
|
|
inherit
256720
0
Jun 18, 2020 15:10:59 GMT -8
bluecargo1
36
October 2018
bluecargo1
|
Post by bluecargo1 on Oct 26, 2018 19:49:30 GMT -8
figured it out, in Thread under layout templates, this tbody tag existed:
<table> <tbody class="$[list_class]"> $[post_list] </tbody> </table>
I realized in my code, this class was gone, which ended up affecting the delete log button and caused many javascript errors for me. Thank you for the help anyway! - can be marked as resolved
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Oct 31, 2018 6:29:14 GMT -8
Guests aren't allowed to post in my forum, so the link won't be of any help.I have edited the layout templates of Thread, and Post List, and was changing the code for a while on those templates, but didn't check if the delete button worked until later this evening. There is only 1 theme, the basic blue and white one, and I haven't touched the style sheets, nor do I believe it is a plugin problem, since the refresh after delete worked when testing the plugin.
You would be surprised at what we can figure out without needing to be logged in to the forum.
Always post your forum URL when needing help. Not only does it help you, but it helps us solve your problem quicker
|
|