Versions Compared

Key

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

[07:16:35 EDT(-0400)] * jessm (~Jess@c-71-232-3-151.hsd1.ma.comcast.net) has joined ##uportal
[08:37:00 EDT(-0400)] * lfuller (~sparhk@ip68-98-56-21.ph.ph.cox.net) has joined ##uportal
[09:45:17 EDT(-0400)] * colinclark (~colin@bas2-toronto09-2925337536.dsl.bell.ca) has joined ##uportal
[09:53:19 EDT(-0400)] * EricDalquist (~dalquist@2607:f388:e:0:221:9bff:fe37:e768) has joined ##uportal
[09:53:54 EDT(-0400)] * michelled (~michelled@142.150.154.141) has joined ##uportal
[09:58:32 EDT(-0400)] * michelled_ (~michelled@142.150.154.101) has joined ##uportal
[10:50:37 EDT(-0400)] * michelled (~michelled@142.150.154.141) has joined ##uportal
[10:53:44 EDT(-0400)] * athena (~athena@c-76-121-97-221.hsd1.wa.comcast.net) has joined ##uportal
[10:55:10 EDT(-0400)] <athena> morning EricDalquist
[10:55:16 EDT(-0400)] <EricDalquist> good morning athena
[10:55:22 EDT(-0400)] <athena> would you expect the ajax portlet stuff to work in config mode?
[10:55:32 EDT(-0400)] <EricDalquist> nope
[10:55:36 EDT(-0400)] <athena> ah ok (smile)
[10:55:41 EDT(-0400)] <athena> i suspected that might be the case
[10:55:50 EDT(-0400)] <EricDalquist> I spent a few days digging into it
[10:55:50 EDT(-0400)] <athena> something to think about
[10:55:53 EDT(-0400)] <athena> and sad (smile)
[10:55:56 EDT(-0400)] <athena> gotcha
[10:55:57 EDT(-0400)] <EricDalquist> there isn't a way to implement it in 168
[10:56:03 EDT(-0400)] <athena> well, we can at least document that for now
[10:56:09 EDT(-0400)] <athena> 286 work?
[10:56:58 EDT(-0400)] <EricDalquist> yeah
[10:57:00 EDT(-0400)] <EricDalquist> using resource urls
[10:57:04 EDT(-0400)] <EricDalquist> it should work in 286
[10:57:12 EDT(-0400)] <EricDalquist> the problem isn't config mode itself
[10:57:19 EDT(-0400)] <EricDalquist> it is config mode nested in a webflow portlet
[10:57:58 EDT(-0400)] <athena> yeah, i suspected that might be the case
[10:58:00 EDT(-0400)] <EricDalquist> since webflow doesn't like it if you do an action that results in a redirect and continue with the flow
[10:58:05 EDT(-0400)] <athena> yeah
[10:58:11 EDT(-0400)] <athena> and then you get all the can't set a parameter errors
[10:58:13 EDT(-0400)] <athena> oh well (smile)
[10:58:24 EDT(-0400)] <athena> i've decided my use case can just use regular ajax
[10:58:24 EDT(-0400)] <EricDalquist> yup
[10:58:55 EDT(-0400)] <athena> so it's so wet here today that the raw sugar at the coffeeshop solidified into a rock (tongue)
[10:59:41 EDT(-0400)] * holdorph (~holdorph@wsip-72-215-204-133.ph.ph.cox.net) has joined ##uportal
[11:24:59 EDT(-0400)] <EricDalquist> lol
[11:25:05 EDT(-0400)] <EricDalquist> welcome to the PNW
[11:25:27 EDT(-0400)] <athena> yep (tongue)
[11:25:31 EDT(-0400)] <athena> just kind of funny
[11:25:48 EDT(-0400)] <athena> i mean it's rained every day, but "rain" here often just means sprinkles
[11:26:24 EDT(-0400)] <athena> YAY i finally got this working how i want
[11:26:35 EDT(-0400)] <athena> so i've set up the CMS portlet to do an AJAX call when you finish editing
[11:26:48 EDT(-0400)] <athena> so that you can get a more realistic preview of what your content will actually look like
[11:26:49 EDT(-0400)] <EricDalquist> nice
[11:27:04 EDT(-0400)] <EricDalquist> another thing we used to have here that folks want back is PREVIEW
[11:27:05 EDT(-0400)] <athena> so that way if you add an iframe and your security rules don't allow them you'll know right away (smile)
[11:27:23 EDT(-0400)] <EricDalquist> like CONFIG it would only be used during publishing
[11:27:31 EDT(-0400)] <EricDalquist> but lets a portlet render a preview of what it will look like
[11:27:35 EDT(-0400)] <athena> yeah so right now you go to config mode and click on the rich text stuff
[11:27:40 EDT(-0400)] <athena> and you see a preview of the content in a box
[11:27:47 EDT(-0400)] <EricDalquist> oi ... just had fun tracking down an issue that turned out to be regex
[11:27:50 EDT(-0400)] <athena> to edit it, you just click on it and that transitions to the CK editor
[11:27:57 EDT(-0400)] <EricDalquist> ncie
[11:28:14 EDT(-0400)] <athena> when you're done, you click preview and it shows the preview window again - now with the content appropriately stripped down according to the security rules
[11:28:20 EDT(-0400)] <athena> and then when you're happy w/ it you just hit save
[11:28:25 EDT(-0400)] <athena> what was the issue?
[11:28:35 EDT(-0400)] <athena> the only thing that doesn't work right now is adding javascript to the content
[11:29:28 EDT(-0400)] <EricDalquist> so the JS builds a list that looks like: u12l1n11=true,u12l1n9=false,u12l1n10=true,u12l1n8=true
[11:29:39 EDT(-0400)] <EricDalquist> it uses a regex to make sure it doesn't add nodes more than once
[11:29:47 EDT(-0400)] <EricDalquist> but the regex was just "nodeId"
[11:30:00 EDT(-0400)] <EricDalquist> so we ran into a case where one portlet on a tab couldn't be hidden
[11:30:07 EDT(-0400)] <EricDalquist> turns out it was u12l1n1
[11:30:15 EDT(-0400)] <EricDalquist> which matched u12l1n10
[11:30:59 EDT(-0400)] <athena> oh (smile)