Hide HTML Portlet

Hi,
I have an HTML Portlet to change password which is visible to public users so that they can reset their password if they forgot it. How can I hide it when they are logged in? The other way around is easy by setting access to authenticated users. how can I make this happen?
Thanks.

No.
The only thing you can do : change the color of link on the portlet header so that it will be the same with portlet header's backgroung color.
Or : uncheck the portlet header checkbox in options for portlet. In this case your portlet will be without header (like most portlets in Oracle site, but you will hide the "customize" link.
Best regards.
Izabella.

Similar Messages

  • How to change the background color only for one HTML-Portlet?

    Hi all,
    I have created a HTML-Portlet in my root-page. The root page have a style: Main-Style.
    I want to change the background-color only for this one HTML-Portlet:
    <html>
    <header><title>Test</title></header>
    <body bgcolor="#999999">
    Test
    </body>
    </html>
    But this does not work...
    When I use the CSS, then it will change the background-color for the root-page too.
    Thans
    Leonid Pavlov

    could you try this
    <table bgcolor="#999999">
    <tr>
    <td>
    test
    </td>
    </tr>
    </table>
    I don't think you need <html><header><title>Test</title></header>
    <body></body></html> for your HTML-Portlet.

  • How do I hide HTML hyperlink code in Blog comments?

    How do I hide HTML code for hyperlinks in blog commments? Here's the background:
    I happily and easily include text hyperlinks all over the place in my website, using iWeb. I can even do this when creating a new entry in my blog. In all cases, the actual HTML code is hidden, and the hyperlinked text is, as usual, in a different color (to indicate that it's a link).
    However, let's say someone leaves a comment to a blog entry, and I want to respond using the Comments box when I'm viewing the blog online, via Safari or IE or Firefox. And let's say I type a word that I want to also use as a hyperlink, that will take someone to another website.
    So far, the only way I've discovered to add hyperlinks in a Comment is to actually type the HTML command right in the Comments text box (then add my name, URL, type in the secret image verification code and click "Add Comment").
    When the new comment, with hyperlink, appears on the blog entry page, the hyperlink is active -- however, the entire HTML code also shows up. For example, here's what appears, on-screen, when I want someone to click "here" to get to my website landing page:
    Click (a href="http://www.davidalanmoore.com")here(/a) to go to my homepage.
    NOTE: I used parens instead of carats in the line, above, in order to show what actually happens in the real world... unfortunately, this forum is so well done that it actually read my carats, created a real hyperlink and hid the HTML -- which is what DOESN'T happen in the blog comments!
    How do I hide everything but the word "here," without losing the hyperlink?
    Thanks in advance!
    iMac Intel Duo Core and iBook G4   Mac OS X (10.4.9)  
    iMac Intel Duo Core and iBook G4   Mac OS X (10.4.9)  

    Yes, the http:// part does make it become a hyperlink, as in the example I noted in my question. That is, the hyperlink works... it's just that all of the HTML code that makes it a link is also visible.
    For example, take a look at the following sentence, that includes a hyperlink -- a hyperlink for which Apple's Discussion Forums automatically reads the HTML correctly, hides the code, and turns the text for the word "here" into a different-colored hyperlink:
    "Click here to go to the comments page where I'm having the problem."
    Now compare that hyperlink to the way a hyperlink actually appears in a "Comment." Click the word "here" in the sentence just above this one. You'll be sent to a blog entry on my website. If you look at the fourth comment on that page you'll see what iWeb does to a hyperlink: it creates link that works, but it also shows all the HTML code (e.g., "(a href="http//..... etc., etc.).
    I'm trying to make that code invisible in the Comments, as it is invisible on these discussion boards. (See two paragraphs above: a link, but no visible HTML code.)
    I'm not sure if I'm making sense... I'm just trying to be thorough so people don't accidentally waste their time answering a question I'm not asking. Bottom line, I don't want the HTML code visible, on-screen, when I create a hyperlink in a blog comment.

  • How to upload images in HTML portlet

    Hi,
    We want to allow users to add their HTML thru HTML portlets - there are two issues
    1.How to upload the images that are part of HTML.
    2.The <a> </a> doesn't work within the portal framework.
    Thanks
    Sachin

    Hi,
    You could also try giving the absolute URL to the image. This assumes you're using OC4J(Oracle Containers for J2EE), our J2EE compliant container. On your os, navigate to the following directory:
    oc4j_home\j2ee\home\default-web-app. Create an images directory so the physical path becomes:
    oc4j_home\j2ee\home\default-web-app\Images. Store your images in this directory. Startup oc4j by going to a command prompt and entering java -jar oc4j.jar at the oc4j_home\j2ee\home.
    In your browser: http://hostname.domain:8888/Images/somegif.jpg. You can use the url in your <img src> tag in HTML.
    Hope that helps. Please repost to this forum if you have further questions/issues.
    Thanks,
    Sudi Narasimhan
    Oracle9iAS Portal Partner Management

  • Link in HTML Portlet not working

    I have a HTML Portlet which has the following code
         Back to Top
    This link works fine in a stand alone html file. On click of 'Back to Top', it takes to top of the document. But if the code is embedded in html portlet, it takes to previous page accessed. I understand that the portlet is not able to understand that it needs to go to top of the object. How to fix this?

    Hi Sakthi,
    When you hower over the Back To Top link, what does it show in the status bar? Is it just prepending #top to your existing browser link? Or is it pointing to the previous page?
    Secondly as Ido mentioned, you could always embed an anchor on your page template and refer to it.
    As far as javascript is concerned, you could try something like document.scrollTo(0,0);
    I am not sure if it works on IE and Firefox the same or not, but you could give it a shot.
    thanks,
    Harsha

  • How to use Custom Search in Dynamic Page or HTML Portlet ?

    Gurus,
    1. I have a tab called My Space in the portal web site, where user gets a personalized view of the content.
    2. I am using custom attributes and custom item types. I have a custom attribute called 'Location', which is a attribute of custom item types.
    3. I have 2 pages - News and Events.
    4. All the content in News and Events page is tagged by the attribute 'Location'.
    5. The requirement is to let the user search the News and Events by Location.
    6. To achieve this I used the Custom Search portlet and the user can select the attribute Location and see the resultant News and Event items by location in the Search portlet.
    7. The requirement is to present the News items and Event items in separate regions on the page and show only the first 5 News and Event items in the result and show a More link which would guide the user to rest of the News and Event items.
    8. Eventually there may be more content other than News and Events tagged by location. If so, the requirement is to create a new region and display the new content.
    9. How would I do this using custom search ? I was thinking if there is anyway I could use the custom search api (where can i find it ?) in the HTML portlet or Dynamic page and submit the result to IFRAMES in each region and show the output ?
    Pls advise.
    Thanx a bunch.

    I would suggest that you use two custom search portlets; one for the news items and one for the events items. Switch the custom search portlets to "AutoQuery" mode and add the relevant criteria. On the results display tab of the the "edit defaults" screen, choose to show just 5 items.
    To add a link to show the user mode results, I'd create two new pages that have just a single custom search portlet on it that is customised to show more of the results and maybe has the pagination links enabled.
    Then I'd add two "Page Link" items underneath the two news and events portlets on the first page in an item region.
    I'm sure there are other ways of doing this as well. Hope that helps to get you started.

  • Html Portlet links displaying in another portlet on the same page

    I have seen similar posts but no detailed explaination of how this is done.
    I have an html portlet with links whose content I would like to display in an inline rendering portlet on the same portal page. How can I pass the link url from the html portlet to the inline rendering portlet?
    Thanks,
    Robyn

    If your environment is fairly static, you can handle this easily.
    The link in your HTML portlet must refer to the page URL of the portal page on which the HTML portlet resides (which changes from portal page to portal page), to which you need to append the parameter that your "inline" portlet (under which I'm not sure what you mean) reads:
    <a href="http://<portal_page_url>&my_param=value">click here</a>Is this close to what you're willing to do?

  • How to hide a portlet in a portal application

    Hi, there,
    I want to implement a scenario that restrict specific group of users to access specific portlets based on the users' role. For example, suppose that some portlets labelled A1, A2, B1, B2 and B3. Group A users can only access A1 and A2; where group B users can only access B1, B2, and B3.
    Since the Weblogic portal workshop only allows creating portal application by manually adding portlets, and each portlet does not have hidden property.
    How can I hide the portlets (B1, B2, and B3) that are not used by group A users; and hide the portlets (A1, and A2) that are not used by group B users.
    Thanks a lot.

    You need to use the streaming mode and setup entitlements. Search the docs for this.
    You cannot do this through workshop, but rather need to use the portal admin tools.
    Kunal

  • How to display current user using HTML portlet

    Hello,
    Is it possible to show any text such as Greeting, Current User (ex, Hello, Kevin) using HTML portlet. Can I use <oracle></oracle> tags to get the current user from the API?
    Please suggest me.
    Thanks,
    Satish

    Thanks for your suggestion. There is also another way for this:
    In a Portal text field (CMS item) you can type
    #USER# to display the username of the authentificated user or
    #USER.FULLNAME# to display the full name.
    Thanks,
    Satish

  • Dynamic List of Values in HTML Portlet

    I need to create a dynamic lov that selects the emp name and id from the emp table. This needs to be placed in a HTML portlet. I tried creating a LOV from the applications in portal but I think it needs to be tied to a form/report. I tried creating manually (code below) but it doesn't seem to grab the info from the cursor.
    Any ideas on how to do this or what is wrong with the code?
    <table width="145" border="0" cellspacing="0" cellpadding="4">
    <tr><td><b><FONT class="PortletText1"> View Child Information:</font></b>
    <table width="135" border="0" cellspacing="0" cellpadding="1">
    <form method="post" action="../utilities/switchschools.asp?ci=yy" name="childInfo">
    <tr>
    <td align="left" valign="bottom"><!-- Width set for sake of nav bar. -->
    <select name="student" style="width:137px" onChange="SubmitChildList()">
    <ORACLE>
    declare
    CURSOR get_emp IS
    select A.ename empname, A.empno id
    from emp
    order by 1;
    begin
    FOR emp_loop in get_emp LOOP
    htp.p('<option value= ' || emp_loop.id || '>';
    htp.p(emp_loop.empname || '</option>';
    END LOOP;
    end;
    </ORACLE>
    </select>
    </td>
    <td align="right" valign="bottom">
    <input type="image" title="Go" name="go" id="go" src="/images/go.gif" width="22" height="16" border="0" alt="Go" onclick="return childCheck();">
    </td>
    </tr>
    </form>
    </table>
    </td></tr>
    </table>

    Hi,
    You could make use of the application build tools avail .You could create a LOV based on the query and then use if while creating a form.You also create dynamic lovs within oracle form.
    or you could create a dynamic page with the lov and write a javascript function which on change of the lov would be redirected to some page.
    Thanks,
    Anu

  • Testing execution of 6i reports from a HTML portlet

    How can I execute an Oracle 6i report from a portal30 HTML portlet. The HTML command looks something like this "C:/reports_6i_runtime.exe userid=user_account/password@connect_string H:/report_6i.rep" I get the message "page cannot be displayed".
    When I create a shortcut on the desktop and call the shortcut with this command "C:\Desktop\report_6i.rep" it will execute. This is not an option.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Leung ([email protected]):
    It looks like you are trying to call a URL on your local machine. If this is the case, you may need to format your URL as:
    file://c|/blah/
    or something to that effect. I believe it needs to be a proper URL if you are calling it from your local filesystem.
    You may get a better response from the Reports forum.
    <HR></BLOCKQUOTE>
    I did try using "file://" in my HTML, with the same results.
    I was able to get the reports runtime to come up when I executed it from the windows run command line, but it did not accept either parameter I passed.
    The command did not run at all from the browser.
    null

  • Frame can't be used in HTML portlet ?

    Hi,
    Is it possible to use frame (using frameset tag) in HTML portlet ?
    Thanks

    Yes, it's possible as following:
    FRAMESET in a Portal template and IFRAME in a portlet or in a template.
    Patrick.
    Edited by: pmonaco on Mar 19, 2010 3:23 PM
    Edited by: pmonaco on Mar 19, 2010 3:24 PM

  • HTML Portlet Error

    The insert html wizard (HTML Portlet)seems to reject code in certain instances even where that html is well formed. The following error is generated:
    (WWC-00000).
    The HTML used is below. Is there a limited on the size of HTML?
    Thanks in advance
    <html>
    <body leftmargin="0" topmargin="0">
    <table border="0" cellpadding="0" cellspacing="0" width="872">
    <tr height="62">
    <td colspan="15"><img src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/cablenet2.jpg" width="872" height="62" alt="" border="0"></td>
    </tr>
    <tr height="23">
    <td width="124" height="23" align="left" valign="top">
    <img width="124" src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/curve01.gif" border="0"></td>
    <td width="3" height="23" align="left" valign="top">
    <img SRC="http://orcldb/pls/cportal/docs/FOLDER/IMGS/but01off.gif" name="hb" BORDER="0" ALT="HomePage"></td>
    <td width="50" height="23" align="left" valign="top"><img height="26" width="50" src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/tophome.gif" border="0"></td>
    <td width="3" height="23" align="left" valign="top">
    <img SRC="http://orcldb/pls/cportal/docs/FOLDER/IMGS/but01off.gif" name="lb" BORDER="0" ALT="Login"></td>
    <td width="50" height="23" align="left" valign="top"><img height="26" width="50" src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/login.gif" border="0"></td>
    <td width="3" height="23" align="left" valign="top">
    <img SRC="http://orcldb/pls/cportal/docs/FOLDER/IMGS/but01off.gif" name="c2" BORDER="0" ALT="Register"></td>
    <td width="62" height="23" align="left" valign="top"><img height="26" width="62" src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/register.gif" border="0"></td>
    <td width="3" height="23" align="left" valign="top">
    <img SRC="http://orcldb/pls/cportal/docs/FOLDER/IMGS/but01off.gif" name="d" BORDER="0" ALT="FAQ"></td>
    <td width="42" height="23" align="left" valign="top"><img height="26" width="42" src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/faqtop.gif" border=0></td>
    <td width="3" height="23" align="left" valign="top">
    <img SRC="http://orcldb/pls/cportal/docs/FOLDER/IMGS/but01off.gif" name="thb" BORDER="0" ALT="Help"></td>
    <td width="42" height="23" align="left" valign="top"><img height="26" width="42" src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/helptop.gif" border=0></td>
    <td width="3" height="23" align="left" valign="top">
    <img SRC="http://orcldb/pls/cportal/docs/FOLDER/IMGS/but01off.gif" name="e" BORDER="0" ALT="Contact Us"></td>
    <td width="64" height="23" align="left" valign="top"><img height="26" width="64" src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/contactus.gif" border="0"></td>
    <td width="139" height="23" align="left" valign="top">
    <img height="26" width="139" src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/bar02.gif"></td>
    <td width="227"><img src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/end.gif" border="0"></td>
    </tr>
    </table>
    </body>
    </html>
    null

    What you need to do is to remove your head and body tags from the HTML that you inserted into the HTML portlet.
    The HTML portlet is designed to take HTML that is within the <BODY> of a page, and not the entire HTML page source that you have. Keep in mind that a portal page is basically comprised of a set of nested HTML tables, so any HTML that you insert into a HTML portlet is basically HTML code that is being inserted into a HTML table cell.
    Best Regards,
    Harry
    Thanks,
    Harry

  • Display header of HTML Portlet

    OS: Windows 2000 5.00.2195 SP1
    Portal: 3.0.9
    I create a new page, and add a HTML portlet to it. Then I edit the page (via 'edit page') and choose not to display the HTML portlet header. This works perfectly.
    But how can I show the header again? There is no customize link available anymore, and via 'customize' of the page I see that the header is already displayed.
    Can anyone please help me with this? Thanks in advance!
    Joey
    null

    The best way to do this is to simply use the "Edit Defaults" link for your given HTML Portlet (this is displayed when you edit or customize the portal page in question.) In the "Edit Defaults" customization screen for the HTML portlet you can either enable or disable the display of the portlet header for your HTML portlet.
    You'll always be able to access the "Edit Defaults" link for your HTML portlet from the edit or customize screens for the portal page.
    Best Regards,
    Harry

  • HTML Portlet - customize

    Hi,
    I am using the HTML Portlet in a page to display some company specific announcements to a user who is logged into the system. Right now all the users get a "Customize" link on top right corner of the portlet, which would allow them to post the announcements. Is it possible to disable(or make invisible) this link to some users and enable/show it to some others, thus ensuring that only few users are able to post the announcements ?
    Thanks in advance,
    Karthik

    Hi,
    You cannot grant any specific privileges on a html portlet to a user. The only way you can suppress the customize link is to not display the portlet header. But this cannot be done for specific users. It would not show up for all the users.
    Thanks,
    Sharmila

Maybe you are looking for