The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MultiBlock
#38
(2024-06-20, 06:15:55)islander Wrote:
(2024-06-13, 05:06:43)roisag Wrote: On frontend everything works fine.

I figured out that items customĀ  order for section is stored in order.txt file. I have 10 items in section so after saving custom order of items plugin created this file that in my case contains string "5,6,9,7,8,4,3,2,0,1". But after adding another one item to section order.txt file is not updated. So we have 11 items in section but order.txt still contains only 10 and I think that is the problem. If custom order is detected after adding new item it shoud be placed as first or the last element of the list I think.

v5.5 is now available and I think it has resolved this issue.

https://github.com/GetSimpleCMS-CE-plugins/plugin-MultiBlock/archive/refs/heads/5.5.zip

Yes, it works fine now. One important thing for user that has custom sorting. Now it is based on slug that is generated automatically. So after plugin update you need to edit and save existing items to update config files. After doing that sorting works as expected on backend and frontend. New item is adding to the top of list. Thank you.
Reply


Messages In This Thread
MultiBlock - by multicolor - 2022-09-13, 05:12:55
RE: MultiBlock - by multicolor - 2023-01-18, 07:25:47
RE: MultiBlock - by multicolor - 2023-04-21, 06:10:33
RE: MultiBlock - by CathG - 2023-10-15, 05:39:04
RE: MultiBlock - by islander - 2023-10-15, 18:48:26
RE: MultiBlock - by CathG - 2023-10-16, 11:11:44
RE: MultiBlock - by CathG - 2023-10-16, 12:00:04
RE: MultiBlock - by CathG - 2023-10-16, 14:29:26
RE: MultiBlock - by CathG - 2023-10-16, 14:50:42
RE: MultiBlock - by islander - 2023-10-16, 18:02:46
RE: MultiBlock - by CathG - 2023-10-16, 19:20:27
RE: MultiBlock - by CathG - 2023-10-16, 19:28:47
RE: MultiBlock - by islander - 2023-10-16, 19:55:23
RE: MultiBlock - by CathG - 2023-10-17, 07:35:10
RE: MultiBlock - by islander - 2023-10-17, 07:54:27
RE: MultiBlock - by CathG - 2023-10-17, 08:15:13
RE: MultiBlock - by islander - 2023-10-17, 08:28:26
RE: MultiBlock - by CathG - 2023-10-17, 08:38:03
RE: MultiBlock - by CathG - 2023-10-17, 08:59:19
RE: MultiBlock - by islander - 2023-10-17, 18:47:29
RE: MultiBlock - by CathG - 2023-10-17, 19:30:26
RE: MultiBlock - by multicolor - 2023-10-17, 20:38:42
RE: MultiBlock - by multicolor - 2023-10-18, 08:09:19
RE: MultiBlock - by CathG - 2023-10-18, 08:11:47
RE: MultiBlock - by CathG - 2023-10-18, 08:18:49
RE: MultiBlock - by CathG - 2023-10-18, 08:32:54
RE: MultiBlock - by islander - 2023-10-18, 00:02:48
RE: MultiBlock - by multicolor - 2023-10-18, 06:14:27
RE: MultiBlock - by roisag - 2024-06-10, 23:56:20
RE: MultiBlock - by islander - 2024-06-11, 00:30:34
RE: MultiBlock - by roisag - 2024-06-11, 16:59:42
RE: MultiBlock - by islander - 2024-06-12, 18:32:07
RE: MultiBlock - by roisag - 2024-06-13, 05:06:43
RE: MultiBlock - by islander - 2024-06-13, 06:35:23
RE: MultiBlock - by islander - 2024-06-20, 06:15:55
RE: MultiBlock - by roisag - 2024-06-21, 06:23:11
RE: MultiBlock - by Oleg06 - 2024-06-19, 23:12:20
RE: MultiBlock - by islander - 2024-06-20, 02:12:12



Users browsing this thread: 5 Guest(s)