July 31, 2014 at 10:23 PM #10124
I have script to check whether a user has already liked a facebook, how I can apply this to a WordPress page? I want to request the user to like my facebook before I show up the WordPress page with a form? Can I do that using CJT? For example I have page using shortcode [form form-id xx] to show form.
August 3, 2014 at 7:21 PM #10125
I’m sorry for the delay in responding.
Unfortunately third party script implementation is really out of scope of CJT Dev support.
On another note, we are releasing an import/export feature for CJT Pro/Dev soon and that will allow users to share scripts, upload them to the http://www.cjt-scripts.com website and even discuss script implementation. Keep an eye out on this awesome feature.
August 4, 2014 at 9:24 AM #10126
Not asking for third party script implementation, just want to know whether CJT can have conditional execute according to custom variable, just like I can apply the CTJ on specific page, post or URL, but not sure whether it can be applied on the return of the script such as boolean. I suggest developer can code a custom script and return a boolean, then the script can be loaded according to this return.
August 5, 2014 at 12:16 AM #10127
No. CJT cannot do that for you.
CJT Code-Block can be just assigned to a request (page, post, URL, etc…).
1. Hide the form using CSS code.
3.Show the form or point visitor to like your facebok Based on the return value.
I might not completely understand you. But CJT Code Blocks is not conditionally executed.
Please don’t hesitate to ask.
October 1, 2014 at 5:44 AM #10666
You must be logged in to reply to this topic.