-
-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] e107::getComment()->render() not ready to display mutiple times on same page #1944
Comments
Update: Im driving crazy with next prev buttons, can someone confirm that they are working as expected? (in my case they just doesnt do nothing) Fix -> #1945 |
@nesjett Have you been able to solve this? |
So far, adding comments still seem to work. Haven't tested with multiple comment forms yet. |
@CaMer0n The whole structure of the comments was broken. Maybe because of CSS or Javascript. |
Hi all, before update: I updated I added comment menu to news sidebar... It surprised me that Moderate comments took me to admin area... Ok, I maybe have the problem:
|
@Evgura Did you try clearing the browser cache after updating? |
@CaMer0n Yeah, I cleared my browser cache. It doesn't help. Comments should look like this: |
Thank you @Evgura . Would you be okay to send me your theme (via Private message on Github) so I can test with it? |
@CaMer0n , Don't know how to github to send a personal message, theme BS_Magazine_02, I have the theme without any changes. |
okay, thank you @Evgura . I'll just download it then. |
@Evgura theme from e107.org or from Fizi site? |
@Jimmi08 The website fizi I can not open the theme site e107.org |
@Evgura just posted you fix by mail you have on my site. Test and you can close this. This is the theme update problem, so the theme author needs to do it. |
…eme must be changed to .comments-container
@Jimmi08 Rename it "style" ? |
@fizi @Evgura @KiraTheUltimate All references (eg. in style.css) to |
no, just upload. it's the way how to customize a theme without losing of the update feature |
I tried to change #comments-container to .comments-container and nothing has changed. |
I am assuming this is fixed (when themes apply the right styling)
|
As the tittle says, It seems that if you call reder() multiple times on the same page, It´s default behaviour will be broken.
It adds the comment as espected, and renders them, but the javascript is not done in the right way and it shows the resulting new comment on the wrong element.
Explanation:
The problem is that you handle a lot of things with ID in order of using Classes and find them trought parent (or somthing dynamic)
Scenario:
We would need a lot of comment forms on a social news feed, for example like facebook one.
I´ve already solved that, but I´m still working on making prev next buttons work, and edit one
Ill make a pull request when finished, hope it helps.
The text was updated successfully, but these errors were encountered: