within a project I encountered a problem with the Liferay inheritance/propagation. I added 3 pages to the "User private pages" Site template (as child pages of an already existing page, if that matters). I expected, that all users would have these pages available. But in fact, they have not. When opening one of the new pages, it says page not found. I can solve this by manually going to the private pages root page of that user, which seems to activate the propagation which leads to a generation of the new pages.
I wasn't able to find something related on the web. Is this a known bug? Am I just unable to find the correct settings?
Please help.
Regards
LifeRay BugTracker, STATUS: Under Development, AGE: 11 weeks, 1 day
I recommend using the GIT to set LifeRay Portal to commit ID f5ce41ae4424e47230e7222294559f94656acd22.
This feature is reported to work under that commit ID. I am performing a GIT bisection to replicate this issue on my system, and attempt to fix it by applying the patch I will find at the commit ID captioned above.
Related
I am trying to set up my personal page on Github.
However, my page is only published at: https://xuxy09.github.io/xuxy09/, while the desired address is https://xuxy09.github.io.
Could you please let me know how to fix this?
Issue addressed. The repository name should be "xuxy09.github.io" instead of "xuxy09".
That is described in "Types of GitHub Pages sites"
To publish a user site, you must create a repository owned by your user account that's named <username>.github.io.
Unless you're using a custom domain, project sites are available at http(s)://<username>.github.io/<repository>
In your case, a repo named xuxy09 is a Project site.
While xuxy09.github.io would be, indeed, a User site.
I am making edits to a client's Sharepoint site.
I checked out the page, made all the changes required, checked it back in, and am waiting on their go-ahead to publish.
I want to double-check that certain elements are the same as they were before I started editing. Generally I would go to site contents > pages > version history of the page I am working on, and look at the currently published version (because, as an editor, it seems to only show me the unpublished draft when I am on the page URL).
Tried to do that today and am getting an error: Sorry, something went wrong
Exception from HRESULT: 0x80131904.... Insightful and intuitive Microsoft error - well done guys (NOT).
Is there any other way that is more straightforward to just view what is currently published?
The quickest way to do this is to either log on as a test account that has only got read only permissions, or to ask one of your colleagues that doesn't have edit permissions to browse to the page and you can see what they see.
Version history, while is helpful when you need to roll back, won't show changes to web parts or other hidden elements when viewing it, so it's not always that helpful when using it for a case like yours.
As a side note, to log in as another user in SP2013, append this to your URL: http://yoursite/_layouts/15/closeconnection.aspx?loginasanotheruser=true
I have the below site structure. When you access the site MyWebsite.com by default the page being loaded is Home item under Korea (MyWebsite/Korea/Home).
What I need to do is:
When the site is being access in china the default homepage should be the one under china (MyWebsite/china/Home). Same thing with Japan, when the site is access or browse in japan the default homepage should be the one in Japan(MyWebsite/Japan/Home). Other than this, the default homepage should be the one under in Korea.
How to do this? And what is the best of doing this in Sitecore.
I am experimenting about Geolocation HTML5 API to determine the location. Then redirects to the appropriate page once I know the location. But I am hesitant becuase I am thinking that there maybe a better way of doing this in Sitecore.
Your advice and help is greatly appreciated.
Thanks,
Your options appear to be:
Use a geoIP lookup service in a pipeline to redirect the user based on their location - Maxmind provides a free implementation that will give you the country.
You can change your approach slightly - using geoip to persoanlise the homepage using Sitecore's personalisation engine. This way you have 1 home page, but present different components to a user depending on their location. this is ideal if the content varies but the overall site structure is the same for each site.
If the sites are fundamentally different then you can set them up as separate sites in Sitecore and bind them to different host names i.e mysite.jp, mysite.cn etc. With your current set up you may experience problems with cross links - i.e visitors on the chinese site being able to access korean pages.
The final option (which i believe is now available in sitecore 8) is to have 1 homepage and vary the presentation by language. This was not previously possible as the layout field was shared.
To expand on this option - Sitecore 8 has changed the way that the page layout is created. Previously the __Renderings field was shared across all language versions. This is still the case however there is now the addition of a _FinalRenderings field. If you open an item and look at the presentation > details view from the ribbon you will see two tabs - shared layout and final layout. It is this final layout that can be varied across language versions. If you open the page in page editor then it is this final layout that you are editing. See the following blogs for a more detailed explanation:
http://www.seanholmesby.com/presentation-details-changes-in-sitecore-8-how-renderings-are-stored/
http://roundedcube.com/Blog/2015/exploring-sitecore-8-versioned-layouts
To implement this, open your base homepage - Korean i think in your example and create a new language version in say Japanese (here is a link to a useful tool from the Sitecore marketplace to instantly copy all the content from the Korean version - not sure if it works on 8 though https://www.cognifide.com/blogs/sitecore/quickly-create-new-language-versions-on-your-sitecore-cms/ )
Once you have your Japanese version open the presentation details and start editing the layout. If you now publish and view the Korean page you should see a different layout to the Korean version.
Once you have done this, you will solve your problem by using Sitecore language settings to control your content - if the user changes language, or if you go to www.mysite.com/jp-jp then you should see the Japanese version of the homepage
As #Moorag suggests, a Geo IP service (or local database) is a common way to achieve location based redirection. There are already modules in the Sitecore marketplace to help with this. Here's a good one:
Geiolite Lookup Provider
.. and here are some good posts on the subject:
Sitecore GeoIP Country Resolving - Jump to Lightspeed
Sitecore GeoIP: Helping The First Visit
If you're concerned about the overhead that doing a lookup entails, then a lighter weight option is to try to initially determine the country/language using the user's browser settings which are included as part of the request. This post has the code to achieve it:
Get language and country from a browser in ASP.NET
It's less accurate, but can be a good "first pass" option before going to the Geo IP lookup if it fails.
I delete the defualt home node and create another node called Home Page. And when I type http://[instance name] sitecore gives me an error shows that no layout found. ![enter image description here][1]
I can us the page editor and page content normally. But when i type the http://[instance name]in the browser, it doesn't show the default page. Why?
I am just a fresh in Sitecore, please be more specific.
Error:The layout for the requested document
was not found.
Most likely causes:
The resource you are looking for (or one of its dependencies) may have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
What you can try:
Go back to the previous page
Go to the start page
More information
I usually hit this issue when I have a fresh install and haven't done a publish yet. Publishing gets the master and web in sync, and given that your Page Editor experience is fine it seems like your Master is in good state but Web is not.
It could be that your new Home node doesn't have a layout attached to it. If you log on to Sitecore's Content Editor and go to the Presentation tab -> Details, do you see anything assigned to the Default device?
If you do, it might be because you still need to publish your changes. If you don't, try attaching the layouts (there's some sample layouts as well that come with Sitecore to check if that's the issue).
Do the checks that Trayek suggests, but also check if your site definition and hostname are set correctly in the /app_config/include/sites.config (or directly in the web.config, however this it not the recommended way) to make sure you have attached the correct instancename to your site root.
Furthermore, switch in the Sitecore client to the web database and check the assigned presentation on your home item, it might be a publishing issue.
Is it possible that you have the wrong "startItem" parameter in your site configuration? You have to set it to the correct item that should be visible wenn entered without an url (/)
I suppose you should check the Web.Config configuration tag.
Please check, in there, there are startitem attibutes for various sites in there. change them to your startItem and try it out.
Hope this helps!
Do let us know -- whether it works or not.
Regards,
Varun Shringarpure
I've seen a similar question asked a few times, but usually it is from people trying to find out which Page is currently accessing their Tab app. (Which you can do by inspecting the signed_request.)
I'm trying to build a UI that will show the user all the Pages that he/she is an Admin of, and then display which of those Pages have my Tab app already installed. I'd like to make a FB graph API call to either a) get the list of Pages that have my Tab app installed or b) get a yes/no answer for whether a particular Page has it installed. Is this possible?
As a fallback, I will make a table in my database to track Page IDs whenever a Page views my Tab (using the aforementioned signed_request) but this won't be as good, because it won't know when someone has uninstalled the Tab from a Page.
To be complete (for future readers): this does not require manage_pages. You can also use the FB app's token. Also see: Check if page tab app is still installed
In the general case, 'no', without keeping track on your side via the signed_request but if you're already obtaining manage_pages access from the user it's pretty trivial to check if a particular app (i.e, yours) is installed on the page
See the page documentation for details, relevant part:
You can test if a specific app is installed on a page profile tab by issuing an
HTTP GET to PAGE_ID/tabs/APP_ID. If the app is installed, this will return the
following fields:
(you'll need the page access token from the user's /accounts connection for that call