Forums Index > Mewsoft > Official Announcements > Auctionawy 9.2 Update.
mewsoft First Post Posted on: 12-05-09 08:47 AM
Auctionawy 9.2 Update.

Dear all,

Auctionawy 9.2 released online for update. This new release includes the new category selection system you asked for with all your suggestions. Download from your "My Account" on our site, unzip, and update.

How to update
----------------

1)-It is recommended you update all the cgi files (*.cgi, *.pm) however you can update only the files Sell.pm, Auction.pm, SellCatTree.pm, Admin.pm.

2)-Added new template SellCategories.html upload it to your templates directory.

3)-The language file Sell.pm has new variables add to it, you can update this file or just insert the new variables below:

sell_categories_title~==~Select Category
sell_categories_help~==~Please select the proper category for your item. Click on category  name to select, double click to view in a new window.
tree_selected_category~==~Selected category:
tree_no_category~==~<font color=\"red\">No category selected</font>
tree_selected_category_id~==~Category number:
sell_tree_separator~==~ >
tree_loading_wait~==~Loading...
category_submit~==~Click to Select
sell_tree_no_accept~==~<font color=\"red\">You can not submit to this category, click to expand and select a sub category</font>
not_accepting~==~You can not submit to this category. click to expand and select a sub category.
tree_main~==~Categories
select_cat~==~Select category
no_cat_select~==~<font color="red">No category selected</font>
close_win~==~Close Window
collapse_all~==~Collapse All

4)-The template Sell.html has some modifications, you can update it or copy the changes.

replace the category html code part by this:


Code: HTML
</p><p>      &lt;td&gt;<br />  &lt;font color=&quot;blue&quot;&gt;&lt;b&gt;&lt;span ID=&quot;CatName&quot;&gt;&lt;!--CatName--&gt;&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;<br />  &lt;br&gt;<br />  &lt;input type=&quot;hidden&quot; name=&quot;Cat_ID&quot; value=&quot;&lt;!--Cat_ID--&gt;&quot;&gt;<br />  &lt;input type=&quot;button&quot; onclick=&quot;NewWindow('&lt;!--SellCategoryTreeURL--&gt;','CatWin','600','400','yes','center');return false;&quot; value=&quot;[[select_cat]]&quot; style=&quot;BORDER-RIGHT: #669999 1px outset; BORDER-TOP: #669999 1px outset; FONT-WEIGHT: bold; FONT-SIZE: 10pt; BORDER-LEFT: #669999 1px outset; COLOR: #005e5e; BORDER-BOTTOM: #669999 1px outset; FONT-FAMILY: Arial; BACKGROUND-COLOR: #ddf5f5&quot;&gt;<br /> &lt;/td&gt;<br />

 remember the javascript code at the page end:


Code: HTML
</p><p>&lt;script language=&quot;javascript&quot;&gt;<br />var win=null;<br />function NewWindow(mypage,myname,w,h,scroll,pos){<br /> if(pos==&quot;random&quot;){<br />  LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;<br />  TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;<br /> }<br /> if(pos==&quot;center&quot;){<br />  LeftPosition=(screen.width)?(screen.width-w)/2:100;<br />  TopPosition=(screen.height)?(screen.height-h)/2:100;<br /> }<br /> else if((pos!=&quot;center&quot; &amp;&amp; pos!=&quot;random&quot;) || pos==null){LeftPosition=0;TopPosition=20}<br />  settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';<br /> win=window.open(mypage,myname,settings);<br />}<br />&lt;/script&gt;<br />


Mewsoft Support
www.mewsoft.com

mewsoft Reply #: 1 Posted on: 12-05-09 07:58 PM
Re: Auctionawy 9.2 Update.

Please download the software again, and upload the file html/auctions/Tree.js to your html/auctions directory. Also upload all images files in the auctions/images directory with names that start with Tree*.gif, 28 images files. Remember to transfer the *.js file in ascii mode, images in binary mode.

Thanks


Mewsoft Support
www.mewsoft.com