The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Start Up and more >> How do I convert a radio button
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1116970320

Message started by Matt on 05/24/05 at 23:32:00

Title: How do I convert a radio button
Post by Matt on 05/24/05 at 23:32:00

Hello,

I've built a sub nav bar, and I want to include a couple of the modules from the My Auction Center link.  Can anyone tell me how I would convert a radio button into a clickable nav bar button that will take me to the disp_user_auction module with the appropriate values needed to run certain events in that module.

Thanks.
All your help is greatly appreciated !
Matt

Title: Re: How do I convert a radio button
Post by Dieter Werner on 05/24/05 at 23:42:37

That's not a Perl issue ...
Simply change (or add) the corresponding html tags.

Title: Re: How do I convert a radio button
Post by Matt on 05/24/05 at 23:49:46

Dieter,

I'm a little confused only because I'm going into the disp_user_auction sub and I don't know what I need to carry along with the link to activate the correct feature.  Let me see if I can explain that better.  Here is the button I want to convert:

print <<EO_HTML;
<form method="post" action="$ENV{'SCRIPT_NAME'}">
<input type="hidden" name="action" value="my_auction">
<input type="hidden" name="lang" value="$form{'lang'}">


<td valign="middle" align="left" nowrap>
                                           <input type="radio" name="show" value="my_closed" class="radio">
                                           <b>$txt{'My Closed Items'}</b></td>

and I want to turn it into something like:

<a href="$ENV{'SCRIPT_NAME'}?action=dispclosed&lang=$form{'lang'}"><b>$txt{'Closed Items'}</b></a>

But I get an error message with just this portion.  Where or what would I have to add to access the Closed Items section of the disp_user_auction sub.

Thanks for your help.
Sincerely,
Matt

Title: Re: How do I convert a radio button
Post by Matt on 05/25/05 at 05:14:45

Hello,

I think I've narrowed it down some.   I've been trying to work with something that looks like this:

<td align="center" valign="middle" nowrap>
               <a href="$ENV{'SCRIPT_NAME'}?action=my_auction&show="my_closed"&ALIAS=$form{'post_user'}&PASSWORD=$form{'post_pass'}&lang=$form{'lang'}"><b>$txt{'Closed Items'}</b></a>
           </td>

I have post_user and post_pass configured in the configure module.  But I'm getting a Reg File and be read error.  I'm obviously missing something but I don't know what.  Any hints anyone ?  I think it's probably something to do with the Alias and Password being transfered to the disp_user_auction module.  Please help !

Thanks..
Matt

Title: Re: How do I convert a radio button
Post by Dieter Werner on 05/25/05 at 10:52:13

sub disp_user_auction
uses $form{'ALIAS'} and $form{'PASSWORD'}
so your $form{'post_user'} and $form{'post_password'} can't work.

The eAuction Support Forums » Powered by YaBB 2.2!
YaBB © 2000-2007. All Rights Reserved.