Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: A free version of Enhanced Studio? That do the same job?

  1. #1
    eikum is offline Member
    Join Date
    Jan 2009
    Posts
    11

    Default A free version of Enhanced Studio? That do the same job?

    Hello.
    I want to add a php code iframe in the contact page. After a little bit of searching I found out that "Enhanced Studio" can do this job, but this ist free. Anyone here know about a program that can help me, that do the same job?

    Or if anyone know if there is a place I can just add the code.

    Regards,

  2. #2
    kenshiro is offline Sugar Community Member
    Join Date
    Mar 2007
    Location
    Macerata - ITALY
    Posts
    421

    Default Re: A free version of Enhanced Studio? That do the same job?

    Quote Originally Posted by eikum View Post
    Hello.
    I want to add a php code iframe in the contact page. After a little bit of searching I found out that "Enhanced Studio" can do this job, but this ist free. Anyone here know about a program that can help me, that do the same job?

    Or if anyone know if there is a place I can just add the code.

    Regards,
    Hi,

    Enhanced Studio DEMO is free and you can use it for this customization.

    You can download the last release from SugarForge's Project page or from SugarExchange's

  3. #3
    eikum is offline Member
    Join Date
    Jan 2009
    Posts
    11

    Default Re: A free version of Enhanced Studio? That do the same job?

    Hello.
    I tryd this plugin but get this error msg:
    "!Parse error: syntax error, unexpected '<' in /home/w81848/www/sugar/custom/include/EnhancedStudio.php(41) : eval()'d code on line 1"

  4. #4
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: A free version of Enhanced Studio? That do the same job?

    That means you have an error in your code.

    I suspect you added HTML code while in fact it should be PHP code. Try surrounding with echo():
    PHP Code:
    echo "<iframe...></iframe>"
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  5. #5
    eikum is offline Member
    Join Date
    Jan 2009
    Posts
    11

    Default Re: A free version of Enhanced Studio? That do the same job?

    Can you type down a simple code that I can use for a test?
    I have tryd many codes now, but still the same error

  6. #6
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: A free version of Enhanced Studio? That do the same job?

    Give us your code instead please.
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  7. #7
    eikum is offline Member
    Join Date
    Jan 2009
    Posts
    11

    Default Re: A free version of Enhanced Studio? That do the same job?

    I know this code itself will not work, but I managed to delete the edited php file.. So here is the html code, its a SMS system.

    Code:
    <html>
    <link rel="stylesheet" href="http://syse.bbg.no/themes/bbg/layouts/style.css" />
    
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
     <body>
     <form method=post action='sms3.php'>
       <strong>Send SMS</strong><br>
      <table border=0>
       <tr>
         <td>Nummer:</td>
         <td><input name='tlf' id="tlf"></tr>
       <tr>
         <td>Melding</td>
         <td><textarea name="melding" cols="28" rows="14" id="melding"></textarea></td>
       </tr>
       <tr>
         <td> </td>
         <td><input type=submit name=submit value=Send target="smssend"></td>
       </tr>
       </table>
     </form>
     </body>
    </html>

  8. #8
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: A free version of Enhanced Studio? That do the same job?

    Perhaps something like:

    PHP Code:
    echo '<iframe><html>
    <link rel="stylesheet" href="http://syse.bbg.no/themes/bbg/layouts/style.css" />

    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
     <body>
     <form method=post action="sms3.php">
       <strong>Send SMS</strong><br>
      <table border=0>
       <tr>
         <td>Nummer:</td>
         <td><input name="tlf" id="tlf"></tr>
       <tr>
         <td>Melding</td>
         <td><textarea name="melding" cols="28" rows="14" id="melding"></textarea></td>
       </tr>
       <tr>
         <td> </td>
         <td><input type=submit name=submit value=Send target="smssend"></td>
       </tr>
       </table>
     </form>
     </body>
    </html></iframe>'

    (untested).
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  9. #9
    eikum is offline Member
    Join Date
    Jan 2009
    Posts
    11

    Default Re: A free version of Enhanced Studio? That do the same job?

    That works, thanks.. But get this error now:
    "Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/w81848/www/sugar/custom/include/EnhancedStudio.php(41) : eval()'d code on line 8"

    anyone see whats wrong with this code?
    HTML Code:
    echo '<html>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
     	<body>
        <center>
     	<table width="477" border="0">
     	  <tr>
     	    <td width="234"><form method=post action='sms3.php'>
     	      <strong>Send SMS</strong><br>
     	      <table border=0>
     	        <tr>
     	          <td>Nummer:</td>
     	          <td><input name='tlf' id="tlf">
                </tr>
     	        <tr>        
     	        <tr>
     	          <td>Melding</td>
     	          <td><textarea name="melding" cols="28" rows="14" id="melding"></textarea></td>
                </tr>
     	        <tr>
     	          <td></td>
     	          <td><input type="submit" name="submit" target="_blank" value="Send">
     	            <input type="reset" name="Submit2" value="Tilbakestill"></td>
                </tr>
              </table>
            </form></td>
     	    <td width="227">
            <iframe src="http://www.domain.com" width="250" height="265" scrolling="auto" frameborder="no">
    		</iframe>
            </td>
          </tr>
        </table>
        </center>
     	</body>
    </html>';  

  10. #10
    kenshiro is offline Sugar Community Member
    Join Date
    Mar 2007
    Location
    Macerata - ITALY
    Posts
    421

    Default Re: A free version of Enhanced Studio? That do the same job?

    Quote Originally Posted by eikum View Post
    That works, thanks.. But get this error now:
    "Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/w81848/www/sugar/custom/include/EnhancedStudio.php(41) : eval()'d code on line 8"

    anyone see whats wrong with this code?
    HTML Code:
    echo '<html>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
     	<body>
        <center>
     	<table width="477" border="0">
     	  <tr>
     	    <td width="234"><form method=post action='sms3.php'>
     	      <strong>Send SMS</strong><br>
     	      <table border=0>
     	        <tr>
     	          <td>Nummer:</td>
     	          <td><input name='tlf' id="tlf">
                </tr>
     	        <tr>        
     	        <tr>
     	          <td>Melding</td>
     	          <td><textarea name="melding" cols="28" rows="14" id="melding"></textarea></td>
                </tr>
     	        <tr>
     	          <td></td>
     	          <td><input type="submit" name="submit" target="_blank" value="Send">
     	            <input type="reset" name="Submit2" value="Tilbakestill"></td>
                </tr>
              </table>
            </form></td>
     	    <td width="227">
            <iframe src="http://www.domain.com" width="250" height="265" scrolling="auto" frameborder="no">
    		</iframe>
            </td>
          </tr>
        </table>
        </center>
     	</body>
    </html>';  
    Yes, you have used some single quotes inside the string you are echoing (around the file name sms3.php for instance).
    You need to backslash them.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Enhanced Studio Support
    By kenshiro in forum Developer Help
    Replies: 85
    Last Post: 2011-09-13, 05:33 PM
  2. Enhanced Studio 2.1 available
    By kenshiro in forum Downloads
    Replies: 2
    Last Post: 2009-05-05, 12:45 PM
  3. Enhanced Studio problem with onclick
    By xojins in forum Help
    Replies: 1
    Last Post: 2009-01-07, 08:54 PM
  4. Replies: 17
    Last Post: 2008-05-13, 10:25 AM
  5. Commercial version of SugarCRM versus Free version ?
    By KEEN in forum General Discussion
    Replies: 0
    Last Post: 2006-08-14, 09:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •