Support Forums

Showlistings

This is a discussion on Showlistings within the Modules / Plugins / Modifications forums, part of the Developer Forums category; It it possible to call the contents of the showlistings page into the browse page. I would like to have ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 08-27-2007, 02:06 PM   #1
Member
 
Join Date: Aug 2007
Posts: 49
Rep Power: 18
Nickb is on a distinguished road
Default Showlistings

It it possible to call the contents of the showlistings page into the browse page. I would like to have the featured listings in the browse window, but not the feature listing summary, the one from the showlisting view
__________________
http://www.sell-your-art.co.uk
Nickb is offline   Reply With Quote
Old 08-27-2007, 02:27 PM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

I am not sure I understand exactly what you are trying to accomplish.

Can you try to explain a little more or maybe somehow give an example?
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 08-27-2007, 02:31 PM   #3
Member
 
Join Date: Aug 2007
Posts: 49
Rep Power: 18
Nickb is on a distinguished road
Default

Quote:
Originally Posted by suzkaw
I am not sure I understand exactly what you are trying to accomplish.

Can you try to explain a little more or maybe somehow give an example?
If you look at two pages below. I want to be able to have the contents of the 2nd page on the first page below the browse section

http://www.sell-your-art.co.uk/category.php

http://www.sell-your-art.co.uk/topli...hp?pg=featured
__________________
http://www.sell-your-art.co.uk
Nickb is offline   Reply With Quote
Old 08-27-2007, 02:37 PM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

I haven't tested this and it may or may not work but you can open the category.php file and locate this at the bottom.
Code:
$class_tpl->assign('showsubcat', $showsubcat);
Just below it add:
PHP Code:
$settings=$Core->getSearchSettings();
            
            
$pageNum 1;
            
$options['sortfield']=MAIN_PRODUCT_SORT;
            
$options['sortorder']=MAIN_PRODUCT_SORT_OPTION;
            if(isset(
$_GET['page']))
            {
                
$pageNum = (int)$_GET['page'];
            }
            
$options['featured']='Y';
            
$list=$Listings->getAllListings($options$pageNumMAX_ROWS_SEARCH);
            
$class_tpl->assign('results'$list["list"]);
            
$class_tpl->assign('sqlsort'$list["info"]["sqlsort"]);
            
$class_tpl->assign('sortorder'$list["info"]["sortorder"]);
            
$class_tpl->assign('oppositesort',  $list["info"]["oppositesort"]);    
            
$class_tpl->assign('showlistings''Y');
            
$class_tpl->assign('file''category.php'); 
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 08-27-2007, 02:49 PM   #5
Member
 
Join Date: Aug 2007
Posts: 49
Rep Power: 18
Nickb is on a distinguished road
Default

Thanks for the help, but I only have the designer version.

I would like the devoloper version, but can't justify it at the moment.

Nick
__________________
http://www.sell-your-art.co.uk
Nickb is offline   Reply With Quote
Old 08-27-2007, 02:57 PM   #6
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

Yes you would have to have the developer version for this. You could always use the feature listings plugin however it will probably not look exactly the same.
http://www.68classifieds.com/knowled...gs-horizontal/
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 10-05-2007, 09:13 PM   #7
Customer
 
Join Date: Jun 2006
Posts: 135
Rep Power: 24
barrysmith is on a distinguished road
Default

Hi Nick

Did you do your site your self, i like the look and was wondering if you had to do a lot of modifications.

Also the popups fading the dark BG, is that another addition.

Nice One
barry
barrysmith is offline   Reply With Quote
Old 03-08-2008, 05:27 AM   #8
Senior Member
 
CHRD's Avatar
 
Join Date: Nov 2006
Posts: 191
Rep Power: 24
CHRD is on a distinguished road
Default

Nice site, you should upgrade and feel the full force of a fully operational hacked up 68 site
__________________
Costa del Sol
Spain
V4.18 Dev
�Powerful you have become, the dark side I sense in you.�
CHRD is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing fields from showlistings mfarah01 Templates, HTML, CSS, and Design Help 3 06-14-2006 07:12 AM


All times are GMT -4. The time now is 09:24 PM.


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