Adding API Endpoints
How can I add endpoints for performing API calls using CSS & JavaScript Toolbox Plus?
Adding custom parameters to code blocks
Hello, I was trying to add custom parameters to using the following code in a php block: $cb->params()->add(‘theme’, ‘string’, ‘darkness’)->validate(); but this seems to cause the script to error out when it is executed. Is this the proper way to add custom parameters or is there another way to specify what parameters the code block […]
Apply via category to pages?
I’m using a plug to apply categories/tags to pages, so I don’t have to have individual pages selected for different CSS entries inside CJT. CJT can see the categories that are available to posts and pages, and it works great on posts. However, any page that has a category or tag is not getting the […]
How to get the link of a HTML page
Hi all, I’m new to using this plugin. I’m trying to port an HTML/JS/PHP project to WordPress and I’m having difficulties. I created two HTML pages with CJT called test1.html and test2.html and I want to load the second one in the first one with this code: <!DOCTYPE html> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> <script> $(document).ready(function() { $("#cntr_debug").load("test2.html"); […]
Invert function and expressions
Him we have bought the premium version of the plugin because we need to execute a JS “in all the front site, except a directory and its pages”, I mean an “inverse logic”. In the premium features this function was listed, but we couldn’t find it. How does this work? We also tried with PHP […]
Where to download CJT Plus?
Hi, I’m a plus subscriber but I can’t find where to download version 11, the earlier registration link isn’t working.
Importing *.js files that are already on my site server
How do I access other JavaScript files that are already on my site?
CJT Virtual Crowd
Hi, Just bought CJT Virtual crowd so see if I could learn a bit as to how it works. Read the install and uploaded .zip file and so far so good. However, syntax errors and inconsistencies started to appear. Some questions: 1) In css files the <style> </style> generates syntax error. Same for JS config. […]
Download the CJT Plus
Dear Sir/Madam, I purchased the CJT and able to login the site but I cannot find the link to download it back, please advise where I can download the paid version. Best regards, Kelvin.
How to remove revisions
Hi, I can see how to rollback to a revision but can’t work out how to: 1] delete a particular revision 2] delete all revisions (except current) – ie purge old P.S If I do it through file-manager I assume I have left a database record behind – yes? Can you help please. CJT plus. […]
WordPress update causing code blocks to disappear.
We are using WordPress version 4.9.8. We have deactivated and deleted the older CJT CORE and CJT PLUS plugins from our development site. Then we uploaded and activated the CJT FREE 8.4.1. We did not see the existing code blocks after this. Instead we see only the following (with the errors displayed from Chrome’s Console […]
PLUS Version generates jQuery Conflict
Just installed and activated the CJT Plus and received a jQuery Uncaught ReferenceError: jQuery is not defined. When I deactive CJT PLUS the error is gone. WordPress Standard Theme, no other plugins activated.
Toolbox PLUS update
Hello, I’m getting an update notification for Toolbox plus but it’s going from 1.1.1 to 8.4. This isn’t right, right? See this screenshot: https://www.sugarsync.com/pf/D646892_07204924_9140753 Why is it trying to jump from 1.1.1 to 8.4? It also says “Automatic update is unavailable for this plugin.” Please advise. Thank you.
Code editor cursor misaligned when editing a long single-line of code
I have a code segment with language set to JS. Within the code block is an extra long string whose length exceeds the editor window. To view the whole string you need to use the horizontal scroll bar a lot. The editor is not resolving cursor positioning within this line of text; on click the […]
How to hide CJT notice on dashboard for non administrator
How do I remove/stop your CJT plugin notices from showing on dashboard for non Administrators? These notices are intrusive and irrelevant for roles not “Web development’ or “Administrator”.
Help! Cannot activate license key for CJT Plus
Hi there, Please forgive my extreme ignorance in advance, but I have just purchased a “forever license” for CSS & JavaScript Toolbox PLUS. Currently, we have a staging site and a live site. Our developer originally installed CJT Core and CJT Plus (which I can see have different license keys) However, the developer did not […]
Place code directly after body tag
Hi, we use a Google Tag Manager script that has to be placed directly after the <body> tag. Currently we use the CSS & JavaScript Toolbox PLUS version. I’m unsure if this can be done in that plug in. Is it possible to do in Easy Code Manager? Cheers Johan
Update Plus New Version?
Hi there I just saw in a website that it is running Plus 1.0 and that 1.1.1 is available and that auto-updates are not available. I tried looking everywhere and https://css-javascript-toolbox.com/purchase-history/ to find the new version to download, but I can’t find it. Help please Thanks Mark
CJT PLUS is not work and all CJT screen not appear by custom 'WP_CONTENT_DIR'.
My wp-config.php (multi site) preferences sets ‘WP_CONTENT_DIR’ like define(‘WP_CONTENT_DIR’, ABSPATH . ‘BIND-OTHER-DIR’); Theese are my NGINX error logs. 2017/05/26 12:58:32 [error] 7280#0: *665 open() “/PATHTO/DocumentRoot/BIND-OTHER-DIR/plugins/cjte-developer/extensions/cjte-import-export-tool/views/tools/index/public/css/index.css” failed (2: No such file or directory), client: 000.000.000.00, server: mydomain.com, request: “GET /BIND-OTHER-DIR/plugins/cjte-developer/extensions/cjte-import-export-tool/views/tools/index/public/css/index.css?ver=4.7.5 HTTP/1.1”, host: “mydomain.com”, referrer: “https://mydomain.com/wp-admin/admin.php?page=cjtoolbox-tools” 2017/05/26 12:59:06 [error] 7281#0: *716 open() “/PATHTO/DocumentRoot/BIND-OTHER-DIR/plugins/PATHTO/DocumentRoot/wp-content/plugins/css-javascript-toolbox-plus/Media/Stylesheet/jQueryTheme/jquery-ui.min.css” failed (2: No such […]
SQL Error found from error.log
Dear Damian Baker, I frequently found below SQL error from my error.log, what is the problem? How can I fix it? SELECT blocks.id,blocks.name,blocks.pinPoint,blocks.location,blocks.links,blocks.expressions,(blocks.pinPoint & 17) blocksGroup FROMwp_cjtoolbox_blocks` blocks LEFT JOIN wp_cjtoolbox_block_pins pins ON blocks.id = pins.blockId WHERE (((backupId IS NULL) AND (state = ‘active’)) AND ((blocks.pinPoint & 17) OR ((blocks.pinPoint & 32) AND (pins.pin = […]