Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[12:46:22 CST(-0600)] <EricDalquist> just curious what happens

[12:48:03 CST(-0600)] <drewwills> Hey folks... what do people think about having the Directory portlet (framework portlet) request to become maximized when a user submits a search? Does it sound like a logical behavior? Or the opposite?

[12:48:19 CST(-0600)] <EricDalquist> seems reasonable

[12:48:45 CST(-0600)] <drewwills> it does to me too... I'm here at Manhattan where they have it in a 3-column layout

[12:49:01 CST(-0600)] <dearbin> How to enable local login in uPortal 3.2?

[12:49:11 CST(-0600)] <drewwills> and here a search often results in a horizontal scrollbar

[12:51:15 CST(-0600)] <jwennmacher> As a general rule to me it makes sense that any portlet that will likely display too wide for its view get maximized when the user chooses to interact with it and request information.

[12:51:46 CST(-0600)] <jwennmacher> FWIW (smile)

[12:53:04 CST(-0600)] <drewwills> yeah i think that's cool too

[12:58:27 CST(-0600)] <jwennmacher> dearbin: Can you clarify? Have you looked at https://wiki.jasig.org/display/UPM32/Add+Local+User+Accounts?

[12:59:36 CST(-0600)] <dearbin> jwennmacher: I have configured in security.properities file to use local login

[12:59:57 CST(-0600)] <dearbin> But I didnt see any login form in the uPortal home page

[13:00:36 CST(-0600)] <jwennmacher> Did you follow the steps similar to this page in the UP 4.0 manual? https://wiki.jasig.org/display/UPM40/Internal+Accounts.

[13:01:27 CST(-0600)] <dearbin> I use uPortal 3.2

[13:04:11 CST(-0600)] <jwennmacher> i'm a newbiee (smile) and not very familiar with 3.2. I think the steps should be pretty similar. You will need to deploy your code changes and import the config changes.

[13:05:24 CST(-0600)] <dearbin> thanks, but I didnt see the files and folder given in that documentation

[13:05:50 CST(-0600)] <drewwills> in uP3 some of the files are in a dir called uportal-impl

[13:05:52 CST(-0600)] <jwennmacher> OK. Others more knowledgeable than I will need to comment

[13:06:09 CST(-0600)] <drewwills> for uP4, uportal-impl and uportal-war were combined

[13:06:42 CST(-0600)] <jwennmacher> EricDalquist: When I shut down uPortal and ran ant initdb I did not get any error messages. It appears to be tied to having two instances running on the same machine.

[13:06:51 CST(-0600)] <EricDalquist> well

[13:06:55 CST(-0600)] <EricDalquist> that should work

[13:07:19 CST(-0600)] <EricDalquist> the two should create a jgroups group

[13:07:25 CST(-0600)] <EricDalquist> and cache invalidation should happen

[13:07:40 CST(-0600)] <EricDalquist> not sure why you're getting that error

[13:07:54 CST(-0600)] <dearbin> drewwills : Where I can see the layout file in UP3? Its not in uPortal-impl

[13:08:36 CST(-0600)] <drewwills> something like uportal-impl/src/main/resources/properties/db/entities

[13:19:11 CST(-0600)] <dearbin> I did as per the instructions there but its not working

[13:20:49 CST(-0600)] <drewwills> you changed a fragment-layout file to include the login portlet?

[13:21:05 CST(-0600)] <drewwills> and it was the guest.fragment-layout/

[13:21:09 CST(-0600)] <drewwills> ?

[13:21:49 CST(-0600)] <dearbin> yes I changed logging-in to login and ran ant deploy-war

[13:22:26 CST(-0600)] <dearbin> http://i45.tinypic.com/op7muw.png

[13:22:46 CST(-0600)] <dearbin> you can grab the look of screenshot of the change here

[13:22:54 CST(-0600)] <dearbin> Please help me out

[13:23:13 CST(-0600)] <drewwills> sure... you have to import the fragment-layout file after editing it

[13:23:42 CST(-0600)] <drewwills> the is this a local or dev deploy?

[13:24:09 CST(-0600)] <drewwills> the easiest way to import it is with $ant initdb (but that will reset the db)

[13:29:53 CST(-0600)] <dearbin> dev deploy

[13:36:58 CST(-0600)] <dearbin> again I didnt see the login portlet

[13:38:47 CST(-0600)] <drewwills> how did you import it? did you do the $ant initdb? or another method?

[13:41:00 CST(-0600)] <dearbin> just ran ant initdb

[13:41:08 CST(-0600)] <dearbin> and restarted the tomcat

[13:42:43 CST(-0600)] <drewwills> that should make the login portlet appear, afaik

[13:42:59 CST(-0600)] <drewwills> is the "logging-in" portlet still there?

[13:43:54 CST(-0600)] <dearbin> no it gone

[13:48:21 CST(-0600)] <drewwills> hmm... 1 sec

[13:48:50 CST(-0600)] <dearbin> sure

[13:50:53 CST(-0600)] <drewwills> did you get an error on the initdb?

[13:51:54 CST(-0600)] <dearbin> no

[13:52:01 CST(-0600)] <drewwills> i'm looking at the channel publication record... looks like the fname (unique name) for the login may be 'portal_login_general' – https://github.com/Jasig/uPortal/blob/rel-3-2-patches/uportal-impl/src/main/resources/properties/db/entities/channel/portal.login.general.channel

[13:52:36 CST(-0600)] <drewwills> you might have to put that instead of 'login' in the fragment-layout file

[13:52:51 CST(-0600)] <dearbin> Ok thanks I will try now

[14:03:54 CST(-0600)] <dearbin> I got it, its working perfectly thanks drewwills

[14:04:22 CST(-0600)] <drewwills> awesom (smile)

[14:04:31 CST(-0600)] <drewwills> +e

[14:10:35 CST(-0600)] <dearbin> Can you please ask the person maintaining the documentation to update it?