Wednesday, May 23rd

Last update05:36:30 AM GMT

Font Size

Screen

Profile

Layout

Menu Style

Cpanel
Welcome, Guest
Username Password: Remember me

Search Individual Categories
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Search Individual Categories

Search Individual Categories 3 years, 4 months ago #997

  • Laurie
  • OFFLINE
  • Expert Boarder
  • Posts: 130
  • Karma: 3
G'day.

Hoping someone could direct me to a plugin that will search individual categories.

That is: Create a module and assign it to the menu for category-1 so that it will search category-1. Repeat for all the categories.

I did find a plugin that will do this for individual sections, but I need to search categories.

In my research I've found several people want to do this but no real answers.

As my site develops, it will have many individual journals, each in it's own category, which I'd like to search separately.

Please see www.australianexplorers.com.au/index.php/stuart-one for an idea of what I'm attempting.

Hear's the plugin that I found. http://extensions.joomla.org/extensions/2700/details

Would it be possible to change sectionid to categoryid? Could it be that simple?

With thanks,
Laurie.
On the way to being a basic Joomla user.
www.australianexplorers.com.au/
Last Edit: 3 years, 4 months ago by Laurie.

Re:Search Individual Categories 3 years, 4 months ago #998

Hi Laurie

I can't get your link to work - have you looked at mosets tree?
It's a commercial (I think) directory component that organises content differently - and would possible be something to consider.
-----------------------------------------------------
www.jbtwebsites.com.au
www.joomla-training-ground.com

Re:Search Individual Categories 3 years, 4 months ago #999

however - I can only see a legacy version of mosets - if you are using 1.5 - a native solution would be better
-----------------------------------------------------
www.jbtwebsites.com.au
www.joomla-training-ground.com

Re:Search Individual Categories 3 years, 4 months ago #1000

  • Laurie
  • OFFLINE
  • Expert Boarder
  • Posts: 130
  • Karma: 3
Thanks, JustLoveJoomla

Yes, I'm using Joomla 1.5.

I've edited that link and it's working now.

Here's the code:

 <?xml version="1.0" encoding="iso-8859-1" ?> 
- <mosinstall version="1.0.0" type="mambot" group="search">
<name>Search Content Ex</name>
<author>Zinco Design Solutions</author>
<creationDate>July 2007</creationDate>
<copyright>(C) 2005 Open Source Matters. All rights reserved.</copyright>
<license>http://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
<authorEmail />
<authorUrl>www.zinco.co.uk</authorUrl>
<version>1.0.0</version>
<description>Allows searching of all content items with option to limit search to specifc sections and language dependent modules. Based on the standard search content mambot, use at your own risk.</description>
- <files>
<filename mambot="content.searchbot_ex">content.searchbot_ex.php</filename>
</files>
- <params>
<param name="search_limit" type="text" size="5" default="50" label="Search Limit" description="Number of Search items to return" />
- <param name="nonmenu" type="radio" default="1" label="Static Content NonMenu" description="Search Static Content not linked to a menu item?">
<option value="0">No</option>
<option value="1">Yes</option>
</param>
<param name="sectionid" type="text" size="5" default="0" label="Limit search to following sections" description="Enter comma seperated list of sections ID's to limit search" />
- <param name="uselang" type="radio" default="0" label="Language dependent module filter" description="Experimental: Limit search results based on language dependent module (http://forum.joomla.org/index.php/topic,62236.msg917125.html#msg917125) overides above section filter">
<option value="0">No</option>
<option value="1">Yes</option>
</param>
</params>
</mosinstall>


Perhaps naively, I thought this would be a basic function of Joomla.

Any idea where to look for a native solution. My php is quite basic and no javascript or ajax ability (except I can cloak an e-mail address LOL).
On the way to being a basic Joomla user.
www.australianexplorers.com.au/

Re:Search Individual Categories 3 years, 4 months ago #1002

I actually have done a variety of things in situations needing added search functions - including using multiple copies of the joomla search component and module and customizing them.
I think you are a looking for an easier fix than that - let's throw it back to the forum and see if anyone has any simpler solutions for 1.5.
Running in legacy mode may not be ideal, but it's also not the end of the world - I have a few sites still running in legacy mode, without problems.
-----------------------------------------------------
www.jbtwebsites.com.au
www.joomla-training-ground.com

Re:Search Individual Categories 3 years, 4 months ago #1003

  • Laurie
  • OFFLINE
  • Expert Boarder
  • Posts: 130
  • Karma: 3
Thanks, JustLoveJoomla.

Yes, a simple fix would be great.

However, I've been looking into it. I reckon that if I had a pattern for the php and xml files I may be able to do the job. I'd need about 20 or 30 unique copies of the joomla search component and module.

I suppose I'd need to insert the category id into the php and xml files.

I'd also need a heading in order to identify just which category is being searched, for the benefit of the visitor. Otherwise, they wouldn't know whether they were searching the whole site or just one category.
On the way to being a basic Joomla user.
www.australianexplorers.com.au/
Last Edit: 3 years, 3 months ago by Laurie.

Re:Search Individual Categories 3 years, 4 months ago #1004

Hmm you know, you can just link to the specific categories and there is a filter mechanism that allows you to search through that category - have you tried this? Just create a menu item to a category..... may be this is all you need
-----------------------------------------------------
www.jbtwebsites.com.au
www.joomla-training-ground.com

Re:Search Individual Categories 3 years, 4 months ago #1005

  • Laurie
  • OFFLINE
  • Expert Boarder
  • Posts: 130
  • Karma: 3
Thanks. That sounds good. I'll try and work it out.
On the way to being a basic Joomla user.
www.australianexplorers.com.au/

Re:Search Individual Categories 3 years, 4 months ago #1007

  • Laurie
  • OFFLINE
  • Expert Boarder
  • Posts: 130
  • Karma: 3
you can just link to the specific categories and there is a filter mechanism that allows you to search through that category


OK. That's what I wish to do. I expected it would be a standard part of Joomla.

Can't find a perameter for limiting the search, in the plugin. Am I missing something here?

Looks to me that I'll need to manually alter a few lines in the php file. Unfortunately it's beyond my ability to work it out.

Thanks,
Laurie.
On the way to being a basic Joomla user.
www.australianexplorers.com.au/

Re:Search Individual Categories 3 years, 4 months ago #1008

  • Laurie
  • OFFLINE
  • Expert Boarder
  • Posts: 130
  • Karma: 3
Well, I've been studying this over the past couple of days. I don't understand the php but have done my best.

I'm thinking that the following may be somewhere near it, working on the idea of a new search module with a unique search box for each category.

I'd be real pleased if someone in the know would confirm if I'm on the right track, and if so, help with line 28 in the php file.

xml file for the category: stuart-1

Change the file name from: content.xml
to content-stuart-1.xml

Line 3:
Change from <name>Search - Content</name>
to <name>Search - Content-stuart-1</name>

Line 13:
Change from <filename plugin="content">content.php</filename>
to <filename plugin="content">content-stuart-1.php</filename>

php file for the category: stuart-1

Change the file name from content.php
to content-stuart-1.php

Line 28:
Currently: 'content' => 'Articles'
Maybe change this to point to the correct section and category?

The section is stuart and the category is stuart-1

If this isn't the answer, then I guess I'm stumped with Joomla. I've put so much time into making Joomla work for me but just can't get it to do something that seems to be so basic and yet is fundamental to the site's operation.

I've searched the web vigorously and found a lot of people wanting to know about this, but nobody letting the cat out of the bag.

Beyond this forum, the only hope that I can see is to go to the Joomla Users Group meeting in Canberra and see if I can get somebody's ear, but that will cost me about eighty bucks in fuel, so I'd rather avoid that option.

With thanks,
Laurie.
On the way to being a basic Joomla user.
www.australianexplorers.com.au/
Last Edit: 3 years, 4 months ago by Laurie.

Re:Search Individual Categories 3 years, 4 months ago #1009

Hi Laurie _ I can hear you are becoming frustrated and I understand that as it took me over 6 months full-time to learn Joomla!

It would be great to be an expert in 5 mins.

You have to remember that just because Joomla! is open source and accessible - it is still a professional content management system and takes learning and sometimes professional input.

It's really user friendly in the scheme of CMS's but CMS's are still complex beasts –a and I appreciate that the documentation is really complex – but I find the same when I try and understand f-stops despite getting a free camera.

Anyway I think you are try to do something too complicated (possibly my fault for bringing up complicated things) – can you skype me now (audio or text) a super admin login and password and I will have a super quick look for you – I have a meeting at 5pm so can only have a peek now.

skype name = j-training
-----------------------------------------------------
www.jbtwebsites.com.au
www.joomla-training-ground.com
  • Page:
  • 1
Time to create page: 0.78 seconds
You are here: Forum