8 Replies Latest reply on Oct 26, 2007 10:44 AM by peterj

    A simple question about JBoss Portal

    thomas2004ch

      I am new to JBoss Portal. I downloaded the JBoss GA yesterday and leanred some with help of the toturial. I've also created an own portal and runs quite well under "http://localhost:8080/portal/portal/MyPortal/myTest". But I wonder at the top of my portal page one can see the logo from JBoss and the link "Login".

      How can I get rid of these? I just want to start my portal only contains my things.

        • 1. Re: A simple question about JBoss Portal
          thomas2004ch

          some words to supplement:

          what I want is: I want to change the JBoss Header with mines. How?

          • 2. Re: A simple question about JBoss Portal
            peterj

            You never said which version of JBoss Portal you are using (yes, the specific answer is different for each version). I will assume you are using 2.6.

            The portal layout is done using themes, with the Renaissance theme being the default for 2.6. You can find that theme at jboss-portal.sar/portal-core.war/themes/renaissance. The logo is contained in the file images/logo.gif. A quick solution is to replace that file with your own logo. A more practical long-term solution is to make a new theme based on the current theme and then modify the new theme. Of course, then you have to apply that theme to your portal.

            • 3. Re: A simple question about JBoss Portal
              thomas2004ch

              Thanks for the reply. :-)

              A question, the default theme is renaissance. But I see there are other themes under /themes. If I change the default theme from renaissance to other theme, such as maple, how can I do that? I think I have to change the config file. Do you know where can I find it?

              • 4. Re: A simple question about JBoss Portal
                peterj

                Several ways:

                1) In the Management Portlet (accessible after you log in as 'admin') you can change the theme for the portal. Everyone sees the new theme.

                2) Each user can change the theme on the user preferences page. The change applies only to that user.

                3) If you define a portal using *-object.xml, you can specify the theme for that portal. Each portal can have its own theme.

                4) You can change the theme of the default portal by editing the file jboss-portal.sar/conf/data/default-object.xml (you should do this before bringing up the portal for the first time)

                There are probably other ways as well. Most of these are described in the documentation.

                • 5. Re: A simple question about JBoss Portal
                  thomas2004ch

                  I just posted a question under "http://jboss.org/index.html?module=bb&op=viewtopic&t=113247". Maybe you can give me an answer? Better simple example? :-)

                  Many thanks.

                  • 6. Re: A simple question about JBoss Portal
                    peterj

                    I sort of wondered about that post because you already started the conversation here. Besides, that is a general forum so you might not get an answer to a portal-specific question. Finally, it is preferred that you don't ask the same (or a similar) question in multiple forums.

                    And actually, I think that #4 in my previous reply is the answer to the question you asked there.

                    • 7. Re: A simple question about JBoss Portal
                      arunprasathav

                      Hi folks,
                      I have developed sample portlet in jboss portal 2.6.1 and jboss AS 4.0.5.
                      My portlet gets displated on some layout and theme. Thats not the problem now.
                      My doubt is that i get login configuration at the top of portal.

                      I want to get rid of that login and i have to directly communicate from normal page to portal where i want my portal to be there and there should be no login. how to do it..?

                      my one more doubt is how to communicate from normal web page to portal?

                      • 8. Re: A simple question about JBoss Portal
                        peterj

                        arunprasathav, please do not add unrelated questions to the end of someone else's topic. Please start a new topic, and be a little more clear on what it is that you are asking (an example might help).