Support Forums

function.css_listings_horizontal

This is a discussion on function.css_listings_horizontal within the TemplateCodes forums, part of the Third Party Support category; I bought the Neo3c Template System and the function.css_listings_horizontal plugin works well except it doesn't filter by location with the ...


Go Back   68 Classifieds Forums > Third Party Support > TemplateCodes

Reply
 
Thread Tools Display Modes
Old 01-15-2010, 10:25 PM   #1
Junior Member
 
Join Date: Dec 2008
Posts: 13
Rep Power: 13
rubpay73 is on a distinguished road
Default function.css_listings_horizontal

I bought the Neo3c Template System and the function.css_listings_horizontal plugin works well except it doesn't filter by location with the loc_filter="on" call.
__________________
Ruben

68 Classifieds Developer 4.1.3 version
rubpay73 is offline   Reply With Quote
Old 01-15-2010, 11:43 PM   #2
All Hands On Deck
 
seymourjames's Avatar
 
Join Date: Mar 2008
Posts: 3,528
Rep Power: 89
seymourjames is a jewel in the rough
Default

Yes it is lfilter and not loc_filter and the instructions were updated a few days ago.

lfilter="on"
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is online now   Reply With Quote
Old 01-16-2010, 12:09 AM   #3
Junior Member
 
Join Date: Dec 2008
Posts: 13
Rep Power: 13
rubpay73 is on a distinguished road
Default

I tried lfilter="on" and it is not working either.
__________________
Ruben

68 Classifieds Developer 4.1.3 version
rubpay73 is offline   Reply With Quote
Old 01-16-2010, 07:10 AM   #4
All Hands On Deck
 
seymourjames's Avatar
 
Join Date: Mar 2008
Posts: 3,528
Rep Power: 89
seymourjames is a jewel in the rough
Default

Please show me the command you are using and tell me the template file you are attempting to use this function on. Also a link to your site will help or you can send it to me privately.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is online now   Reply With Quote
Old 01-16-2010, 12:35 PM   #5
Junior Member
 
Join Date: Dec 2008
Posts: 13
Rep Power: 13
rubpay73 is on a distinguished road
Default

This is what I added to the Neo3 red/Home.tpl
<table align="center"><tr><td>{css_listings_horizontal number=2 type="new" lfilter="on"}</td></tr></table>
Everything works good in this function, category, number, type except for the lfilter="on" call.
My Location Filter works fine
__________________
Ruben

68 Classifieds Developer 4.1.3 version
rubpay73 is offline   Reply With Quote
Old 01-16-2010, 02:40 PM   #6
All Hands On Deck
 
seymourjames's Avatar
 
Join Date: Mar 2008
Posts: 3,528
Rep Power: 89
seymourjames is a jewel in the rough
Default

Please send me an email with your FTP details and 68C admin control panel details. I will try to take a look at what is going on. Something is amiss here.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is online now   Reply With Quote
Old 01-17-2010, 11:16 AM   #7
All Hands On Deck
 
seymourjames's Avatar
 
Join Date: Mar 2008
Posts: 3,528
Rep Power: 89
seymourjames is a jewel in the rough
Default

Yes a small bug has been found in the module when used in conjunction with the css horizontal listings. This only affects recent versions of the module where it is called "listing filter". It does not affect previous versions which were called location filter.

You may contact us for a fixed pair of files or make these changes yourself.

Open

modules/custom_plugins/plugins/function.css_listings_horizontal.php

find these lines

if (array_key_exists('locationfilter', $active)) {
$config = TC_Modules::getConfig('locationfilter');


and change them to

if (array_key_exists('llistingfilter', $active)) {
$config = TC_Modules::getConfig('llistingfilter');


Then open

modules/listingfilter/readme.php

and again change

TC_Modules::registerModule('locationfilter');

//assign config data
TC_Modules::assignConfig('locationfilter');



to

TC_Modules::registerModule('listingfilter');

//assign config data
TC_Modules::assignConfig('listingfilter');
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is online now   Reply With Quote
Old 01-17-2010, 07:42 PM   #8
All Hands On Deck
 
seymourjames's Avatar
 
Join Date: Mar 2008
Posts: 3,528
Rep Power: 89
seymourjames is a jewel in the rough
Default

It turns out that the changes above are not suffice. For those which have a similar issue with the listing filter please contact us for file replacements.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is online now   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
create a function sergio_hs TemplateCodes 5 08-27-2009 08:40 AM
Function Error pipelin Technical Support 1 07-09-2009 09:35 PM
Add Param to function hel68c Modules / Plugins / Modifications 4 11-25-2008 05:21 PM
php function seymourjames Modules / Plugins / Modifications 3 08-04-2008 12:43 PM


All times are GMT -4. The time now is 05:22 AM.


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