logo
WSN Links PHP Directory Software
Features Showcase Reviews Demos Purchase Manual Support
 

Search in category. Links in alias cats
How to make them show up.

Version: 4.1.13
Example URL: click4localbusiness.co.uk


Search in category. Links in alias cats
jayweb
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 37
Total Posts: 112
Posted 11/12/07 - 01:03 PM:
quote post
#1
I have asked this before in a support ticket but I cant remember how to do this...

I have created a seach form that has a drop down list of categories as part of the search query. Problem is if a link is aliased to a category, they do not show up when tha category is searched. I need them to show up even if they are just aliased to the category.

I realise this will cause them to show up miltiple times during a normal search, but I am not using normal search.

Can you remind me how this is done please paul.

Thanks
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 11/14/07 - 12:24 AM:
quote post
#2
The code says that if you fill in catidsearch, incatid or catid form fields (all the ways one would normally search specific categories or groups thereof) it doesn't eliminate aliases. What's the HTML of your category dropdown?
jayweb
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 37
Total Posts: 112
Posted 11/14/07 - 08:54 AM:
quote post
#3
Here ia my excat code... Aliased links do not seem to show up...

<form action="http://www.webmastersite.net/forums/search.php?action=filter&filled=1&whichtype=links" method="post">
<input type="hidden" name="catidcondition" value="="/>
<select name="catidsearch">{CATOPTIONS}</select>
In <input type="hidden" name="searchcountiescondition" value="like" /><select name="searchcountiessearch">
<option>Aberdeenshire</option><option>Angus</option><option>Antrim</option><option>Argyll and Bute</option><option>Armagh</option><option>Bedfordshire</option><option>Belfast</option><option>Berkshire</option><option>Bristol</option><option>Bridgend</option><option>Buckinghamshire</option><option>Caerphilly</option><option>Cambridgeshire</option><option>Cardiff</option><option>Carmarthenshire</option><option>Ceredigion</option><option>Cheshire</option><option>Clackmannanshire</option><option>Conwy</option><option>Cornwall</option><option>Cumbria</option><option>Denbighshire</option><option>Derbyshire</option><option>Devon</option><option>Dorset</option><option>Down</option><option>Dumfries and Galloway</option><option>Durham</option><option>East Ayrshire</option><option>East Lothian</option><option>East Sussex</option><option>East Yorkshire</option><option>Edinburgh</option><option>Essex</option><option>Falkirk</option><option>Fermanagh</option><option>Fife</option><option>Flintshire</option><option>Glasgow</option><option>Gloucestershire</option><option>Gwent</option><option>Gwynedd</option><option>Hampshire</option><option>Herefordshire</option><option>Hertfordshire</option><option>Highlands and Islands</option><option>Humberside</option><option>Inverclyde</option><option>Isle of Anglesey</option><option>Kent</option><option>Lancashire</option><option>Leicestershire</option><option>Lincolnshire</option><option>London</option><option>Londonderry</option><option>Manchester</option><option>Merseyside</option><option>Merthyr Tydfil</option><option>Middlesex</option><option>Midlothian</option><option>Monmouthshire</option><option>Neath Port Talbot</option><option>Norfolk</option><option>North Ayrshire</option><option>North Yorkshire</option><option>Northamptonshire</option><option>Northumberland</option><option>Nottinghamshire</option><option>Oxfordshire</option><option>Pembrokeshire</option><option>Perth and Kinross</option><option>Powys</option><option>Rhondda Cynon Taff</option><option>Renfrewshire</option><option>Rutland</option><option>Scottish Borders</option><option>Shetland Islands</option><option>Shropshire</option><option>Somerset</option><option>South Ayrshire</option><option>South Lanarkshire</option><option>South Yorkshire</option><option>Staffordshire</option><option>Stirling</option><option>Suffolk</option><option>Surrey</option><option>Swansea</option><option>Torfaen</option><option>Tyne and Wear</option><option>Tyrone</option><option>Vale of Glamorgan</option><option>Warwickshire</option><option>West Dunbartonshire</option><option>West Lothian</option><option>West Midlands</option><option>West Sussex</option><option>West Yorkshire</option><option>Western Isles</option><option>Wiltshire</option><option>Worcestershire</option><option>Wrexham</option>
</select>
<input type="submit" value="Search" class="button"/></form>


Edited by Paul on 11/14/07 - 05:40 PM. Reason: formatting
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 11/15/07 - 08:03 PM:
quote post
#4
Tested, works fine, shows the alias I made.
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

Admin Control Panel

   
Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support
© 2008 Paul Knierim. All rights reserved.