How to open a popup which contain 2 portlet in 2 seperate tab in websphere portal server 6.1? - portal

My requirement is :
There will be a link in a portal page, Upon clicking that link it will open up a popup, which contain 2 portlet in 2 seperate tab within that popup.

which theme are you using on 6.1? We did something similar in this case study
http://www.ibm.com/developerworks/websphere/library/techarticles/0809_barnes/0809_barnes.html

Related

Liferay 6 Gear Icon To Refresh Won't Go Away

Does anyone know how to get rid of the gear icon in Liferay 6? It's only showing up in one place on my site and it just says refresh when you click on it. I'm used to seeing this on the Admin Console to configure the portlet but I've never seen it on the actual site (when you're not in the Admin Console).
This action is active when in liferay-portlet.xml you set <render-weight> to 0 and <ajaxable> true. This is useful when you have ajax content in that portlet.

Use a web content portlet

I am using web content portlet to develop a portal.
Each page has common theme (which includes header and footer) and we have many portlets placed on each page.
One of the portlet on right side is menu which is common on many pages.
I could have kept it as a part of theme but the menu can be subject to change in future and the end user who will be handling the portal is non-developer.
So if they want to change some data in that menu portlet, they will have to change it on every page which leads to duplication of effort.
Like I said, since end user is a non-developer, I cannot make that portlet part of the theme.
So is there any way where one web content portlet be created once and used on many pages?
You can embed web-content in theme as per link
Here articleId as in above link, you can set in theme-setting, refer to link
I have found a solution right now. If anyone has abetter solution than this..they are most welcome. I would like people to share alternate and better solutions
I am using Liferay 6.2
What I did was added a new web content display portlet which like I said created a new blank web content display portlet.
So my usual method was to add content to this portlet. THis was the method I followed. You can click on Select Web Content button and then select the already created portal from the list and you are done. NO need to create duplicate portlets

SP2013 - Adding a Content Editor web part to a custom layout page

In sharepoint 2013, I have 2 custom layout pages:
1 associated with Content Type = Article Page, and
1 associated with Content Type = Welcome Page.
I add a Web Part zone to both layout pages.
I create a web page from either layout page.
When I edit the web page to fill in the Web Part zone, no Web Part zone appears and this appears in its place: $Resources:core,ContentEditorWebPartTitle;
Any clues?
Thanks.
I'm adding the steps of my process hoping that may make things clearer:
access desired site.
went to Design Manager
clicked "Edit Page Layouts"
clicked desired custom page layout
clicked "Snippets"
clicked "Web Parts / Media and Content"
clicked "Content Editor"
clicked "Copy to Clipboard"
then
opened custom page layout (.html) in Sharepoint Designer 2013
copied the clipbboard contents within the "asp:ContentPlaceHolder" tags
saved
then
returned to browser
went back to "Design Manager"
and "Publish a Major Version" of the custom layout page
then
clicked "Add a Page"
goto "Page" tab
click "Page Layout"
select my custom layout page
then scroll to examine my new page (while in "Edit" mode)
result
I see the text "$Resources:core,ContentEditorWebPartTitle;",
but no box for adding content.
Thanks
Im new to Sharepoint myself, but this sounds like your snippet might be wrong. If you can access the snippet manager, how to do this is on MSDN SharePoint 2013 Design Manager snippets.
Then what you want to do is create the snippet using the snippet manager, try the Content Editor inside the Media and Content section, you can then add this to your MasterPage inside the MainContent user control.
You could try adding this snippet to your PageLayout.html instead of MasterPage.html in place of the current web part thats failing, to see if that works.
Remove the web part zones from your layout pages.
Open the layout page in design manager and navigate to snippet manager.
Copy the snippet for web part zone and place them in the layout as desired.
Publish the layout.
Hope this will help to resolve your issue
Your problem is on Step#10 you should put your code inside the following tag:
asp:ContentPlaceHolder ID="PlaceHolderMain" runat="server"

How can a PopUp get the styles from the main page?

I have a PopUp opened by
SP.UI.ModalDialog.showModalDialog
but the content of this Pop Up hasn't any styles of the Sharepoint Portal. (It hasn't access to javascript of the main page, too). It seems that is because SP uses iframes to open it.
How can the Pop Up get the styles from the main page?
SharePoint modal dialogs use the same MasterPage as the Portal. Most of the styles are hidden using CSS tag i.e. s4-notdlg. If you search for this tag under master page, any styles under this will not be displayed on Modal Dialog.
You should either create PopupMaster.master for your popup pages, as modifying this tag will also effect Modal Dialogs used by SharePoint by default. Or you can also create a custom Master Page for Portal and modify as per your need.

How to get Site Icon to properly update in Sharepoint 2010 Web Part Page

I'm working on creating a reusable and extensible web application in SharePoint 2010. I've created a master page to apply across all pages in the site. However, whenever I create a web part page and navigate to it, the site icon does not display. Instead of my custom site icon being displayed it shows the default SharePoint icon. I can get around this by placing the icon directly into the master page, but that would require me to create a new master page if I ever wanted to extend this web application.
Does anyone know why this is happening? My initial thought was that the web part page had somehow been customized to not use the default master page, but that does not seem to be the case: if I update the master page it is reflected in the web part page.
Googling around and checking this site yielded little answers. I only found one post out there that reported the same issue I am observing but there was no solution.
If it helps, I did notice one phenomena when navigating to this page. Before the page completely loads, the correct site icon appears for a split second before being replaced with the default site icon. Hope that helps.
I ran into the same issue this morning and didn't want to create a custom master page just for this, but luckily it was quickly resolved by following admlcrunch's suggestion (on SharePoint 2010):
Go to the desire page
Click on the "Page" tab at the top
Click on the "Title Bar Properties" at the right (in the ribbon)
In the Image Link section on the right, paste in the image URL
Click OK
The only bad thing about this is, you have to update every Web Part page that you want custom icon image to display.
I was just having the same issue. Web Part Pages have their own icon that you can set.
To set the icon click Page > Title Bar Properties. This will open the Web Part Page Title Bar dialog. In this dialog there is an area to set the Image Link. You can set the icon here. I just copied the URL to the site icon.
Open the page in designer and remove the custom titlebar place holder:
[WebPartPages:TitleBarWebPart]
from the :
[asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea"]

Resources