Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Enabling plugin within RSForm Pro=issues
https://www.tinywebgallery.com/forum/viewtopic.php?f=13&t=1998
Page 1 of 1

Author:  cherok [ 7. Jun 2009, 05:42 ]
Post subject:  Enabling plugin within RSForm Pro=issues

Hi there!

I know that this is not an RS Form help forum, but I'm afraid I'm all out of options on this problem and would appreciate any help I can get.

I'm attempting to enable the JFU plugin within table cell on an RSform that I have created, but cannot see a frontend JFU.

I have inputted this line
Code:
<!-- {joomla_flash_uploader type=<1> id=<user>} -->
into the HTML CSS layout file that RSForm uses. I am not seeing a string of code come up once the form is loaded, so that tells me that it is being accepted. It is not however executing the plugin.

I am trying to execute the default user profile that allows anybody to upload files.

Any help or suggestions on how to enable plugins within components would be helpful.

Author:  TinyWebGallery [ 7. Jun 2009, 08:57 ]
Post subject: 

you just have to put in your parameters properly:

e.g.
For example: {joomla_flash_uploader type=0 id=2 }

read
http://www.tinywebgallery.com/en/tfu/web_jfu.php
How to use the mambot/plugin

And you have to enable the plugin of course.

- Michael

Author:  cherok [ 7. Jun 2009, 22:16 ]
Post subject: 

TinyWebGallery wrote:
you just have to put in your parameters properly:

e.g.
For example: {joomla_flash_uploader type=0 id=2 }

read
http://www.tinywebgallery.com/en/tfu/web_jfu.php
How to use the mambot/plugin

And you have to enable the plugin of course.

- Michael


Thanks Michael, you make it sound so easy.

I've implemented the code as you wrote it, adjusted the parameters to match what I have in the component and I still just see a blank space where my plugin is supposed to be.

The plugin itself is installed and functioning, and I can modify everything in the component. The component itself also works when I specify a menu page for it by itself.

Any similar problems in other threads?

Thanks so much. I can't wait to buy this once I have it working.

Author:  TinyWebGallery [ 7. Jun 2009, 22:48 ]
Post subject: 

check the html code that is generated - is there something in the code?

And look at the page where you include it - don't use the <!-- --> in the beginning - because maybe in an editor the comment is encoded and then You don't see anything in the page.

- Michael

Author:  cherok [ 8. Jun 2009, 04:28 ]
Post subject: 

TinyWebGallery wrote:
check the html code that is generated - is there something in the code?

And look at the page where you include it - don't use the <!-- --> in the beginning - because maybe in an editor the comment is encoded and then You don't see anything in the page.

- Michael


Thanks once again for your prompt and helpful replies. This is the code that I grabbed from page source. The line of code does show up, it just isn't executing.

The code can be seen about 3 quarters the way down the page, between the large 'Bindings' paragraph on top, and the calender app paragraph on the bottom.

Cheers

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" >
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <meta name="robots" content="index, follow" />
  <meta name="keywords" content="joomla, Joomla" />
  <meta name="description" content="Downtown Brown's Rapid Repro - Printing and Reprographics in Calgary's Northwest." />
  <meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />
  <title>Down Town Brown's Rapid Repro</title>
  <link href="/joomla15/templates/rhuk_milkyway/favicon.ico" rel="shortcut icon" type="image/x-icon" />

  <link rel="stylesheet" href="/joomla15/components/com_rsform/front.css" type="text/css" />
  <link rel="stylesheet" href="/joomla15/components/com_rsform/calendar/calendar.css" type="text/css" />
  <script type="text/javascript" src="/joomla15/components/com_rsform/controller/functions.js"></script>


<link rel="stylesheet" href="/joomla15/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="/joomla15/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="/joomla15/templates/rhuk_milkyway/css/template.css" type="text/css" />
<link rel="stylesheet" href="/joomla15/templates/rhuk_milkyway/css/white.css" type="text/css" />
<link rel="stylesheet" href="/joomla15/templates/rhuk_milkyway/css/white_bg.css" type="text/css" />
<!--[if lte IE 6]>
<link href="/joomla15/templates/rhuk_milkyway/css/ieonly.css" rel="stylesheet" type="text/css" />
<![endif]-->

</head>

<body id="page_bg" class="color_white bg_white width_fmax">
<a name="up" id="up"></a>
<div class="center" align="center">
   <div id="wrapper">
      <div id="wrapper_r">
         <div id="header">
            <div id="header_l">
               <div id="header_r">
                  <div id="logo"></div>
                  
               </div>

            </div>
         </div>

         <div id="tabarea">
            <div id="tabarea_l">
               <div id="tabarea_r">
                  <div id="tabmenu">
                  <table cellpadding="0" cellspacing="0" class="pill">
                     <tr>

                        <td class="pill_l">&nbsp;</td>
                        <td class="pill_m">
                        <div id="pillmenu">
                           
                        </div>
                        </td>
                        <td class="pill_r">&nbsp;</td>
                     </tr>
                     </table>
                  </div>

               </div>
            </div>
         </div>

         <div id="search">
            
         </div>

         <div id="pathway">
            
         </div>

         <div class="clr"></div>

         <div id="whitebox">
            <div id="whitebox_t">
               <div id="whitebox_tl">
                  <div id="whitebox_tr"></div>
               </div>
            </div>

            <div id="whitebox_m">

               <div id="area">
                           

                  <div id="leftcolumn">
                                    </div>

                                    <div id="maincolumn_full">
                                       
                     <table class="nopad">
                        <tr valign="top">
                           <td>
                              <form method="post" id="userForm" enctype="multipart/form-data" action="http://localhost/joomla15/index.php?option=com_rsform&formId=2&Itemid=99999"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body table {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 14px;
   border-top-style: none;
   border-right-style: none;
   border-bottom-style: none;
   border-left-style: none;
   position: static;
   top: auto;
}
-->
</style>
</head>

<body>
<table width="821" height="440" border="0">
  <tr>
    <td width="282" height="436" valign="top"><table width="279" height="308" border="0" cellpadding="1">
      <tr>

        <td valign="top"><p><strong>Contact Information</strong></p></td>
      </tr>
      <tr>
        <td valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td valign="top"><p><input type="text" value="Company Name" size="25" maxlength="25" name="form[Company]" id="Company" /></p>
          <p><span id="component10" class="formNoError">Please input your company name.</span></p></td>

      </tr>
      <tr>
        <td height="24" valign="top"><p><input type="text" value="Your Name" size="25" maxlength="25" name="form[Name]" id="Name" /></p>
          <p><span id="component11" class="formNoError">Please enter your name.</span></p></td>
      </tr>
      <tr>
        <td valign="top"><p><input type="text" value="Email Address" size="25" maxlength="25" name="form[Email]" id="Email" /></p>
          <p><span id="component12" class="formNoError">Please enter a valid email address.</span></p></td>

      </tr>
      <tr>
        <td valign="top"><p><strong>Full Page Size:</strong></p></td>
      </tr>
      <tr>
        <td height="69" valign="top"><p><input  name="form[Full page size]" type="radio" value="Arch B  @ 12x18" id="Full page size0"  /><label for="Full page size0">Arch B  @ 12x18</label><br/><input  name="form[Full page size]" type="radio" value="Arch C  @ 18x24" id="Full page size1"  /><label for="Full page size1">Arch C  @ 18x24</label><br/><input  name="form[Full page size]" type="radio" value="Arch D  @ 24x36" id="Full page size2"  /><label for="Full page size2">Arch D  @ 24x36</label><br/><input  name="form[Full page size]" type="radio" value="Arch E1 @ 30x42" id="Full page size3"  /><label for="Full page size3">Arch E1 @ 30x42</label><br/><input  name="form[Full page size]" type="radio" value="Arch E  @ 36x48" id="Full page size4"  /><label for="Full page size4">Arch E  @ 36x48</label><br/><input  name="form[Full page size]" type="radio" value="ANSI C  @ 17x22" id="Full page size5"  /><label for="Full page size5">ANSI C  @ 17x22</label><br/><input  name="form[Full page size]" type="radio" value="ANSI D  @ 22x34" id="Full page size6"  /><label for="Full page size6">ANSI D  @ 22x34</label><br/><input  name="form[Full page size]" type="radio" value="ISO A1 @ 841x594" id="Full page size7"  /><label for="Full page size7">ISO A1 @ 841x594</label><br/><input  name="form[Full page size]" type="radio" value="ISO B1 @ 707x1000" id="Full page size8"  /><label for="Full page size8">ISO B1 @ 707x1000</label><br/><input  name="form[Full page size]" type="radio" value="ISO A0 @ 841x1189" id="Full page size9"  /><label for="Full page size9">ISO A0 @ 841x1189</label><br/><br/>

          <span id="component41" class="formNoError">Invalid Input</span></p>
          <p>&nbsp;</p></td>
      </tr>
      <tr>
        <td width="273" height="6" class="alignbox"><table width="276" border="0" cellpadding="1">
          <tr></tr>
        </table>
          <table width="276" border="0" cellpadding="1">

          </table></td>
      </tr>
    </table></td>
    <td width="250" valign="top"><table width="250" border="0" cellpadding="1">
      <tr>
        <td width="262"><table width="244" height="428" border="0" cellpadding="1">
          <tr>
            <td width="301" height="19"><p><strong>Project Information</strong></p></td>

          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td><p><input type="text" value="Project or PO Number" size="25" maxlength="25" name="form[Project #]" id="Project #" /></p>
              <p><span id="component14" class="formNoError">Please enter a project or PO number.</span></p></td>
          </tr>

          <tr>
            <td><strong>Number of half size sets:</strong></td>
          </tr>
          <tr>
            <td><p><input type="text" value="" size="5" maxlength="5" name="form[Number of half size sets]" id="Number of half size sets" /></p>
              <p><span id="component18" class="formNoError">Please input a valid number.</span></p></td>
          </tr>
          <tr>

            <td></td>
          </tr>
          <tr>
            <td><strong>Number of full size sets:</strong></td>
          </tr>
          <tr>
            <td><p><input type="text" value="" size="5" maxlength="5" name="form[Number of full size sets]" id="Number of full size sets" /></p>
              <p><span id="component17" class="formNoError">Please input a valid number.</span></p></td>

          </tr>
          <tr>
            <td></td>
          </tr>
          <tr>
            <td><strong>Binding:</strong></td>
          </tr>
          <tr>

            <td><input  name="form[Binding]" type="radio" value="Do not Bind" id="Binding0"  /><label for="Binding0">Do not Bind</label><br/><input  name="form[Binding]" type="radio" value="Staple" id="Binding1"  /><label for="Binding1">Staple</label><br/><input  name="form[Binding]" type="radio" value="Staple & tape" id="Binding2"  /><label for="Binding2">Staple & tape</label><br/><input  name="form[Binding]" type="radio" value="Staple & city fold" id="Binding3"  /><label for="Binding3">Staple & city fold</label><br/><input  name="form[Binding]" type="radio" value="Staple, tape & city fold" id="Binding4"  /><label for="Binding4">Staple, tape & city fold</label><br/><br/>
              <span id="component42" class="formNoError">Invalid Input</span></td>
          </tr>
          <tr>

            <td>&nbsp;</td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table>          <strong></strong></td>
      </tr>
    </table></td>

    <td width="275" valign="top"><table width="278" border="0" cellpadding="1">
      <tr>
        <td width="272"><p><strong>File Upload</strong></p></td>
      </tr>
      <tr>
        <td>{joomla_flash_uploader type=0 id=2}</td>
      </tr>
      <tr>

        <td></td>
      </tr>
      <tr>
        <td></td>
      </tr>
      <tr>
        <td><textarea cols="30" rows="6" name="form[Special Instructions]" id="Special Instructions" >Special Instructions</textarea><br/>
          <span id="component21" class="formNoError">Invalid Input</span></td>

      </tr>
      <tr>
        <td><strong>Pick up or delivery date</strong></td>
      </tr>
      <tr>
        <td height="29"><input id="txtcal0" name="form[Pick up or delivery date]" type="text"   value="" />
                     <input id="btn0" type="button" value="Calendar" onclick="showHideCalendar('cal0Container');" class="btnCal"  />
                     <div id="cal0Container" style="clear:both;display:none;position:absolute;z-index:9987"></div></td>

      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><input type="submit" value="Submit" name="form[Submit]" id="Submit"  /><br/>
          <span id="component24" class="formNoError"></span></td>
      </tr>
    </table></td>

  </tr>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p> </p>
<p> </p>
</body>
</html>
<input type="hidden" name="form[formId]" value="2"/></form>
         <script type="text/javascript" src="/joomla15/components/com_rsform/calendar/cal.js"></script>
         <script type="text/javascript">
//CALENDAR SETUP
var MONTHS_SHORT    = Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
var MONTHS_LONG    = Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
var WEEKDAYS_1CHAR    = Array("S", "M", "T", "W", "T", "F", "S");
var WEEKDAYS_SHORT    = Array("Su", "Mo", "Tu", "We", "Th", "Fr", "Sa");
var WEEKDAYS_MEDIUM = Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat");
var WEEKDAYS_LONG    = Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
var START_WEEKDAY    = 0;

</script>
         <script type="text/javascript" defer="defer">rsf_CALENDAR.util.Event.addListener(window, "load", init(Array('POPUP'),Array('dd.mm.yyyy'),Array('')));</script>
                              
                           </td>
                                                   </tr>
                     </table>

                  </div>
                  <div class="clr"></div>
               </div>

               <div class="clr"></div>
            </div>

            <div id="whitebox_b">
               <div id="whitebox_bl">
                  <div id="whitebox_br"></div>
               </div>
            </div>
         </div>

         <div id="footerspacer"></div>
      </div>

      <div id="footer">
         <div id="footer_l">
            <div id="footer_r">
               <p id="syndicate">
                  
               </p>
            </div>

         </div>
      </div>
   </div>
</div>


</body>
</html>

Author:  cherok [ 8. Jun 2009, 04:45 ]
Post subject: 

I think it may be an issue from within RSForm that won't let me use post the uploader.

I posted the plugin code within its own menu space and it displayed the uploader fine. Could trying to squeeze it into a table cell smaller than the application be what is keeping it from being displayed?

Author:  TinyWebGallery [ 8. Jun 2009, 07:54 ]
Post subject: 

maybe the plugin is not processed because it is not parsed by joomla but only by the plugin. your next option would be to include an iframe which displays the uploader.

you would have to force Joomla to return only the flash without any menu items and so on.

- Michael

Author:  cherok [ 8. Jun 2009, 21:52 ]
Post subject: 

TinyWebGallery wrote:
maybe the plugin is not processed because it is not parsed by joomla but only by the plugin. your next option would be to include an iframe which displays the uploader.

you would have to force Joomla to return only the flash without any menu items and so on.

- Michael


It turns out the CSS layout formatting software within RSForm was rejecting the code for whatever reason. I ended up displaying both the uploader plugin and the RSform plugin onto the frontpage independently.

It'll work for now.

Cheers on your quick support, I wish RSJoomla was as 'with it' as you guys.

Author:  TinyWebGallery [ 8. Jun 2009, 23:08 ]
Post subject: 

good.

Have fun using JFU,
- Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/