Code Machine
Forum Replies Created
-
Forum: Plugins
In reply to: [CSS & JavaScript Toolbox] Basic Questions: How to get code to wrap in editorThis feature is only available in http://css-javascript-toolbox.com/extensions/editor-toolbox/ extension. This extension is also provide a Full screen mode block editor.
Thanks,
AHMeDForum: Plugins
In reply to: [CSS & JavaScript Toolbox] CJT admin page black after updateTemporary good.
Currently Plugin owner is stopped being support for Community as we’re struggling keeping developing CJT.
Once we get back again into development track we will consider those issue.
I will let you know.
Forum: Plugins
In reply to: [CSS & JavaScript Toolbox] CJT admin page black after updateyou can download any previous version from WordPress Repository:
https://ww.wp.xz.cn/plugins/css-javascript-toolbox/developers/
For version that required database upgrade CJT doesn’t support Downgrading. You can use version 7.2 but I don’t recommend to get lower than that.
Forum: Plugins
In reply to: [CSS & JavaScript Toolbox] CJT admin page black after updateBTW: There is no installation process for the latest CJT version. The database is not changed and no installation required. Once the new files uploaded to the server and the cache is refreshed the Plugin would act like before and even if you upload the Old Plugin version it would work too. Only the Code in the files is changed
Forum: Plugins
In reply to: [CSS & JavaScript Toolbox] CJT admin page black after updateAre you sure you don’t have a Performance/Cache Plugin caching your old javascript/styles?
There is another user https://ww.wp.xz.cn/support/topic/cant-install-54?replies=18 had the same issue. It created by a Performance Plugin that cache old js/css in a cloud server.
Forum: Plugins
In reply to: [CSS & JavaScript Toolbox] CJT admin page black after updateThis is a cache issue.
Forum: Plugins
In reply to: [CSS & JavaScript Toolbox] Multisite installationHello,
Thanks!
Glad everything is now works fine.
Please never hesitate to contact us if there is any other issue.
Regards,
AHMeDForum: Plugins
In reply to: [CSS & JavaScript Toolbox] Multisite installationWe just released version 8.0.2 with this issue fixed.
You now can upgrade CJT Plugin from Plugins/Update page.
Please let me know if you’ve any issue.
Best Regards,
AHMeDForum: Plugins
In reply to: [CSS & JavaScript Toolbox] Can't InstallYou’re much welcome.
Do you’ve A Cache/Performance Plugin installed?
We just noticed another user has a problem as he has a Performance Plugin that cache and Minifying the Javasscript file in his cloud server.
Forum: Plugins
In reply to: [CSS & JavaScript Toolbox] Multisite installationYes
This is a bug we just find for Multi site installation.
I noticed your Support mail and I’m currently of solving this.
I got it solved and we’re currently releasing the fix.
You can refund if you like or you can wait until the release. It might be today.
Thanks and sorry for the problem you’ve.
Regards,
AHMeDForum: Plugins
In reply to: [CSS & JavaScript Toolbox] Need to insert code at the top of the headerYes, sorry!
You’re right. You can use
Yes you can use $(‘#myblockid’).prependTo($(‘head’)).
However I believe you want your script to run before any others!
The solution I gave you will move the element to the correct spot after the document is loaded and therefor the scripts is already executed.
Is this a problem?
Forum: Plugins
In reply to: [CSS & JavaScript Toolbox] Need to insert code at the top of the headerAfter the header TAG?
As I know that there no elements allowed outside HEAD and BODY tags!
HTML doesn’t allow that!
Forum: Plugins
In reply to: [CSS & JavaScript Toolbox] Need to insert code at the top of the headerCurrently there is no way to do that.
However you still can do that using Javascript by creating a Javascript snippets that moves the code block content to the desired location.
Please follow those steps:
1. Create CJT Code Block
2. Assign Code Block to the desired page/post
3. Set Location to Footer
4. From Templates lookup form, scroll down to jQuery under Javascript/Wordpress, click ‘link’ to load jQuery when block is delegated.
5. Envelope Master (Block Code you want to move) Code-File Code by HTML element with ID assigned and set it to be hidden<div id=”myblockid” style=”display:none”>CONTENT</div>
6. Click on the Master Code File (Master link right to the Block Name)
7. Click Create File Menu item
8. Name the code file “Locator” and set the type to Javascript.
9. Click save to save the new code file.
10. Select the new Code File you just created from the Code Files list.
11. Add the following code and save.(function($) {
/**
*
*
*
*/
var moveCodeBlock = function() {
// Move Code BLock
$(‘#myblockid’).prependTo($(‘body’))
// Display code block
.show();
};// Move code block when document ready
$(moveCodeBlock);})(jQuery);
This would move the Code Block to be the be the first element inside the body element.
Hope that helps.
Regards,
AHMeDGood!
You’re very welcome
Thanks for using CJT
Regards,
AHMeDForum: Plugins
In reply to: [CSS & JavaScript Toolbox] cannot create code block on fresh installThis should be solved.
Is it?