Support Forums

Displaying the number of items in the cat for the dropdown menu

This is a discussion on Displaying the number of items in the cat for the dropdown menu within the Technical Support forums, part of the Technical Support Forums category; Hi, I am using The Maffo Search Mod. I want how many ads are in that category next to the ...


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 07-23-2008, 03:07 AM   #1
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,085
Rep Power: 33
bowers01 is on a distinguished road
Default Displaying the number of items in the cat for the dropdown menu - Maffo Search Mod

Hi,
I am using The Maffo Search Mod. I want how many ads are in that category next to the option in the drop down like http://everythingsfree.org/image//im...tnoexample.jpg

I beleive this is where the categories are pulled
Code:
{if $parent_dropdown}{$parent_dropdown}
	<div id="cat_string"></div>
	{if $msm_search_div}<div id="results_1"></div>{/if}
	{else}
	<select name="type" id="type" onchange="{$msm_cat_onchange}" >
	<option value=''>{$smarty.const.LANG_SEARCH_ALLCAT}</option>
	{foreach from=$msm_get_cats item=cat}
	<option {if $cat.parent_id == 0}class="parent" {/if}value="{$cat.id}"{if $msm_type==$cat.id} SELECTED {/if}>{$cat.name}</option>
	{/foreach}
	</select>
	{/if}
Anyone have any ideas on how i could do this? or if its complicated anyone willing to code this? if so please send a quote.

Cheers
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template

Last edited by bowers01; 07-23-2008 at 03:17 AM.
bowers01 is offline  
Old 07-23-2008, 01:33 PM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 133
Eric Barnes is just really nice Eric Barnes is just really nice
Default

You may have to check with maffo on that. It looks like parent_dropdown would have to be altered and with out seeing it is hard to tell.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 07-23-2008, 05:09 PM   #3
The Master
 
Maffo's Avatar
 
Join Date: Mar 2006
Location: British in Argentina
Posts: 1,342
Rep Power: 50
Maffo is just really nice Maffo is just really nice
Default

Well I did ask the client to make me an offer to do the work but he didnt.

You will need to understand some ajax to do this.
__________________
**Bulk Upload System** has been upgraded. Works on all v4 versions with new functionality. Free upgrade for existing customers.
Maffo is offline  
Old 07-23-2008, 05:43 PM   #4
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,085
Rep Power: 33
bowers01 is on a distinguished road
Default

I dont have that kind of money, please check you PM.
Nick
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline  
Old 07-23-2008, 06:37 PM   #5
curmudgeon
 
Join Date: Mar 2006
Posts: 5,366
Rep Power: 135
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by bowers01
I dont have that kind of money, please check you PM.
Nick
You need to understand that this site is primarily for the support of 68C. With that in mind most of us do not have access to the various modules other people write so therefor cant really help you mod them.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Closed Thread

Thread Tools
Display Modes



All times are GMT -4. The time now is 12:41 AM.


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