How to search one site collection from another in SPO - full-text-search

Anyone knows a way to direct one site collection's search to also search another site collection?
I know I can create a webpart to do the work. but before, I want to make sure I can't do it just with settings or PowerShell.
Thank you

Related

Yii2: Assign and remove items via ajax like in RBAC routes assignment

I need assistance. In Yii2 RBAC module, there is a part in the module when adding routes and removing them whereby it is done via selecting the routes and clicking on the button which moves them to the right, or remove button that moves them to the left via ajax. I have tried to search online but I guess I don't have the right description to help me get better results. I believe there must be an extension for achieving this. Below is the screenshot of what exactly I mean. I want to implement this in some part of my system but I don't know what to simply search on the internet so as to get the clue.
Any clue to what I should look for or an extension that will assist me achieve this is welcome.
You may try for this some of jquery plugins. Maybe this one http://loudev.com/ or https://github.com/crlcu/multiselect

Will a single GSA search request that specifies two site collections get loaded into the suggestions database for both sites?

Will a single GSA search request that specifies two site collections get loaded into the suggestions database for both sites?
For example consider the following query,
http://gsa/search?q=hello&site=site1|site2&client=myfrontend
If results are returned from both collections will the query "hello" get loaded into the suggestion database for both,
1. client=myfrontend&site=site1
2. client=myfrontend&site=site2
So far I have not seen the query get loaded into either suggest database, but perhaps I have not waited long enough, which makes me wonder is there any way to quickly reset/reload suggestions? In the past I have tried resetting them via admin console's suggestions page, and then enabling/disabling suggestions via the frontend, but it does not always regenerate them. Is there any other procedure people follow to reload suggestions?
Contacted Google support and, if multiple collections are defined in search request the suggestion gets logged to the default_collection.
They are working on a resolution :)

What is the best extension for Image changing on Joomla CMS?

I have this specific requirement that there is a list of names of people and a container for photo.
So when I click on specific user's name, his photo will appear in that container.
Is there any specific extension for this, so that admin can manage all the people names with their images ?
Thanks in advance.
If you are referring to an Avatar and using Joomla 2.5+ then I would recommend using Community Builder. I know it's a fairly big system, however it extends user profiles massively and might come in handy in the future.
If you're using Joomla 1.5 then you could always use DAvatar which is simply a plugin.
Hope this helps
You can user Community Builder as well but its very large & powerful extension & i think your interested to show only users image. If you have Joomla 2.5 then Profile Picture plugin will be most suitable for your case. Here is the link check it out. http://extensions.joomla.org/extensions/clients-a-communities/user-management/19702 . Hope it helps you.
Community builder is overkill just to get an image.
Here are a few options, depending on how often these are updated and whether you want to allow users to update these themselves.
Of course you can always make a category and an article for each team member, then use the links and urls to load the image in a standard location (override +use css in your template to do this). Use ACL to manage who can change this and to decide if you will allow users to manage.
Use the image field in the contact component, put all of the team members in the same category in contact. Put bio etc in miscellanous information. Only admins can manage this since it is edited back end only.
Use a profile plugin for com_user if you want users to be able to manage for themselves.

joomla 2.5 smart search (finder) for a custom component?

I'm trying to suss out the Joomla 2.5 Smart Search. I followed some instructions here - http://magazine.joomla.org/issues/issue-feb-2012/item/671-Developing-a-Smart-Search-Plugin - I managed to get my plugin installed and items from my component were being indexed in the smart search component in the administrator section..
But when I go to the front end of my site and type in one of the names of the products, it says no results found. Yet as mentioned before the same product is displaying fine in the admin component smart search, it just won't show up on the front end when I search for it.
I'm not sure what I've done wrong, or if I'm missing something?
Here's my plugin file structure:
/plugins/finder/products/language/en-GB/en-GB.plg_finder_products.ini
/plugins/finder/products/language/en-GB/en-GB.plg_finder_products.sys.ini
/plugins/finder/products/products.php
/plugins/finder/products/products.xml
/plugins/finder/products/script.php
I also added the route.php in my site components helper folder.
Any ideas on what I've done wrong, or if anyone could tell me how to print out the search query itself on the results page, so I can see where things are going wrong? I don't know, any help would be appreciated really :)
Thanks guys
Without some code to look at I can't suggest more than turning on Joomla!'s debug mode and setting the error reporting to it highest level ie.'Development'.
Debug Mode: Site->Global Configuration->System->Debug System->Yes
Error Reporting: Site->Global Configuration->Server->Error Reporting->Development
That way you'll get all the SQL queries in the Joomla! Debug Console and that will help a little.
Does your component use access levels? I've just been looking into smart search plug-ins and found that the reason why nothing was appearing on the front end for my component despite being indexed was because it didn't know what the access levels of that component's articles were.
As my component didn't use access levels, I found that adding "$item->access=1;" to the index() function was a hack that fixed it by conning it into thinking the access levels were public (though just a hack, mind you, and should not be considered the correct solution.)
Anyway, I had the same problem and that was the cause.

Should I build my own PyroCMS module...?

I'm using PyroStreams on my PyroCMS-based site, which is working great, but the front-end search functionality it offers is a bit too limiting for my needs.
My stream consists of over 20 fields. On each page of the site I want a simple keyword search box which will search on 3 of the fields in my stream. Currently I'm using the PyroStreams search form for this and it's working great.
But I also want an advanced search page which will build a form based on all 20 fields, pulling in data from the stream to build it, e.g. in my steam I have a field-type of Country and on my advanced search form I want to include a dropdown list containing all the countries found within that field-type.
What I'm asking is what is the best approach to doing this?
Should I build my own module, separate from the PyroStreams module to perform this, or is that a bit of a sledgehammer to crack a nut?
I'm a bit of a novice in this field so all help & advice is greatly appreciated.
Tony.
Just Grab sample module from here...https://github.com/pyrocms/sample and understand the folder and file structure.. Its quite easy to develop custom module in pyrocms.You just have to provide basic module detail in the detail.php to install the module. then create a new controller with the same name as module in controllers folder and same for the view and model. you can easily understand once you will go through the sample module..
url stucture will be like this
{{ url:site }}controller_name/method_name/paramate of method.
Hopefully this will help you..
This is a late answer, but PyroCMS now has a search module.
You can see the documentation to learn how to use it from a developers point of view here:
PyroCMS 2.2 Search Documentation

Resources