Support Forums

Active listings are displayed in red

This is a discussion on Active listings are displayed in red within the Technical Support forums, part of the Technical Support Forums category; Hi, In my admin section of the site, the manage listing page, the active listings are, just like the no ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 10-17-2009, 07:04 AM   #1
Customer
 
damiun's Avatar
 
Join Date: Apr 2009
Posts: 418
Rep Power: 13
damiun is on a distinguished road
Default Active listings are displayed in red

Hi,

In my admin section of the site, the manage listing page, the active listings are, just like the no complete ones, displayed in a red table field.

See image,
i always thought it was green.

How can i change it back?
Attached Images
File Type: jpg Untitled-1.jpg (83.1 KB, 3 views)
damiun is offline  
Old 10-17-2009, 09:54 AM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,453
Rep Power: 130
Eric Barnes is just really nice Eric Barnes is just really nice
Default

When you are in the admin can you view source and see the class assigned around "active"? It should be something like:
<span class="active">Active</span>
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 10-17-2009, 10:35 AM   #3
Customer
 
damiun's Avatar
 
Join Date: Apr 2009
Posts: 418
Rep Power: 13
damiun is on a distinguished road
Default

Hi,

This is the code (original)

<td class="{cycle values="row1,row2" advance=true}"><span class="{if $entry.status==Y}active{elseif $entry.status==N}inactive{else}notcompleted{/if}">{$entry.l_Status_Text}</span></td>
damiun is offline  
Old 10-17-2009, 10:55 AM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,453
Rep Power: 130
Eric Barnes is just really nice Eric Barnes is just really nice
Default

What I would recommend next is to replace your admin style sheet with an original. Maybe something get corrupt in it.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 10-17-2009, 11:45 AM   #5
Customer
 
damiun's Avatar
 
Join Date: Apr 2009
Posts: 418
Rep Power: 13
damiun is on a distinguished road
Default

@Eric barnes,

I replaced the entire default templates folder of the administration
But the problem still exists.

And the css is correct:
Quote:
/* @group Statuses */

option.active {
background: #BEB;
}

option.inactive {
background: #FFFF99;
}

option.notcompleted {
background: #FF5959;
color: #FFF;
}

option.pendingpayment {
background: #BEBBEB;
color: #000;
}

option.cancelled {
background: #BCBC7A;
color: #000;
}

span.active {
background: #BEB;
text-align: center;
padding: 3px;
display: block;
}

span.inactive {
background: #FFFF99;
text-align: center;
padding: 3px;
display: block;
}

span.notcompleted {
background: #FF5959;
color: #FFF;
text-align: center;
padding: 3px;
display: block;
}

span.pendingpayment {
background: #BEBBEB;
color: #FFF;
text-align: center;
padding: 3px;
display: block;
}

span.cancelled {
background: #BCBC7A;
color: #FFF;
text-align: center;
padding: 3px;
display: block;
}

span.expired {
background: #000;
color: #FFF;
text-align: center;
padding: 3px;
display: block;
}
damiun is offline  
Old 10-17-2009, 12:00 PM   #6
curmudgeon
 
Join Date: Mar 2006
Posts: 5,197
Rep Power: 127
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

so with a 100% unmodified default template this still happens?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 10-17-2009, 01:43 PM   #7
Customer
 
damiun's Avatar
 
Join Date: Apr 2009
Posts: 418
Rep Power: 13
damiun is on a distinguished road
Default

@Lhotch

I only changed a few files frontend (for horizontal listings and listings under category)
I didnt changed any file (without the tpl files (frontend) but i dont think that effects the admin background colour.
Other changes made to the script (the really coded ones) are done by Mike-n-tosh (payment gateway)

The administration folder is completely original and 100% not modified by me (payment gateway i dont know but i dont figure)

This problems started to exist after the upgrade to the latest version (v.4.1.6.)
damiun is offline  
Old 10-17-2009, 01:45 PM   #8
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,453
Rep Power: 130
Eric Barnes is just really nice Eric Barnes is just really nice
Default

I would recommend going back to my first suggestion and viewing the source of the actual page rendered to the browser and seeing which class is assigned.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 10-17-2009, 01:57 PM   #9
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,921
Rep Power: 57
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

In an unmodified default v4.1.6 admin, those should be class="active" and should be within a <span> so in the default.css (The default admin stylesheet) this should follow the declaration for "span.active".
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline  
Old 10-17-2009, 05:29 PM   #10
Customer
 
damiun's Avatar
 
Join Date: Apr 2009
Posts: 418
Rep Power: 13
damiun is on a distinguished road
Default

Hi,

@eric barnes
The code in the tpl file was correct right? if yes, than there is something wrong with the complete admin side because in the source of the rendered file its : <span class="notcompleted">Active</span>

@Mike-N-Tosh
Yes, it should be, the span.active exists in the css file (see the piece of code i paste earlier today).
damiun is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modify fields displayed in the listings results (search, featured, new) yahn44 Technical Support 2 04-06-2009 04:27 PM
Listings 'Not Active' tdisraeli Technical Support 6 10-03-2008 12:37 PM


All times are GMT -4. The time now is 12:34 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0