Nested Search Results

Hi All,


Nested Search Results



Sure I’m not the first person and not first time writing about this problem…

I’m creating website with some assets ( X ) with have to be linked with one or more assets in group ( Y )

I have created X1 and X2 multiple page with have some text, picture, metadata and paint layout, and trying to display as a nested content list of assets Y1, Y2, Y3, Y4 with are related to X1 but also Y2 and Y3 are related with X2. I don’t want to duplicate assets because that is not a good solution for hundreds of them.



I come with an idea to nest search result to display those assets. So I’m using search result url as a link and replacing part of it with some metadata to make things more dynamic look’s like everything working fine but whole thing loosing metadata and paint layout so you not any more in pages X. So the only way make this listing work on the X pages is to use iframe or remote content?? But Iframe is crap and with nested remote content the link for search results is not working also data from metadata displayed in front end is not visible any more???



So it’s look’s like simplest relations in MySource Matrix are not possible???



Anyone have any idea please help!!!



http://intendance2.clients.squiz.co.uk/landmark-chambers.co.uk/barristers/barristers/reuben_taylor2/1 (where cases working as a nested remote content)

What version of MySource Matrix are you using? You could use Tagging and a Related Asset Listing to do this.


You could also just use normal linking and a nested Asset Listing in your paint layout. It all depends on how your content is structured.

[quote]What version of MySource Matrix are you using? You could use Tagging and a Related Asset Listing to do this.


You could also just use normal linking and a nested Asset Listing in your paint layout. It all depends on how your content is structured.[/quote]



Hi Avi,



3.16.2



I have people who have some cases, all cases (normal assets) are separately under one folder and can be displayed as cases listing only. Also one case can belong to two people, so I'm using metadata to type one or more names under cases and search engine to display cases under that name. The whole thing works fine the problem is when I'm trying to nest that search result under barrister profile pages… I tried to use remote content and it works but metadata is not visible any more (see my link). I have many solutions, but not one is good for future updating those profiles and cases for not experienced people.

If i was sure you could help me with this… without creating custom assets, I would place support request. But I can't see any pages on squiz client list with have that kind of linking.

Why don't you just link the cases under each person and then have a nested asset listing that has a dynamic root node of the current asset?


Not bad Idea but what can i do if i will have Cases, Publications and Events and all as Standard Assets done in same way how the listing will see the difference? I don't want to end creation 3 listings for each barrister and lots of folders and then nesting it. Uploading one silly documant and linking it with 4 barrister will take half an hour.

Please be honest guys. Do you think it's better to do this site not in Matrix?

And what about custom assets? can you create something what will make this work? How much would that cost and how much time would that take?

Use Tagging and a Related Asset Listing then. Create a Thesaurus with three Terms, "Case", "Publication" and "Event". Then create three Related Asset Listings, each tagged with one of those terms, with a dynamic root node of the current asset. Then create a paint layout that nests all three asset listings. Now all you have to do is create standard pages underneath each barrister and tag them as either a "Case", "Publication" or "Event" and the nested asset listings will do the rest.

All up, you only need to create about 5 assets: The thesaurus and its terms, the three related asset listings and the paint layout.

[quote]Use Tagging and a Related Asset Listing then. Create a Thesaurus with three Terms, "Case", "Publication" and "Event". Then create three Related Asset Listings, each tagged with one of those terms, with a dynamic root node of the current asset. Then create a paint layout that nests all three asset listings. Now all you have to do is create standard pages underneath each barrister and tag them as either a "Case", "Publication" or "Event" and the nested asset listings will do the rest.


All up, you only need to create about 5 assets: The thesaurus and its terms, the three related asset listings and the paint layout.[/quote]



Hi Avi,



Thanks, but I think you don't understand what I'm trying to do:



I have 3 folders with are outside barrister folder:

-CASES (working also as a separate page/listing added daily) 700 files

-EVENTS (working also as a separate page/listing added daily) 100 files

-PUBLICATIONS (working also as a separate page/listing added daily) 50 files



And then folder:

BARRISTER (60 names under at the moment)

Cases, publications and events nested listings with related to barrister assets

some cases are related with one or more barrister



Example:



Mr. Alex Heller when you click on cases ( on the example page ) will have:

  1. Court Case 2008
  2. Court Case 2007



    and



    Mr. Chris Owen:
  3. Court Case 2007
  4. Court Case 2006



    and CASES listing on it's own will have:
  5. Court Case 2008 ( Alex Heller )
  6. Court Case 2007 ( Alex Heller, Chris Owen )
  7. Court Case 2006 ( Chris Owen )



    Same for Events and Publications, all need to be dynamic for client: When he crate new Barrister page he type the details, change metadata and paint layout will use this and search to find his Cases / Events / Publications (should be simple). When he create new case or publication just type in names of barrister in meta and done (simple). They have really horrible cms right now but can do that without problem…

Um.. if you sample page is an example, I don't see why you can't do it with simple metadata as well. Just nest a search page into the Paint Layout and use global variables to pass a hidden input field to the search page of the name of the barrister.

Very very good idea?
Ok, but how will I make nested search page to display results only going on one of the pages, let's say cases?

how can I auto submit the search form?


You don't -- you create a link that has all the GET variables required and when it loads, it'll load in the search results mode.

Thank you very much Avi… Works ok, not really way I want, but must do at the moment.
Hope they are paying you good money for helping :wink:

Avi,


The only problem I have now is that multipage menu is not generated. because I'm using static links to bring the listings…

Another thing is that when I'm cloning the Multipage Template for user with I have prepared for client all the web path are gone so my static links are not working any more with I don't understand because I'm using Matrix Code %page_href_1% etc.



Any ideas? Thank's in advance

I have no idea – it's tough to help, when I'm having trouble visualising how you're building the site.


I would've thought the whole thing would be fairly statically linked, so that you always link to the same search page, just with different values automatically sent with the link. I'm not sure what multipage menu you're referring to.

[quote]I have no idea – it's tough to help, when I'm having trouble visualising how you're building the site.


I would've thought the whole thing would be fairly statically linked, so that you always link to the same search page, just with different values automatically sent with the link. I'm not sure what multipage menu you're referring to.[/quote]



Hi,



Before %toc_ordered% was in use, with was generating list of links for multiple pages… Now I'm using static links to get the search engines to work and display those cases and publications. But all works at the moment… so it's fine.



Only problem I have at the moment is when I'm cloning Default Barrister Multiple Page with 3 pages under, it's not creating web paths. And my links ( %page_href_1% , %page_href_2%, %page_href_3% ) are not working any more.