Addon Bug (npa_selector.pl)

Archive of notes and cross input on Dev versions of Coranto (1.25.1 and Older)

Moderators: Dale Ray, SrNupsen, Bluetooth, Jackanape

Addon Bug (npa_selector.pl)

Postby Gmaniac » Mon Jul 22, 2002 9:03 am

this is very usefull addon and i want to report a bug if somebody knows how i can fix it.

the selector display the contents of a list box in modify news....
note: (there isn't any list box in modify news...????)
yes there is if i put it in npconfig.pl as a custon field

ok the problem look like this...

when i put html as a value in an option the selector refuses to post it to newsdat.txt

example of normal list box
Code: Select all
$FormFieldsName{'newstype'} = "Document Type";
$FormFieldsCustom{'newstype'} = qq~
<SELECT name="newstype">
<OPTION value="" selected>Select Type</OPTION>
<OPTION value="Academic Paper">Academic Paper</OPTION>
<OPTION value="Article">Article</OPTION>
<OPTION value="Case Study">Case Study</OPTION>
<OPTION value="Presentation">Presentation</OPTION>
<OPTION value="White Paper">White Paper</OPTION>
</SELECT>~;


example of html value in the list box
Code: Select all
$FormFieldsName{'newscorporate'} = "IMAGE Corporate Member";
$FormFieldsCustom{'newscorporate'} = qq~
<SELECT name="newscorporate">
<OPTION value="" selected>Corporate Member</OPTION>
<OPTION value="&lt;A target=&quot;_new&quot; href=&quot;http://www.bitex.com&quot; onClick=&quot;return frameBranding('http://www.bitex.com', 'http://www.mydomain.com/expo/top.php', 'rows');&quot;&gt;&lt;img src=&quot;http://www.mydomain.com/images/logos/corporate/a-bitex.gif&quot; class=&quot;CorporateImage&quot; align=&quot;right&quot;&gt;&lt;/A&gt;">Bitex</OPTION>
</SELECT>~;


i hope to understand :cry: :( :?: :?:
Gmaniac (A Greek, Coranto Experienced User)
Gmaniac
 
Posts: 291
Joined: Mon Jan 15, 2007 11:05 am
Location: Hellas - Greece

Return to Coranto Development Archives -- 1.25.1 and Older

Who is online

Users browsing this forum: No registered users and 2 guests

cron