Liferay 7.0 Search Hook - liferay

I'm working with Liferay 7.0 GA3 and I want to customize the Search Portlet.
With the default portlet I can select between sites, asset entries,
folders, users and time when I'm looking at the page as Guest, but
when I'm logged I can see sites, asset entries, tags, categories,
folders, users and time. I would need to show only asset entries
(documents and web content articles, but no documents folder and web
content folders), categories and time.
Another problem is that I imported the data from another server and
now when I search something being a Guest, the porlet only shows me
documents but no web content. However, if I'm logged the porlet
works fine.

I do not know what is the problem with the point 2 yet, but a provisional solution is to go to:
Users -> Roles and select Define Permissions to Guest.
Navigate to Site Administration -> Content -> Web Content
Check the box View associated with Web Content Article.

Related

SharePoint 2013 Page Layout Error

I'm really finding it difficult to set up a new theme for my SharePoint 2013 site.
I have uploaded all other files to the design gallery. But when I uploaded the page layouts, and I try to change the Content Type to Page Layout, I get the error below:
Sorry, something went wrong List does not exist.
The page you selected contains a list that does not exist. It may have been deleted by another user.
Technical Details
Correlation ID: ce2b429d-0147-d0c2-bc23-32b039f7d8a6
Please what can I do to resolve this?
Thanks.
I got it working by disabling the publishing feature under > site settings > Site Collections Feature > SharePoint Server Standard Site Collection features
Deactivate
Reactivate
Rebooted the server (probably could have done an IISReset but
overkill!)
Now I can add layout pages under master pages gallery.
In the browser, go to your site, and on the Site Actions menu, click
View All Site Content, and then click the Pages document library.
Or you can browse directly to
http://your_site/pages/forms/allitems.aspx, where your_site is the URL
for your site, such as fabrikamweb/finance for the
http://fabrikamweb/finance subsite.
The Pages document library is created automatically by the publishing
feature and contains all of the pages in a site that are created from
page layouts. You can look in the Page Layout column to see which page
layout was used for a specific page and then click the link to view
that page in the browser.
https://support.office.com/en-us/article/Customize-a-publishing-page-layout-c10bda25-0145-44c6-ba14-7757176fb47f

sharepoint 2013 top navigation menu with sitecollections

I have a SharePoint Site called ProxymGroup which has multiple affiliates and departments.
I created the webApplication and added 2 managed Paths of type WildCard called Affiliates and Departments.
Under affiliates i needed to create 3 site collections and under departments 2 other SiteCollections. So, here i have the links for the siteCollections:
http://MyHostName/affiliates/SiteCol1 ... and http://MyHostName/departments/SiteCol1 ... etc.
My goal is to display all that hierarchy in theTopNavigationBar menu of the siteCollection because when i activated SharePoint server publishing feature and checked Show SubSites in navigation tab under site sittings it only showed me the subsites, not the siteCollections created under this site.
How can i do please to get that hierachy shown in my TopNavigationBar menu???
Thanks in advance
as far as I know there is no ootb way to show information in the navigation shared among site collections. each site has its own master page and can only display subsites, not other site collections.
alternatively, you can create a powershell script that sets the same navigational items for all the existing site collections, adding links for all the existing sites in all menus of all sites
...or just create subsites
Go to Site settings -> Look and Feel -> Navigation and you can add links manually and change the hierarchy as you want , Please check below image for same.

(SharePoint) How do I add a Calendar app part from a subsite to a parent site?

Basically like the title states, I have a subsite with a Calendar App part and would like to add it onto the landing page of my root site.
I've tried using SharePoint Designer and just copying and pasting out the section but received an error saying the list does not exist.
I'm also unable to get it to work from saving the web part as a file and then uploading into my root site.
Any help is appreciated,
Thanks.
Most web parts are specific to the subsite on which they are displayed. You cannot connect a calendar web part on a parent site out of the box. You'll need to use either a content query web part or build a custom calendar web part. The content query web part will display your items in a list, so if you want a calendar view, you'll either need to heavily format the underlying xsl or go with the custom web part.

Sharepoint 2010: people search is not working

I followed the directions in this *link and the while the "all sites" search is working, the "people" search is not working. Do I need to configure a content source (nothing seems to make sense: sharepoint sites, web sites, file shares, exchange public folders, line of business data, custom repository)? Under the search central admin > service application > View Scopes, the "people" section items column indicate 0 but the "all sites" items column indicate 243.
*link: http://sharepointgeorge.com/2010/configuring-enterprise-search-sharepoint-2010/
Is getting people search really this hard out of the box? I didn't configure the installation, maybe there is a piece missing?
Check your content source. The default content source typically includes all SharePoint sites and people. If you created your search app before your user profile app, then you may not have that in the content source. You should see an address starting with sps3://.
Make sure you have users to crawl in your profile db.
Try doing a full crawl on the source that contains people.
Make sure you user profile service import is running fine, check the MSDN doc: Configure profile synchronization (SharePoint Server 2010) for step to step guidance.

WSS Search - Content inside webparts

How would you go about having WSS search index content that's inside a webpart/pulled from an external source and presented in a SPGridView?
You probably already know this, but if you go to Site Settings -> Search Visibility you will see a section stating:
This site contains fine-grained permissions. Specify the sites ASPX page indexing behavior: ...
If you choose "Always index all ASPX pages on this site" it should index the content in your web part, but only as the crawler sees it, so security trimming would not apply. It is basically a web crawl and not a SharePoint content crawl.
I know you said WSS, but in MOSS you might be able to take this one step further if the above did not work out and use a web site search on your SharePoint site. I have done plenty of web site searches (it does not work perfectly), but have not tried to explicitly do a web site search on a SharePoint site so I'm not certain this will work.
Lars (who co-wrote "Inside the Index and Search Engines: MOSS 2007") is pretty active on StackOverflow so maybe he'll chime in.
Also in MOSS: Have the data you are displaying available as for instance a web service / page in a different site also. In Moss you can add Federated Search locations to be included in the Search results.

Resources