Announcement

Collapse
No announcement yet.

[SOLVED] Adding ScriptCase application to existing website page

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SOLVED] Adding ScriptCase application to existing website page

    I am using the evaluation version of SC7. I have created a basic form and it works in the SC development environment. I tried uploading it (using both FTP and ZIP) to my web server and am not having any luck getting it operational. I suspect it is related to getting the paths set up right. I'm confused on exactly how the directory should be structured to support this. Could anyone point me in the right direction please? BTW there seems to be a tremendous amount of files for a single form.

  • #2
    Have you seen the deployment guide in the manual? I think, with some addition, it is very helpful.

    1.) deploy to the server
    2.) check permissions on "/_lib/conf/", cause it is different from setup to setup of the webserver. For configuring the server set them to 777, may be something lower will work, but I have not tested that ...
    3.) configure the production server www.your-domain.com/your_SC_folder/_lib
    4.) after that, you can set the permission for "/_lib/conf/" back to the starting value.
    5.) After that, your application should start with "www.your-domain.com/your_SC_folder/"

    This is for the first time installation only. You just need to change that configuration only, if you add or change something to you database connection.

    YES, there are a lot of files to transfer, but you install the whole set for SC application to your server. After that, it is only necessary to install the common libraries and files only after bug fixes or new versions ...

    BR

    Eric

    Comment


    • #3
      EricB - Thanks for the reply!

      Okay, I have followed all the instructions and I can load and run my application BUT...

      I want my new application (Scriptcase form) to be displayed inside a tab on my existing page. Scriptcase calls the application using window.location which opens it in a new window. I'm trying to call the form using <?php include("system/grid_account/index.html"); ?> What's the trick for getting the form to open in the position I call it from NOT in a new window??

      Comment


      • #4
        OK, that is HTML stuff. I have one app (form) included to an CMS. But here is was very easy to include by wrapper. May be there is an html-crack outside here who can help you with that ...

        BR

        Eric

        Comment


        • #5
          I guess I don't understand why this should be such a complex issue. Certainly I cannot be the only person who wants to use a ScriptCase form on an existing web page. How are other people making this work?

          Anyone? Can I get a little help please? THANKS!!!

          Comment


          • #6
            SOLVED

            Just wrapped my call to the ScriptCase form inside a HTML iframe like this:
            <iframe src="system/grid_account/grid_account.php" width="940" height="700"></iframe>

            Works Great!

            Comment


            • #7
              ^^ so at the end, you did it the same way ^^
              Last edited by EricB; 03-22-2013, 12:56 AM.

              Comment


              • #8
                Almost the same way. I needed to wrap my calling code inside <iframe> tags. Thanks!

                Comment

                Working...
                X