|
|||||||
| v4 Modules / Modifications Information about modules and script modifications for v4. Questions here are beyond "typical" 68classifieds support and not supported by the 68classifieds team. |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
There are two issuses I found with the favorites heart image when viewing a listing. This fixes both.
- When a user adds a listing to their favorites, the text changes from "Add to favorites" to "Delete from favorites" but the heart image does not change. But wait... it is supposed to! The script comes stock with an image to replace the heart ("favorites_delete.gif") but the code does not use it. - When a user is not logged in, there is no image at all. All other text has an icon, so the "login to save favorites" text is boring and looks like something is missing. Here is my fix for both problems at once (using the default template): 1. Open templates/default/css/style.css Find:2. Open templates/default/viewlisting/listingextras.tpl -OR- Open listingextras2.tpl if you are using the "short description view" setting (viewlisting2.tpl). Find :3. Make sure the "favorites_delete.gif" image is uploaded in your template /images folder. If you are using the default or purple template it is already there. NOTE: I changed my LANG_PLEASE_LOGIN_FAVORITES text to "Login to save favorites" before I did this fix. You may need to make that change in the languages/english.php file if the default text is too long to have an icon text to it. Hope this fix helps! It is minor and aesthetic but it makes a difference. Eric, feel free to add it in. ![]()
__________________
Crystal v4.0.3 Dev Last edited by crystal; 05-27-2008 at 02:50 PM. Reason: Correction to code |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Image and Database Problems | discguy | v4 Questions & Support | 7 | 04-24-2008 01:51 PM |
| Image upload blank screen problem (not file size related) | larry1 | v3.1 Questions & Support | 1 | 10-12-2007 04:27 AM |
| Image upload PROBLEM! | midoplaz | v3.1 Questions & Support | 6 | 07-30-2007 09:49 AM |
| Image Browse error | CHRD | v3.1 Questions & Support | 1 | 02-16-2007 02:28 PM |
| Question regarding listing image popup sizing | civ | v3.1 Questions & Support | 5 | 10-12-2006 05:47 AM |