eAuction
  Not just another Perl script
Google
Welcome, Guest. Please Login or Register


If you use eAuction a lot and like it or if you make money from eAuction or from eAuction-related activities ...
then the project asks you for a donation in favor of the further development.



The forums are protected by
AccessControl
(written by Dieter Werner)
Click here if you want to check your IP against the most important RBLs of the net.
Click here in order to visite the AccessControl forums.


<< Visit the international e Auction Marketplace >>
Buy and sell PC and Consumer Electronic components






  HomeHelpSearchLoginRegister
 



Pages: 1 2 3 4 ... 8
Information Exchange (Read 3699 times)
Dieter Werner
Administrator
*****
Offline

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: Information Exchange
Reply #3 - 07/31/05 at 15:08:51
 
OK - let's try to solve it step-by-step ...

Quote:
Question:
1. what's your goal?
2. what kind of fields do you want to add to the program?
Back to top
 
 

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Greetings from Germany
Dieter Werner




Advertising
View Profile | WWW   IP Logged
mars22
eAuction User
**
Offline

I love Perl

Posts: 14

Re: Information Exchange
Reply #4 - 07/31/05 at 17:51:49
 
Dieter,
Thank you very much for offering to help.

My ultimate goal would be to be able to add text fields, radio button fields, checkbox fields and select menu fields to the new item form, eventually (phase 2) adding one or two of them to the search function and the Search select menu.  I feel that goal could be accomplished by sucessfully adding a simple text field to the form and after that I could "template" the required coding for additional field additions.  I tried last week to add a text field named location to the new item form but only had partial success.

The reason or the why as to why I would need the additional fields is to allow non-tech oriented users, like rental apartment landlords to directly enter their rental properties features. Legally, in the US and the state where I reside it makes all the difference who enters or posts the rental property information.

Hope I have answered you 2 questions.

Regards,

mars/mars22
Back to top
 
 


Advertising
View Profile   IP Logged
Dieter Werner
Administrator
*****
Offline

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: Information Exchange
Reply #5 - 07/31/05 at 20:56:51
 
Step 1:
   goto 'sub new' and add
   my $location;
   to the header of 'sub new'
   
Step 2:
   - search 'sub new' for 'print <<EO_HTML;'
   - add Code:
            <tr bgcolor="$config{'colortablebody'}">
               <td valign="top"><b>$txt{'Location'}:</b></td>
               <td><input name="LOCATION" type="TEXT" size="30" value="$location"></td>
           </tr> 


   where you need it.

Step 3:
   - search 'sub new' for each instance of:
       
           (
               $title,
               $reserve,
               $inc,
               $desc,
               $image,
               $start_time,
               $close_time,
               undef,
               @bids

   - replace it with Code:
       
           (
               $title,
               $reserve,
               $inc,
               $desc,
               $image,
               $start_time,
               $close_time,
               $location,
               undef,
               @bids 



Will be continued ...                    
Back to top
 
 

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Greetings from Germany
Dieter Werner




Advertising
View Profile | WWW   IP Logged
Pages: 1 2 3 4 ... 8


If you like eAuction, please Rate it.
If you don't like eAuction, please Rate it too.


1 is being poor and 10 is being excellent


EveryScript

ip-location


AccessControl - Members Only