Advanced Search Feature

2 views
Skip to first unread message

Phil

unread,
Mar 29, 2010, 5:12:41 PM3/29/10
to In-Portal Development Team
Hello,

where did gone "platform/search/advanced_search" (as seen in side box
search tpl)?

I'd like to code a page to propose different choices to users, and in
fact this would be an advanced search (for looking into custom fields
too).

Phil.

Alexander Obuhovich

unread,
Mar 30, 2010, 2:56:45 AM3/30/10
to in-por...@googlegroups.com
This is not advanced search template at all in "advanced" theme. Needs to be developed. Onlinestore theme has advanced search, but only for products. We don't have <inp2: tag based implementation of advanced search, that will allows you to specify what items you are searching (link, article, category, product) and then fill advanced search fields like in In-Portal 1.3.0  default theme with <inp: tags.

To unsubscribe from this group, send email to in-portal-dev+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.



--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

Phil -- wbtc.fr --

unread,
Mar 30, 2010, 7:30:48 AM3/30/10
to in-por...@googlegroups.com
Well, I was asking this because the old code for advanced theme is still in place, commented out, in search tpl.

Then do you mean actually I can't perform any search involving custom fields? :S
(I'm not thinking about in-commerce only, but rhater whole system)

2010/3/30 Alexander Obuhovich <aik....@gmail.com>

Alexander Obuhovich

unread,
Mar 30, 2010, 7:41:41 AM3/30/10
to in-por...@googlegroups.com
Old code with "<inp:" tags won't work. Need to re-create new one here. Custom field search was available in onlinestore theme, then I guess it still operational if you can assemble template to use it.

Phil -- wbtc.fr --

unread,
Mar 30, 2010, 7:54:03 AM3/30/10
to in-por...@googlegroups.com
ok, I'll do my own tests and let you know.


2010/3/30 Alexander Obuhovich <aik....@gmail.com>

Dmitry A.

unread,
Mar 31, 2010, 2:24:49 AM3/31/10
to In-Portal Development Team
Phil,

Actually there are 2 things you can help with here:

1. Test what wanted to test and report back here :)

2. Create a PSD with prototype of Advanced Search form for "Advanced"
theme so we can see how you want it to be positioned.


DA

On Mar 30, 6:54 am, "Phil -- wbtc.fr --" <p...@wbtc.fr> wrote:
> ok, I'll do my own tests and let you know.
>

> 2010/3/30 Alexander Obuhovich <aik.b...@gmail.com>


>
>
>
> > Old code with "<inp:" tags won't work. Need to re-create new one here.
> > Custom field search was available in onlinestore theme, then I guess it
> > still operational if you can assemble template to use it.
>

> > On Tue, Mar 30, 2010 at 2:30 PM, Phil -- wbtc.fr -- <p...@wbtc.fr> wrote:
>
> >> Well, I was asking this because the old code for advanced theme is still
> >> in place, commented out, in search tpl.
>
> >> Then do you mean actually I can't perform any search involving custom
> >> fields? :S
> >> (I'm not thinking about in-commerce only, but rhater whole system)
>

> >> 2010/3/30 Alexander Obuhovich <aik.b...@gmail.com>


>
> >> This is not advanced search template at all in "advanced" theme. Needs to
> >>> be developed. Onlinestore theme has advanced search, but only for products.
> >>> We don't have <inp2: tag based implementation of advanced search, that will
> >>> allows you to specify what items you are searching (link, article, category,
> >>> product) and then fill advanced search fields like in In-Portal 1.3.0
> >>> default theme with <inp: tags.
>

Phil -- wbtc.fr --

unread,
Apr 1, 2010, 6:20:52 PM4/1/10
to in-por...@googlegroups.com
Dmitry,

1. no more onlinestore theme in v5, the onlinestore theme from v4 isn't working, as per my tests:

   - advancedsearch function still exists in cat-processor.php
   - form from old onlinestore is displaying and work, but only for products
   - I have noticed the tag inp2:p_AdvancedSearchForm, it search only in products, I've tried other letter, but doesn't work

I didn't found any function in PHP sources to search into custom fields, am I wrong?

2. thank you for your proposal, but this is not a matter of design, I just need to search into In-Link custom fields, if possible using closes choices in form (i.e. no text entries, just check boxes as search criteria)

I hope I'm clear enough ^-^

Phil.

2010/3/31 Dmitry A. <dand...@gmail.com>

Alexander Obuhovich

unread,
Apr 1, 2010, 6:30:54 PM4/1/10
to in-por...@googlegroups.com
OnSimpleSearch and OnAdvancedSearch should search all kind of stuff.

Dmitry Andrejev

unread,
Apr 1, 2010, 6:44:06 PM4/1/10
to in-por...@googlegroups.com
Phil,

Yes, thanks for your reply.

Here are my notes:

1. Yes, I know - we have update it, but there is a NEW theme already in the SVN in development and can be checkout / exported.


No PHP changes were made so all main functions are there - we are short handed right now to work on Advanced Search.


2. We are looking for long time solution - you are looking for something you can sell to your customer. Based on our experience - not a good idea to do something with Interfaces until we have designs for it.



DA.

Phil -- wbtc.fr --

unread,
Apr 1, 2010, 6:45:04 PM4/1/10
to in-por...@googlegroups.com
Alex, thanks for your late reply :)

where should I put these tag? could you give me a code example?

thanks
Phil.

2010/4/2 Alexander Obuhovich <aik....@gmail.com>

Phil -- wbtc.fr --

unread,
Apr 1, 2010, 6:47:02 PM4/1/10
to in-por...@googlegroups.com
Dmitry,

1- ok, will test the theme asap (yes I'e installed SVN, just need time to test ^-^)

2- this is for my own project this time, even if it could be usefull for other cases.

P.


2010/4/2 Phil -- wbtc.fr -- <ph...@wbtc.fr>

Dmitry Andrejev

unread,
Apr 1, 2010, 6:51:27 PM4/1/10
to in-por...@googlegroups.com
Good! That means we need a solution that will be used by everyone not just in your project, and here we start with Interface of Advanced Search Form since most of PHP is already somewhat done and you need to properly to apply it to Form Control (input fields), but until we have NO Interfaces - it's not possible.

DA.

Alexander Obuhovich

unread,
Apr 2, 2010, 2:15:46 AM4/2/10
to in-por...@googlegroups.com
The ones I've mentioned are not tags, but events. You still should use
<inp2:p_AdvancedSearchForm .../> tag with same invocation syntax as
before.

--
Sent from my mobile device

Phil -- wbtc.fr --

unread,
Apr 2, 2010, 4:08:00 AM4/2/10
to in-por...@googlegroups.com
Dmitry, I didn't asked any particular design as I bet this feature is of general interest, whatever design we have or we'll do in the near future. Advanced theme have all the design needs embedded in his CSS and images, do you need me to code this page for this particular theme?

Alex, I thought the "p" after "inp2:" was related to product search only.
How can I use the event you have mentioned?

Thanks

Alexander Obuhovich

unread,
Apr 2, 2010, 5:49:16 PM4/2/10
to in-por...@googlegroups.com
That events are used automatically when you are located on search result template. About "p" prefix is the trick you should somehow process. Idea is to have template when as 1st step you choose what item type to search (actually select prefix, "p", "l" and so on) and then on 2nd step that prefix is used in AdvancedSearchForm tag.

Phil -- wbtc.fr --

unread,
Apr 3, 2010, 4:50:11 AM4/3/10
to in-por...@googlegroups.com
well, to resume, as I don't know -yet- the magic of inportal:
   - form behavior depends from where the file is in theme ?

   - you say I can change prefix, but I wasn't able to find other letter which are not leading to an error page, would you list the authorized letters and their corresponding module?

   - in my case, I need to look mainly in custom fields, with closed choices on front, example: on the search form : "dogs accepted : yes/no" (checkbox) and I expect the search form to sort only results where custom field "cust_dogs_allowed" is ON, is it tricky?


2010/4/2 Alexander Obuhovich <aik....@gmail.com>

Alexander Obuhovich

unread,
Apr 3, 2010, 3:29:09 PM4/3/10
to in-por...@googlegroups.com
About allowed prefixes:
  • see Var column in Modules table (l - links, n - articles)
  • all other category item prefixes are allowed too
About custom fields:
nothing specific here, just check "Advanced Search" checkbox near needed custom field in "Search" section of corresponding module and it will be showed on advanced search form.

Dmitry Andrejev

unread,
Apr 3, 2010, 3:55:03 PM4/3/10
to in-por...@googlegroups.com
Phil, I don't want to disappoint you here, but in ny opinion it just going to take for ever - going back and forth with Alex, and most likely no results for you.

What I am recommending (from the beginning) for a better and sold results - work out Advanced Search Form (interfaces) for Advanced theme first, then do implementation - this is NOT a quick hack and separate task surely needed it.

Thanks.

DA.

Dmitry Andrejev

unread,
Apr 16, 2010, 6:32:41 PM4/16/10
to in-por...@googlegroups.com
Phil, looks like you are not interested in this anymore? :)

Please keep in mind that before we start doing any Web Development of this in In-Portal - we need to have clear vision what we are looking to achieve and for that we prefer to see a layout for the Advanced Search page should look like so it satisfies all our needs.

We can even start with posting links to other Advanced Search pages so we get the idea what's good and what's not.

Everyone please feel free to join and post here.


I hope it makes sense.

DA.

Phil -- wbtc.fr --

unread,
Apr 18, 2010, 2:18:44 PM4/18/10
to in-por...@googlegroups.com
Dmitry,

then I don't look like I should, as it's still of main interest for me, but I was busy on other tasks and other posts here :):

In fact I don't see how to show a design example, as my idea is to have an advanced form to display custom fields created by users, then any example would be a particular case...

Here is the logic I thought about for this advanced form, and it would need to be tailored on install for  users needs:

   - custom fields are of 2 family: closed choices and open choices (a check box is a closed choice, as well as radio buttons or dropdown lists, others are open ones)

   - search option would include 2 parts : text field and custom fields, each optionnal (ability to use both parts or only 1)

      - text field would search into all website, including custom's open fields

      - custom fields would display each closed custom fields, and you can select them : you can check a box, clic a radio or choose in a list. minor trick for list: being able to select more than 1 choice, using Ctrl + clic

Does it make sense?

Phil.

2010/4/17 Dmitry Andrejev <dand...@gmail.com>

Phil -- wbtc.fr --

unread,
May 2, 2010, 4:08:08 PM5/2/10
to in-por...@googlegroups.com
Hello back Dmitry,

would you please give me your opinion ?

thx
Phil.

2010/4/18 Phil -- wbtc.fr -- <ph...@wbtc.fr>

Dmitry Andrejev

unread,
May 2, 2010, 10:10:18 PM5/2/10
to in-por...@googlegroups.com
Hi, Phil,


Sorry for delay. I'll be reviewing and analyzing your notes within next few days.

Cheers!


DA
Reply all
Reply to author
Forward
0 new messages