SC + WordPress

I wonder if anybody have had any luck integrating SC project with Word Press ?

Arthur

[QUOTE=aka;27215]I wonder if anybody have had any luck integrating SC project with Word Press ?

Arthur[/QUOTE]

What kind of integration are you looking for?

I have used SC with Joomla in the past using jSCRIPTCASE so I would look for the same. I.e. being able to attach Apps to the menu items etc. I know it can be done simply by linking but there is much more to it (security, returning form App etc.) All this can be done by coding but we all need things done fast (tath’s why we use SC). So far JScriptcase has done pretty god job on that and made my life much easier, now I’m looking for the same with WP

Arthur

You can share the database, users etc. It’s how I integrate with E107 another cms. Also you have wrapper plugins where you can integrate SC applications, but in general you have to move the necessary variables to the url. Sharing the application in the full CMS code pool is something I never tried as the wrapper method always did the job for me.

No, wrappers do not work well. I tried that with Joomla and it had led me to many problems. Especially from the eshetic point of view it will always look like foreign body. If you just need to open a grid and list records this might work ok, but anything advanced will not, especially all paces where you need to use backlinks, pass variables from one App to another etc. That is why I use jSCRIPTCASE for Joomla and it works very well. Also linking the apps, to the menu items is much easier. I would like simply have same functionality for WP, but after asking the developer he said there is very little demand and it would be not really profitable for them to do it. For those who might be interested in making extra $$ I have an idea to create App/Project generator which will convert complete SC project into Joomla/Drupal component (other CMS can follow as well). I’m pretty sure this would be profitable and will also bring more sales to NM.
With jSCRIPTCASE I can create a SC module (consisting of any SC object) and embed From.Grid/Container etc anywhere inside of article. Can you do it with your method ?
As far as users it is not only sharing the table. I have an ability to have a Joomla user create pararell acount in any database/table I want and this way my SC userbase is always up to date. I can also keep the Application users separate from J uses (if I want to).

I would really want to see SC be more opened for creating 3rd party add-ons, so people can contribute. Right now SC is completely closed. We cannot even have external Language database that can be exposed to the users so they can participate in a translation (although I haven’t check this for SC8), so correct me if I’m wrong on that.

Art

I mostly did it with wrapper and I disagree, you won’t notice if it’s done well. Other option is to creaet a plugin and integrate from there. I did that in E107 too and it works well, but I don’t know the in’s and out’s for Joomla. But I never choose that path. I don’t know jsScriptcase so I’m affraid can’t tell anything about that.

Albert - do you have a link so I can take a look ?

Arthur

I hope to make a visual sample sometime as these questions come regularly. The samples I talked about are on a corporate medial intranet and not accessable.

I asked because so far I haven’t seen one serious project (which consists of more than one grid and one form) working well in iFrames. There is a problem with passing parameters and also adjusting frame size.
I do not have any programming experience with WP, that’s why I have asked to eventually avoid any pitfalls. Basically integrating SC projects with any CMS systems would be a big plus, however I do not see much activity in this area from NetMake. Obviously in many cases plain SC project is not enough for the customer or end user.

I am new to the side by side world too. I would like a to find a diesel one as well. The problem that I am finding is that nobody makes one that will keep up with the gas ones. I have been looking at the Intimidator web site, and I think one of these and a turbo retrofitted on would make a snappy*

Is this spam?

Yep that is common forum spam… In fact it is probably from india or china or russia. It should be verifiable on the ip number from the user.

Hi Aka, I download the Jscriptcase but I don’t have good luck with the test. And in the web of this product I don’t receive any answer :(. With wich Joomla versi?n Works fine this product? Do you find another options to do this?
Thanks!

Their extension work only with Joomla 2.5 (but it has few minor bugs). For simple projects i.e. GRID -> FORM Joomla wrappers are quite sufficient, but when you need to manipulate links etc or better yet get a nice look and feel like your Joomla site you are out of luck. You can check my DEMO site here: http://www.essentialdatabase.com it shows some simple Apps implemented into default Joomla site (if I remember this is J3.5) and I used wrappers only.
Here is the problem with wrapper. You can only activate the App within the wrapper if you call it from the Joomla menu, so if you want to open certain App in the project within the wrapper but your link is inside the SC App you have problem. I think one solution would be to wrap each App inside the module (another words make a Joomla module for each App within your Project). The problem with this solution is that if you have i.e. 250 or more Apps doing this manually would take days (and I do not have that time).
I was thinking about creating a tool that will convert SC project into Joomla extension. It is possible but the main task to resolve is to deal with CSS/HTML which is created upon code generation and there is no easy way to match project CSS with Joomla template CSS.
I think I’ve herd that SC8.1 allows to create veriable inside the templates but never saw any example of how this is done. If it is possible then it would make a job of matching CSS from CSS and SC-CSS much easier.

Hi Arthur, good example site. I copy for your in other post the answer of Illerian about they are working in new version of JScriptcase. I don’t know details about this new release.
I think other problem to deal with it, is about to manage dual security.
Thanks

OK Albert - so how can I mix the SC table with the CMS page content ?
This is my major concern. jScriptaces have had a nice component (Joomla module) which allows to convert any SC app into module. There is also another component called “Module Anywhere” which allows you to place a module anywhere within CMS. It worked like charm, but unfortunately jScriptcase is no longed under development so unless one uses Joomla 2.5 or older it will not work anymore. O course I can create a module from SC App manually and this might be good for one or two Apps but when project is dealing with several hundreds of them it would take forever to do so. I also saw an SC component for WordPress but never tried that so I would appreciate if somebody could share the opinion on that one.

Arthur

Arthur, I have no Idea, I can only tell what I am doing. I’m just putting a scriptcase application in an iframe in my cms (E107), as you did on your website. I change templates so that it’s not that obvious that the page is coming from another source.
It’s done by a wrapper plugin, and I’m sure that Joomla and WP has similar plugins. In that plugin you define an url and with some minor tweaks I can have that url dynamic controling my sc application. As Canvinha stated, I do have other places that call scripcase, and I use a blank application for that. returning json or xml. It’s straight forward just call the module and pass parameters as you useually do with php, $_GET and $_POST. If you need to access Joomla or WP variables than you must find them in your cms and make them global if they aren’t already, or pick that data up by a cookie. But out of the cookbook I cannot tell you what to do. Sorry. I don’t like WP nor Joomla so never went very deep into them. Fully integrating your apps in the structure is a real challenge, so I try to avoid that.

If you need to access Joomla or WP variables than you must find them in your cms and make them global if they aren’t already, or pick that data up by a cookie.

and that is the hardest part. I"m not a PHP programmer and even if I am I would rather not override original CMS code. Yes we can use INCLUDE files but when new CMS release is ready this might require re-coding everything. The bottom line is that I’m really looking for solutions not the general statements that that it is hard to do.
If there is a CMS system that will integrate better than Joomla or WP I would be happy to try, but only if it allows me to do more than just a simple grid/form data manipulation and will integrate with site contents.

For Joomla, you can include the platform and access his API. Is not needed to recode anything.
For example. II have an application where login check against Joomla users. Because Joomla encrypts password iin it’s own way, you have to use their API to validate.


function checkJoomlaPass($pass, $dbPW) {

   include "../ktglobales.php";

   define( '_JEXEC', 1 );
   define('JPATH_BASE', $ktglobales["ktjoomlajpath"]);
   define( 'DS', DIRECTORY_SEPARATOR );

   require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
   require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );

    if(JUserHelper::verifyPassword($pass, $dbPW))
   {
      return true;
   }
   else
   {
      return false;
   }
    
}

https://api.joomla.org/cms-3/classes/JUserHelper.html#method_verifyPassword

If you want to change a user password from SC:
JUserHelper::hashPassword($password)

and so on…

If there is a CMS system that will integrate better than Joomla or WP I would be happy to try, but only if it allows me to do more than just a simple grid/form data manipulation and will integrate with site contents.

Basically you can integrate every CMS with SC, but is not automatic. Every CMS has it’s own Framework/API, and you have to do things manually. Is not a problem of SC, is the way it works.

The bottom line is that I’m really looking for solutions not the general statements that that it is hard to do.

And I wrote you the way to go.

not the general statements that that it is hard to do.

I hope I didn’t understood you correctly, because, IMHO, I see this statement very disrespectful to whom spend it’s time answering you for Free. I answer when I have time to do it, and I spend the time I have in this moment. If you don’t like our, maybe, “open” answers, you can always hire me/us, thath allows me/us to get the time to give you a complete answer, or the job done, or both. I’m sure this goes for me and Albert and every other active forum member.

But I’m sure, you didn’t wrote what I understood, english is not your native lang, me either, and “chat” sometimes is misunderstood

Actually I think that if you want to integrate SC with any cms you cannot avoid diving into the code. Since Arthur is not a php programmer showing sample code won’t do, he’s looking for an out-of-the-box solution. I don’t have that, and I only can point to possible solutions. If it’s not helpful, then so be it. I described how I integrate E107 and SC and how I transfer CMS data to my SC application.