Buy Cheap Software - Discount Software
pimpMyJoomla Board
Welcome, Guest
Please Login or Register.
Lost Password?
Module list bug (1 viewing)
_GEN_GOTOBOTTOM Post Reply

TOPIC: Module list bug

#792
themenace (User)
Senior Boarder
Posts: 12
graphgraph
Module list bug 2007/06/01 15:22 Karma: 0  
The module that displays the form data is adding an extra row for each table row I choose to display. For some reason, every row of values adds another blank row to the top of the module. The more entries there are, the more blank space there is. Any ideas?

Here is the code I use for the module config:

Code:

 ------------Module Layout---------------------------- <table width="595px" border="1">{formdata}</table> ----------------Row Layout-------------------------- <table width="100%" style="border:1px solid black;"> <tr>             <td width="280"><strong style="font-family: verdana">Account Manager ID:  </strong></td>             <td width="280" style="font-family: verdana; font-size: 11px">{AccountManagerID}             </td>         </tr>         <tr>             <td height="20"> </td>         </tr>         <tr>             <td width="280"><strong style="font-family: verdana">account manager email:  </strong></td>             <td width="280" style="font-family: verdana; font-size: 11px">{accountmanageremail}             </td>         </tr>         <tr>             <td height="20"> </td>         </tr>         <tr>             <td width="280"><strong style="font-family: verdana">Sales Rep Manager:  </strong></td>             <td width="280" style="font-family: verdana; font-size: 11px">{SalesRepManager}</td>         </tr>         <tr>             <td height="20"> </td>         </tr>         <tr>             <td width="280"><strong style="font-family: verdana">Customer Company Name:  </strong></td>             <td width="280" style="font-family: verdana; font-size: 11px"> {CustomerCompanyName}             </td>         </tr>         <tr>             <td height="20"> </td>         </tr>         <tr>             <td width="280"><strong style="font-family: verdana">What is the customer's budget:  </strong></td>             <td width="280" style="font-family: verdana; font-size: 11px">             <p>             {Whatisthecustomersbudget}             </p>                          </td>         </tr>         <tr>             <td height="20"> </td>         </tr>         <tr>             <td width="280"><strong style="font-family: verdana">Web site type Description:  </ strong></td>             <td width="280" style="font-family: verdana; font-size: 11px">             <p>             {WebsitetypeDescription}             </p>                          </td>         </tr>         <tr>             <td height="20"> </td>         </tr>         <tr>             <td width="280"><strong style="font-family: verdana">How will the customer get revenue  from the site:  </strong></td>             <td width="280" style="font-family: verdana; font-size: 11px">  {Howwillthecustomergetrevenuefromthesite}</td>         </tr>         <tr>             <td height="20"> </td>         </tr>         <tr>             <td width="280"><strong style="font-family: verdana">Design Plan:  </strong></td>             <td width="280" style="font-family: verdana; font-size: 11px">{DesignPlan} </td>         </tr>         <tr>             <td height="20"> </td>         </tr>         <tr>             <td width="280"><strong style="font-family: verdana">How many products is he/she going  to sell online:  </strong></td>             <td width="280" style="font-family: verdana; font-size: 11px">  {Howmanyproductsisheshegoingtosellonline}             </td>         </tr>         <tr>             <td height="20"> </td>         </tr>         <tr>             <td width="280"><strong style="font-family: verdana">Who is going to input the data?:  < /strong></td>             <td width="280" style="font-family: verdana; font-size: 11px">  {Whoisgoingtoinputthedata}             </td>         </tr>         <tr>             <td height="20"> </td>         </tr>         <tr>             <td width="280"><strong style="font-family: verdana">Will the customer add more  categories or products:  </strong></td>             <td width="280" style="font-family: verdana; font-size: 11px">  {Willthecustomeraddmorecategoriesproducts}             </td>         </tr>         <tr>             <td height="20"> </td>         </tr>         <tr>             <td width="280"><strong style="font-family: verdana">Similar web sites:  </strong></td>             <td width="280" style="font-family: verdana; font-size: 11px">             <p>             {Similarwebsites}             </p>             </td>         </tr>         <tr>             <td height="20"> </td>         </tr>         <tr>             <td width="280"><strong style="font-family: verdana">Which features does he or she like  or dislike:  </strong></td>             <td width="280" style="font-family: verdana; font-size: 11px"> {Whichfeaturesdoesheshelikedislike} </td>         </tr>         <tr>             <td height="20"> </td>         </tr>         <tr>             <td width="280"><strong style="font-family: verdana">Number of Static HTML Pages:  </ strong></td>             <td width="280" style="font-family: verdana; font-size: 11px">{NumberofStaticHTMLPages}             </td>         </tr>         <tr>             <td height="20"> </td>         </tr>         <tr>             <td width="280"><strong style="font-family: verdana">Flash Template:  </strong></td>             <td width="280" style="font-family: verdana; font-size: 11px">{FlashTemplate}</td>         </tr>         <tr>             <td height="20"> </td>         </tr>         <tr>             <td width="280"><strong style="font-family: verdana">Selected add-ons:  </strong></td>             <td width="280" style="font-family: verdana; font-size: 11px">{addons}</td>         </tr>         <tr>             <td height="20"> </td>         </tr> </table>



As you can see, I need to display a lot of values. I think that forme is well on its way to not only being the best form component, but the best ticketing component as well. We just need to fix this module up a bit.

Also, some suggestions regarding this module:
  • Search/sort feature

  • link from ticket number in reply email to front end module

  • row data can be clicked to show entire ticket

  • Date created and IP fields should be added


Thanks again for a great component!!

TheMenace
  The topic has been locked.
#793
alex (Admin)
Admin
Posts: 301
graph
Re:Module list bug 2007/06/01 15:43 Karma: 8  
It seems like Joomla is adding <br/> to each of your new line feeds, changing the default HTML code. A quick workaround to this would be to delete all line feeds. Your code should look like this:

Module layout:
Code:

 {formdata}



Row layout:

Code:

 <table width="100%" style="border:1px solid black;"><tr><td width="280"><strong style="font-family: verdana">Account Manager ID:  </strong></td><td width="280" style="font-family: verdana; font-size: 11px">{AccountManagerID} </td></tr><tr><td height="20"> </td></tr><tr><td width="280"><strong style="font-family: verdana">account manager email:  </strong></td> <td width="280" style="font-family: verdana; font-size: 11px">{accountmanageremail}</td></tr> <tr>       <td height="20"> </td>        </tr>        <tr>            <td width="280"><strong style="font-family: verdana">Sales Rep Manager:  </strong></td>            <td width="280" style="font-family: verdana; font-size: 11px">{SalesRepManager}</td>        </tr>        <tr>            <td height="20"> </td>        </tr>        <tr>            <td width="280"><strong style="font-family: verdana">Customer Company Name:  </strong></td>            <td width="280" style="font-family: verdana; font-size: 11px"> {CustomerCompanyName}            </td>        </tr>        <tr>            <td height="20"> </td>        </tr>        <tr>            <td width="280"><strong style="font-family: verdana">What is the customer's budget:  </strong></td>            <td width="280" style="font-family: verdana; font-size: 11px">             <p>            {Whatisthecustomersbudget}            </p>                        </td>         </tr>        <tr>            <td height="20"> </td>        </tr>        <tr>            <td  width="280"><strong style="font-family: verdana">Web site type Description:  </strong></td>             <td width="280" style="font-family: verdana; font-size: 11px">            <p>             {WebsitetypeDescription}            </p>                        </td>        </tr>        <tr>             <td height="20"> </td>        </tr>        <tr>            <td width="280"><strong style=" font-family: verdana">How will the customer get revenue from the site:  </strong></td>            < td width="280" style="font-family: verdana; font-size: 11px">  {Howwillthecustomergetrevenuefromthesite}</td>        </tr>        <tr>            <td height="20">  </td>        </tr>        <tr>            <td width="280"><strong style="font-family: verdana"> Design Plan:  </strong></td>            <td width="280" style="font-family: verdana; font-size:  11px">{DesignPlan} </td>        </tr>        <tr>            <td height="20"> </td>        </tr>         <tr>            <td width="280"><strong style="font-family: verdana">How many products is he/ she going to sell online:  </strong></td>            <td width="280" style="font-family: verdana;  font-size: 11px"> {Howmanyproductsisheshegoingtosellonline}            </td>        </tr>        < tr>            <td height="20"> </td>        </tr>        <tr>            <td width="280"><strong  style="font-family: verdana">Who is going to input the data?:  </strong></td>            <td width=" 280" style="font-family: verdana; font-size: 11px"> {Whoisgoingtoinputthedata}            </td>         </tr>        <tr>            <td height="20"> </td>        </tr>        <tr>            <td  width="280"><strong style="font-family: verdana">Will the customer add more categories or products:   </strong></td>            <td width="280" style="font-family: verdana; font-size: 11px">  {Willthecustomeraddmorecategoriesproducts}            </td>        </tr>        <tr>            <td  height="20"> </td>        </tr>        <tr>            <td width="280"><strong style="font-family:  verdana">Similar web sites:  </strong></td>            <td width="280" style="font-family: verdana;  font-size: 11px">            <p>           {Similarwebsites}            </p>            </td>         </tr>        <tr>            <td height="20"> </td>        </tr>        <tr>            <td width=" 280"><strong style="font-family: verdana">Which features does he or she like or dislike:  </strong>< /td>            <td width="280" style="font-family: verdana; font-size: 11px"> {Whichfeaturesdoesheshelikedislike} </td>        </tr>        <tr>            <td height="20"> </td>         </tr>        <tr>            <td width="280"><strong style="font-family: verdana">Number of  Static HTML Pages:  </strong></td>            <td width="280" style="font-family: verdana; font- size: 11px">{NumberofStaticHTMLPages}            </td>        </tr>        <tr>            <td  height="20"> </td>        </tr>        <tr>            <td width="280"><strong style="font-family:  verdana">Flash Template:  </strong></td>            <td width="280" style="font-family: verdana;  font-size: 11px">{FlashTemplate}</td>        </tr>        <tr>            <td height="20"> </td>         </tr>        <tr>            <td width="280"><strong style="font-family: verdana">Selected add- ons:  </strong></td>            <td width="280" style="font-family: verdana; font-size: 11px"> {addons}</td>        </tr>        <tr>            <td height="20"> </td>        </tr></table>



I will fix it as quick as possible, and let you know.


Also, some suggestions regarding this module:

* Search/sort feature

* link from ticket number in reply email to front end module

* row data can be clicked to show entire ticket

* Date created and IP fields should be added


Search - i added this to my todo list.
Link + row link - this would be great. i added it to the list
Date created and Ip: This is already presend(unfortunately i haven't documented it yet). Just add columns as:

{jos_sitename} - site name
{jos_siteurl} - site url
{jos_userip} - user ip
{jos_user_id} - user id (only if user is registered)
{jos_username} - username (only if user is registered)
{jos_email} - user email (only if user is registered)
{jos_counter} - row number
  The topic has been locked.
#797
themenace (User)
Senior Boarder
Posts: 12
graphgraph
Re:Module list bug 2007/06/01 20:33 Karma: 0  
I really like the list of date and IP fields. That is very helpful.

Unfortunately, the code format above did not fix the problem. Please let me know if you have any ideas.

Also, here is a very cool Jquery utility that would be awesome for sorting tickets:

http://motherrussia.polyester.se/docs/tablesorter/

Post edited by: themenace, at: 2007/06/01 20:35
  The topic has been locked.
#798
themenace (User)
Senior Boarder
Posts: 12
graphgraph
Re:Module list bug 2007/06/01 23:29 Karma: 0  
The date field is not listed here
  The topic has been locked.
_GEN_GOTOTOP Post Reply
© Copyright 2007 Best of Joomla, Powered by FireBoardget the latest posts directly to your desktop