2023-04-21, 06:10:33 (This post was last modified: 2023-04-21, 23:00:50 by multicolor.)
v 5.0
I18n added Lang Support
Function name shows on label
Migrator included
Rebuild whole plugin on code and structure
Important - if you update from 4.0 to 5.0 you must update all MultiBlock and OneBlock, and elements update title input. This is require for good works.
Click save and go to your Theme tab and edit theme.
Place <?php getMultiBlock('products');?> where you would like your new blocks to appear.
Finally, go to your Pages tab and click "MutliBlock".
Here you should see "My Products" in the dropdown list.
Choose Section, then click "Add New +" and populate your desired info.
Hope this helps!
I've followed the steps and they work brilliantly!
If I add a field type "Dropdown", how to I add items to it?
How difficult would it be to add a video field type (I want HTML video, not Youtube or Vimeo). Is this something I could pay to have done?
This is a small thing, but if I select WYSIWYG as the field type, <p> tags are displayed in the website. It's not a big deal - I just switched to textarea and that works fine.
Everything is showing "OK" on the site health check page.
When I try to add a new item I get this from the debugger:
Parse error: syntax error, unexpected '?' in /home16/webdesi5/public_html/gs4/plugins/multiBlock/multiform/newblock.php on line 91
Do you suppose that removing the plugin and reinstalling it would be a good first step? I won't lose anything important - just been playing with it today.
I think I might scrub this whole site and start again. My navigation is no longer working, although it's fine locally. I tried turning off Fancy URLs and flushing the cache. I can type the path, like https://mysite/gs4/index.php?id=events and can navigate to a page. But otherwise I just get 404.
It's just a playing around site so nothing lost.
Thanks for your help, Islander. Tomorrow I'll start from scratch again.
(2023-10-16, 19:28:47)CathG Wrote: I think I might scrub this whole site and start again. My navigation is no longer working, although it's fine locally. I tried turning off Fancy URLs and flushing the cache. I can type the path, like https://mysite/gs4/index.php?id=events and can navigate to a page. But otherwise I just get 404.
It's just a playing around site so nothing lost.
Thanks for your help, Islander. Tomorrow I'll start from scratch again.
Even though you are still on php5.6, you may want to give this newer version a try: GS Community Edition (php8.x)
which would be more forward compatible and includes several bug fixes that exist in the 3.3.16 version.
2023-10-17, 07:35:10 (This post was last modified: 2023-10-17, 07:45:59 by CathG.)
(2023-10-16, 19:55:23)islander Wrote:
(2023-10-16, 19:28:47)CathG Wrote: I think I might scrub this whole site and start again. My navigation is no longer working, although it's fine locally. I tried turning off Fancy URLs and flushing the cache. I can type the path, like https://mysite/gs4/index.php?id=events and can navigate to a page. But otherwise I just get 404.
It's just a playing around site so nothing lost.
Thanks for your help, Islander. Tomorrow I'll start from scratch again.
Even though you are still on php5.6, you may want to give this newer version a try: GS Community Edition (php8.x)
which would be more forward compatible and includes several bug fixes that exist in the 3.3.16 version.
Good morning.
I did a brand new install of GetSimple, version 3.3.16. PHP 8.0.30. Everything is showing OK under health check.
When I add a dropdown box, I get this at the front end:
Fatal error: Uncaught Error: Call to undefined method MultiBlock::dropdown() in /home16/webdesi5/public_html/gs5/plugins/multiBlock.php:151 Stack trace: #0 /home16/webdesi5/public_html/gs5/data/other/multiBlock/category/mains.txt(7): mbdropdown() #1 /home16/webdesi5/public_html/gs5/plugins/multiBlock/class/frontMultiBlock.class.php(27): include('/home16/webdesi...') #2 /home16/webdesi5/public_html/gs5/plugins/multiBlock.php(167): frontMultiBlock->get() #3 /home16/webdesi5/public_html/gs5/theme/Innovation/multiblock.php(30): getMultiBlock() #4 /home16/webdesi5/public_html/gs5/index.php(134): include('/home16/webdesi...') #5 {main} thrown in /home16/webdesi5/public_html/gs5/plugins/multiBlock.php on line 151
When I edit an item, I get this at the back end:
Warning: file_get_contents(/home16/webdesi5/public_html/gs5/data/other/multiBlock/entrees/secondentree.json): Failed to open stream: No such file or directory in /home16/webdesi5/public_html/gs5/plugins/multiBlock/multiform/newblock.php on line 40
I wanted to send a screenshot showing the fields and what I have in the block template, but it says I've exceeded my quota so I've uploaded it: https://education.place/getsimple/multiblock.html
WEIRD ADDENDUM: If I go back to the same block and edit it, I don't get the error and it updates okay.
GS v3.3.16 will not work with anything higher than php7.4.
You are going to need to visit GS Community Edition (php8.x) and download v3.3.19.
You will also find a link to many of the common plugins that have been updated to work with php8.x
There is also a patch that you can use there, just overwrite your existing install. No data should be effected, but it it always best to backup just in case.
See if that solves some of your problems and let us know.
2023-10-17, 08:15:13 (This post was last modified: 2023-10-17, 08:37:35 by CathG.)
(2023-10-17, 07:54:27)islander Wrote: GS v3.3.16 will not work with anything higher than php7.4.
You are going to need to visit GS Community Edition (php8.x) and download v3.3.19.
You will also find a link to many of the common plugins that have been updated to work with php8.x
There is also a patch that you can use there, just overwrite your existing install. No data should be effected, but it it always best to backup just in case.
See if that solves some of your problems and let us know.
Okay doke. Switched to PHP 7.3.33.
Editing now works perfectly.
Same problem and message at the front end with the dropdown box.
I just tried to add a new block (to the section that has a dropdown box) and got this at the back end:
Warning: file_get_contents(/home16/webdesi5/public_html/gs5/data/other/multiBlock/mains/Mains2Slug.json): failed to open stream: No such file or directory in /home16/webdesi5/public_html/gs5/plugins/multiBlock/multiform/newblock.php on line 40
OK Cath, I just took a look, so you can edit your last post and remove the login info before something bad happens.
Its late on my end, so I will see if I can look at this tomorrow. I dont known If I have used the drop down or not, so will need to check it on my end before giving any more feedback.
(2023-10-17, 08:28:26)islander Wrote: OK Cath, I just took a look, so you can edit your last post and remove the login info before something bad happens.
Its late on my end, so I will see if I can look at this tomorrow. I dont known If I have used the drop down or not, so will need to check it on my end before giving any more feedback.
• Error
I can not replicate this error on my end, tried several versions of php. Maybe check to see if that .json file exists or if it has read/write permissions.
I will pass this over to @Multi to see if he knows whats going on. Not sure if he has time at the moment though.
• Question
This is not possible, but there are tools to help with this. MB and several other plugins either have built in or an add on to migrate. For example, go to Plugins tab, choose Multi Block, at the top of the settings, you will see a Migrate button. Just update this info, and it will fix all your image links.
(2023-10-17, 18:47:29)islander Wrote: • Error
I can not replicate this error on my end, tried several versions of php. Maybe check to see if that .json file exists or if it has read/write permissions.
I will pass this over to @Multi to see if he knows whats going on. Not sure if he has time at the moment though.
• Question
This is not possible, but there are tools to help with this. MB and several other plugins either have built in or an add on to migrate. For example, go to Plugins tab, choose Multi Block, at the top of the settings, you will see a Migrate button. Just update this info, and it will fix all your image links.
You mean that if you create a dropdown box in your own installation, you're not getting this problem?
Which .json file should I check exists?
I've checked all the files listed below - they all exist:
Fatal error: Uncaught Error: Call to undefined method MultiBlock::dropdown() in D:\xampp\htdocs\gs5\plugins\multiBlock.php:151 Stack trace: #0 D:\xampp\htdocs\gs5\data\other\multiBlock\category\dropdowntest.txt(1): mbdropdown('dropdown') #1 D:\xampp\htdocs\gs5\plugins\multiBlock\class\frontMultiBlock.class.php(27): include('D:\\xampp\\htdocs...') #2 D:\xampp\htdocs\gs5\plugins\multiBlock.php(167): frontMultiBlock->get('dropdowntest', '') #3 D:\xampp\htdocs\gs5\theme\Innovation\multiblockDropdown.php(27): getMultiBlock('dropdowntest') #4 D:\xampp\htdocs\gs5\index.php(134): include('D:\\xampp\\htdocs...') #5 {main} thrown in D:\xampp\htdocs\gs5\plugins\multiBlock.php on line 151
I'd be HAPPY to pay for support, if one of you has time.
Haaa - sorry, I missed the migrate button. Thanks for that.
(2023-10-17, 18:47:29)islander Wrote: • Error
I can not replicate this error on my end, tried several versions of php. Maybe check to see if that .json file exists or if it has read/write permissions.
I will pass this over to @Multi to see if he knows whats going on. Not sure if he has time at the moment though.
• Question
This is not possible, but there are tools to help with this. MB and several other plugins either have built in or an add on to migrate. For example, go to Plugins tab, choose Multi Block, at the top of the settings, you will see a Migrate button. Just update this info, and it will fix all your image links.
You mean that if you create a dropdown box in your own installation, you're not getting this problem?
Which .json file should I check exists?
I've checked all the files listed below - they all exist:
Fatal error: Uncaught Error: Call to undefined method MultiBlock::dropdown() in D:\xampp\htdocs\gs5\plugins\multiBlock.php:151 Stack trace: #0 D:\xampp\htdocs\gs5\data\other\multiBlock\category\dropdowntest.txt(1): mbdropdown('dropdown') #1 D:\xampp\htdocs\gs5\plugins\multiBlock\class\frontMultiBlock.class.php(27): include('D:\\xampp\\htdocs...') #2 D:\xampp\htdocs\gs5\plugins\multiBlock.php(167): frontMultiBlock->get('dropdowntest', '') #3 D:\xampp\htdocs\gs5\theme\Innovation\multiblockDropdown.php(27): getMultiBlock('dropdowntest') #4 D:\xampp\htdocs\gs5\index.php(134): include('D:\\xampp\\htdocs...') #5 {main} thrown in D:\xampp\htdocs\gs5\plugins\multiBlock.php on line 151
I'd be HAPPY to pay for support, if one of you has time.
Haaa - sorry, I missed the migrate button. Thanks for that.
(2023-10-17, 18:47:29)islander Wrote: • Error
I can not replicate this error on my end, tried several versions of php. Maybe check to see if that .json file exists or if it has read/write permissions.
I will pass this over to @Multi to see if he knows whats going on. Not sure if he has time at the moment though.
• Question
This is not possible, but there are tools to help with this. MB and several other plugins either have built in or an add on to migrate. For example, go to Plugins tab, choose Multi Block, at the top of the settings, you will see a Migrate button. Just update this info, and it will fix all your image links.
You mean that if you create a dropdown box in your own installation, you're not getting this problem?
Which .json file should I check exists?
I've checked all the files listed below - they all exist:
Fatal error: Uncaught Error: Call to undefined method MultiBlock::dropdown() in D:\xampp\htdocs\gs5\plugins\multiBlock.php:151 Stack trace: #0 D:\xampp\htdocs\gs5\data\other\multiBlock\category\dropdowntest.txt(1): mbdropdown('dropdown') #1 D:\xampp\htdocs\gs5\plugins\multiBlock\class\frontMultiBlock.class.php(27): include('D:\\xampp\\htdocs...') #2 D:\xampp\htdocs\gs5\plugins\multiBlock.php(167): frontMultiBlock->get('dropdowntest', '') #3 D:\xampp\htdocs\gs5\theme\Innovation\multiblockDropdown.php(27): getMultiBlock('dropdowntest') #4 D:\xampp\htdocs\gs5\index.php(134): include('D:\\xampp\\htdocs...') #5 {main} thrown in D:\xampp\htdocs\gs5\plugins\multiBlock.php on line 151
I'd be HAPPY to pay for support, if one of you has time.
Haaa - sorry, I missed the migrate button. Thanks for that.
Thanks again.
https://getsimplecms-ce-plugins.github.io/ New version for test 5.1 (now only on ce repo plugins), now fixed dropdown ,Before end this week or begin next i will do create more feature what you suggest. Thanks a lot for idea and support my work from PP! That's gives me power for do it more for people I waiting for feedback.