Forums Index > Mewsoft > Minor Updates and bug fixes > Classifiedawy 10.04 Update
mewsoft First Post Posted on: 09-04-10 07:51 AM
Classifiedawy 10.04 Update

This update adds the Newest Ads feature on the home page.

How to update
==========

It is very recommended to backup your site before doing any updates in general.

1)-Download the latest zip file classifiedawy.zip from our site "My Account" using your license number.

2)-Unzip on your computer and upload the following files to your server in ASCII mode:

classified/Classified.pm
classified/Configuration.pm
classified/Main.pm
classified/FrontPage.pm
classified/ListingOptAdm.pm
classified/StartUp.pm
classified/StartUpAdm.pm

classified/data/SpecialClasses.pm

The above files will not change anything in your configuration or customization.

Templates:
=======

The template file FrontPage.pm has some changes added for the Newest Ads code, see this code and copy it to your template or update it if you have not done any customization to it, see this code in the new template:


Code: HTML
</p><p>    &lt;tr&gt;&lt;td bgcolor=&quot;#009900&quot;&gt;&lt;img src=&quot;&lt;!--CLASS::Images_URL--&gt;/dot1x1.gif&quot; border=&quot;0&quot; width=&quot;1&quot; height=&quot;1&quot;&gt;&lt;/td&gt;&lt;/tr&gt;<br />    &lt;tr&gt;&lt;td align=&quot;left&quot; width=&quot;100%&quot; bgcolor=&quot;#B6E151&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;#660066&quot;&gt;&amp;nbsp;&lt;b&gt;[[newest_title]]&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;<br />    &lt;tr&gt;&lt;td align=&quot;center&quot; width=&quot;100%&quot;&gt;&lt;!--CLASS::Newest_Listing--&gt;&lt;/td&gt;&lt;/tr&gt;<br /></p><p>

Language:
=======

The language file General.pm has some additions:


Code: HTML
</p><p>newest_title~==~Newest Ads<br />newest_image_link~==~&lt;a href=&quot;&lt;!--Link--&gt;&quot;&gt;&lt;IMG SRC=&quot;&lt;!--Image--&gt;&quot; border=&quot;0&quot; ALT=&quot;&quot;&gt;&lt;/a&gt;<br />

Theme Configuration:
================

The file data/templates/Default/Config.pm as some additions for the new 4 special classes added, you need to copy these 4 lines from the unzipped file to the one on your server:


Code: HTML
</p><p>Newest_Table_Form~==~    &lt;td width=&quot;20%&quot;  bgcolor=&quot;#FFFFFF&quot;&gt;\n    &lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;2&quot;&gt;\n      &lt;tr&gt;&lt;td width=&quot;100%&quot; colspan=&quot;2&quot; align=&quot;center&quot;&gt;&lt;!--Photo--&gt;&lt;/td&gt;&lt;/tr&gt;\n      &lt;tr&gt;&lt;td width=&quot;100%&quot; colspan=&quot;2&quot; align=&quot;center&quot;&gt;&lt;a href=&quot;&lt;!--Link--&gt;&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;!--Title--&gt;&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;\n    &lt;/table&gt;\n &lt;/td&gt;\n<br />Newest_Table_Form1~==~    &lt;td width=&quot;20%&quot; bgcolor=&quot;#FFFFFF&quot;&gt;\n    &lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;2&quot;&gt;\n      &lt;tr&gt;&lt;td width=&quot;100%&quot; colspan=&quot;2&quot; align=&quot;center&quot;&gt;&lt;!--Photo--&gt;&lt;/td&gt;&lt;/tr&gt;\n      &lt;tr&gt;&lt;td width=&quot;100%&quot; colspan=&quot;2&quot; align=&quot;center&quot;&gt;&lt;a href=&quot;&lt;!--Link--&gt;&quot;&gt;&lt;font size=&quot;1&quot;&gt;&lt;!--Title--&gt;&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;\n    &lt;/table&gt;\n &lt;/td&gt;\n<br />Newest_Table_Row~==~&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;2&quot; cellpadding=&quot;3&quot;  bgcolor=&quot;#ffffff&quot;&gt;\n  &lt;tr&gt;&lt;!--Newest_Row--&gt;&lt;/tr&gt;\n&lt;/TABLE&gt;\n<br />Newest_Table_Row1~==~&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;2&quot; cellpadding=&quot;3&quot;  bgcolor=&quot;#ffffff&quot;&gt;\n  &lt;tr&gt;&lt;!--Newest_Row--&gt;&lt;/tr&gt;\n&lt;/TABLE&gt;\n<br /></p><p>

If you have not done customizations to your classes you can just update this file.

 

After you do these updates, go to your admin center, click on Listing Options, and set these 2 new options:

Newest Items Count:

Newest Items Columns:

If you can not that we can handle this upgrade safely for you for ordering one hour customization $50.

Thanks


Mewsoft Support
www.mewsoft.com