Liferay /web/guest/home - liferay

Quick question.
For some reason links referencing the home page contain an extra /web/guest/home in them leading to
"page not found error"
For example if I click on my company logo I get:
Not Found The requested resource was not found.
http://localhost:8080/web/guest/web/guest/home
As you can see there is an extra "/web/guest" in there.
How do I fix this problem?
Thanks in advance!

Is is all links or some?
If you're talking about web content, where you set the links yourself, it might be that you've created links to "web/guest/home" instead of "/web/guest/home" - I guess this could lead to links relative to the current page.
Otherwise, if the problem still persists, please provide more details about what links link to /web/guest/web/guest/home.
As this has been open for quite some time: I guess the liferay forums would provide a quicker answer for this kind of question. If you've got the answer there, please post a link here.

Related

Broken hyperlinks in Acumatica help documentation

I have noticed that many of the links in the Acumatica wiki help pages do not link to relevant content.
For example, this link is found in the wiki article on Executing Event Handlers and should be pointing to more information on PX.Data Delegates
https://help.acumatica.com/Main?ScreenId=ShowWiki&pageid=3ce58733-bf9c-d909-ae69-01db28ec45f6
The link above however redirects to here instead.
https://help.acumatica.com/(W(4))/Help
I assume these links should be redirecting to reference pages.
Does anyone know where is can find these reference pages?
Thanks in advance!
Robert
The Main page appears to have been replaced by the Help page.
Instead of following links to Main page:
https://help.acumatica.com/Main?ScreenId=ShowWiki&pageid=3ce58733-bf9c-d909-ae69-01db28ec45f6
Try substituting Main with Help in the URL:
https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=3ce58733-bf9c-d909-ae69-01db28ec45f6

Prestashop : Showing back-office custom tab content in product.tpl in front-office

I went through the following tutorial : http://nemops.com/prestashop-products-new-tabs-fields/ and I found myself unable to add the content of the fields into my front-office product.tpl page.
I assume I have all the tools to get the result I want, but I am getting lost in this code and I am not comfortable with hooks yet. Could someone please give a moment to help me, and tell me how to display a custom .tpl file containing my data at a specific hook/location in the front-office page? I've spent time browsing several tutorials and documentations but I still struggle.
I would really appreciate help, regards.

Adding custom Link to sharepoint 2013 Suite Bar

I have followed following links to add custom link to SharePoint 2013 Suite Bar. But I am not able to see the link on Suite bar. I have also changed the sequence attribute of Delegate control but still no luck. I have checked the sequence attribute by changing values like 10, 20, 30, 50, 90 and even 150. but no success. Do somebody know what the problem can be ?
http://www.learningsharepoint.com/2013/02/10/addremove-links-in-top-suitebar-skydrivesitesnewsfeed-in-sharepoint-2013/
http://www.sharemuch.com/2012/11/04/adding-your-own-links-to-sharepoint-2013-suite-bar/
Please add some code: either Elements.xml or the control's code itself would be helpful. I've used the author of the second link's approach and it worked for me. However the styling did not work, so I just did writer.Write("LINK'") instead.
Also, I suggest posting on sharepoint.stackexchange.com. I feel it's much better since it's a domain specific StackExchange site and I've seen SharePoint MVPs and top bloggers posting there.
i know it might be too late.
in my case the problem was with the user control path
~/_controltemplates/15/<feature_name>/<user_control>.ascx

How to make searchable "text/contents" on wiki page?

I have created a page on Wiki and I want to make the contents of this page searchable via wiki search option.
Wiki mean Wikipedia
i.e. title/heading of page is "ABCDEFG". If someone search "ABCD" in wiki search then this page should appear in search list.
May be its possible through adding tags into wiki page, but I don't know how to add meta tags in wiki. Or someone know some other way?
Thanks in advance.
Everything in the page (both title and content) will be searched, so when your page contains the word it will be found.
You could force the find by creating a redirect from ABCD to ABCDEFG, altough it that is useless when the redirect title is the first part of the actual title - people will find that with the search autocompletion/suggestion.
Note that the indexing of newly created pages can take its time, especially on large wikis like Wikipedia. Your page might not be found instantly after you saved it.
In order to be found this way, the page has to contain ABCD in its title or content. Of course users will find it if they search for ABCD*, but in practice nobody does this.
The following page helps me a lot to solve my issue.
http://www.imagwiki.nibib.nih.gov/mediawiki/index.php?title=Creating_a_New_Wiki_Page

Google docs viewer url parameters

Is there any sort of documentation on exactly what parameters you can put in the url of Google viewer?
Originally, I thought it was just url,embedded,chrome, but I've recently come accross other funny ones like a,pagenumber, and a few others for authentication etc.
Any clues?
One I know is "chrome"
If you've got https://docs.google.com/viewer?........;chrome=true
then you see a fairly heavy UI version of that doc, however with "chrome=false" you get a compact version.
But indeed, I'd like a complete list myself!
I know this question is very old and perhaps you already solved your issue, but for anyone on the internet who might be looking for an answer...
I have been looking for this recently, following a guide I found on GitHub Gist
https://gist.github.com/tzmartin/1cf85dc3d975f94cfddc04bc0dd399be
More specifically, the option to embed a certain page of pdf using
<iframe src="https://docs.google.com/viewer?srcid=[put your file id here]&pid=explorer&efh=false&a=v&chrome=false&embedded=true" width="580px" height="480px"></iframe>
The best I could fing was this article (I suppose from a long time now)
https://weekly-geekly.github.io/articles/111647/index.html
HOWEVER, I tried modifying the attributes and the result was simply a redirect to
https://drive.google.com/file/d/[ID]/edit
https://drive.google.com/file/d/[ID]/preview or
https://drive.google.com/file/d/[ID]/view
AS OF MAY 2020, THIS SOLUTION PROBABLY DOESN'T WORK
I'm also on a quest to discover some of the parameters of the viewer.
the "chrome" parameter doesn't seem to do anything, though. Is this
supposed to be the same as embedded=true?
Parameters I know of:
url= (obviously)
embedded= (obviously)
hl= set language of UI (tooltips)
#:0.page.1 = jump to page 2 (page 1 is numbered 0) - this is unreliable and often requires a refresh after the first load,
defeating the purpose.
That said, when I use the Google Docs viewer on my site, "fit page to
screen" is the default view without any parameters. So maybe I'm
misunderstanding your question.
Source: For convenience, this is a full quote of the sole answer (it is from user k3david) to the crosspost of this question #Doc has posted to the Google support forum in 2011.
You can pass q=whatever to pass a search query to the viewer.

Resources