Hi folks!
I've successfully installed the 5.4.0RC1 on a subdomain root.
I've uploaded one of my "stress test" theme and it seems that setBlockLimit() does not working on 5.4.0RC1.
I've performed a string search for "setBlockLimit" using 'find' and 'grep' in the whole concrete5 5.4.0RC1 file set but it returned no results.
Is it not implemented in the release 5.4?
Anyone knows about that?
I have a problem related to setBlockLimit(1). In edit mode, after inserting a content, still appears the "Add" layer. Only when I refresh the page, the layer disappears and all works well. The some behavior when I try to remove a content.
If there are 2 blocks currently in the area, edit mode will initially exhibit the proper behaviour and not allow me to add another block. If I delete one of the blocks, it will still not allow me to add another block even though there is now only one block in the area. If I refresh the page, it will allow me to add another block.
Related problem. Same area as above with a limit of 2. If I have only one block in this area and go to add another, I can continue to add blocks past the limit of 2. Once again, if I refresh my page after filling the area with the limit of 2 blocks, I cannot add any more.
This seems to behave like this because the page doesn't get refreshed automatically between add/deletes and so the server-side variables necessary for the setBlockLimit function remain the same values as they were upon first loading the page. They can't be altered client-side when the DOM gets manipulated during add/delete activities.
It works.
Sorry, 3 o'clock in the night.
I did some mistakes.
This post should be deleted.
Thanks