Welcome Visitor, Please Login or Register Now |
|
Wednesday, April 24, 2024 06:49 AM |
|
mewsoft |
Administrator Team Member |
Posts: 5381 |
Joined: 04-24-24 06:49 AM |
Location: knxoville, TN, USA |
|
|
|
|
|
|
|
|
Auctionawy 9.2 Update. |
Edit Delete Quote |
First Post Posted on: 12-05-09 08:47 AM |
|
|
|
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 Select All Expand All
|
</p><p> <td><br /> <font color="blue"><b><span ID="CatName"><!--CatName--></span></b></font><br /> <br><br /> <input type="hidden" name="Cat_ID" value="<!--Cat_ID-->"><br /> <input type="button" onclick="NewWindow('<!--SellCategoryTreeURL-->','CatWin','600','400','yes','center');return false;" value="[[select_cat]]" style="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"><br /> </td><br />
|
remember the javascript code at the page end:
Code: HTML Select All Expand All
|
</p><p><script language="javascript"><br />var win=null;<br />function NewWindow(mypage,myname,w,h,scroll,pos){<br /> if(pos=="random"){<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=="center"){<br /> LeftPosition=(screen.width)?(screen.width-w)/2:100;<br /> TopPosition=(screen.height)?(screen.height-h)/2:100;<br /> }<br /> else if((pos!="center" && pos!="random") || 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 /></script><br />
|
|
Mewsoft Support www.mewsoft.com
|
|
|
|
|
|
|
|
Mewsoft and Mewsoft Logos are registered trademarks.
® Corporation. All Rights Reserved.
Copyright -
Privacy -
Terms of Use
| Page Load: 0.1081 Seconds |
|