These are chat archives for CORE-POS/IS4C

15th
Aug 2016
Finn
@thefinn93
Aug 15 2016 00:54
So, I've been thinking about ways to extend the customer display
it works exactly as I'd expect the first time I run it for a browser session, but it doesn't find the extensions if i refresh the page without clearing cookies and everything
Andy Theuninck
@gohanman
Aug 15 2016 01:00
The basic structure looks sensible enough. I don't have any good idea why refreshing the page would cause any issue. Clearing cookies should not help at all; in fact, it should break the page entirely and kick it over to a login screen. So that's just baffling.
Finn
@thefinn93
Aug 15 2016 01:03
well yeah it does
but then when i re-login it comes up
but only for the first load
i wasn't really sure what the second parameter in ListModules was, i saw a bunch of things setting it to True so i tried that
Andy Theuninck
@gohanman
Aug 15 2016 01:06
It just dictates whether or not to include the base class in the list it returns (true == include, default false)
Finn
@thefinn93
Aug 15 2016 01:06
ah
well that shouldn't matter cuz the base class doesn't do anything
Andy Theuninck
@gohanman
Aug 15 2016 01:07
That's what I thought looking at it
Finn
@thefinn93
Aug 15 2016 01:09
The initial reason for making this is @danry25 mentioned that he'd like rotating ads displayed on the customer display, and I think he has a number of similar additions in mind, so I figured i might as well make it extensible
Andy Theuninck
@gohanman
Aug 15 2016 01:10
Makes perfect sense to me. Could probably stack some things vertically on the right side, too
Finn
@thefinn93
Aug 15 2016 01:11
mm yeah