Hey everyone, here is the 5th beta of Blocs V5.1.4. More fixes and a new version of Follow Links Bric to try with the new X social branding replacing Twitter .
Thanks for the update. Just a small point, but if you type in Twitter up pops the follow links bric, however if you type in X it doesn’t. Over time people will start looking for X rather than Twitter, so maybe allow for both.
I just discovered that the php in my custom page lock brics are being mutated even more (I’m sure it will happen w/ any that contain php) - ie when exported, php tags are stripped out, all php scripts are being jammed together instead of leaving them as they were on separate lines and all the php scripts are wrapped in ‘bloc’ tags. I just spent all day working on a new cleanup function - should I release an update or are you going to be able to quickly eliminate the above problems?
Also, the issue with duplicating the .js file in the project settings to the page settings on resetting the Bric is still there and not picked up by the new attachments warning.
I’ll look at the code editor issue, did you have it open as well as Bric builder window?
Also regarding attachments, this only works for the default attachments added via the includes folder. If you use the add resources call those can’t be tracked yet.
In the meantime, at the top of your receiving function just modify the ID variable with ”#”+idVariable if you want to continue to play around with this beta.
But don’t copy and paste that code as it’s smart quotes from a phone and won’t work.