#silverstripe IRC Log

IRC log for 30 December 2015

All timestamps are in UTC.

1: [00:53:49] <harry> really is no one home in past 6 hours?
2: [01:51:43] * Stomach has joined #silverstripe
3: [01:57:16] * Stomach quit (Quit: zzz)
4: [02:40:59] * zlinux_ quit (Ping timeout: 245 seconds)
5: [02:50:26] * gelignite quit (Read error: Connection reset by peer)
6: [02:51:09] * gelignite has joined #silverstripe
7: [04:36:56] * Stomach has joined #silverstripe
8: [04:58:02] * zlinux has joined #silverstripe
9: [05:01:16] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
10: [05:29:57] * Stomach quit (Quit: zzz)
11: [06:36:27] * torican has joined #silverstripe
12: [06:54:16] * torican quit (Ping timeout: 252 seconds)
13: [06:54:40] * zlinux quit (Ping timeout: 260 seconds)
14: [07:45:55] * Mike123 has joined #silverstripe
15: [07:49:53] <Mike123> hey guys
16: [07:50:11] <Mike123> who have used unclecheese/event-calendar module ?
17: [07:50:22] <Mike123> have some problem with it
18: [08:07:42] * Error404NotFound has joined #silverstripe
19: [08:10:59] * Error404NotFound quit (Client Quit)
20: [08:11:17] * Error404NotFound has joined #silverstripe
21: [08:18:41] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
22: [08:38:19] * swaiba has joined #silverstripe
23: [08:43:40] * Audlex has joined #silverstripe
24: [09:15:10] * wmk has joined #silverstripe
25: [09:16:42] * Mike123 quit (Ping timeout: 252 seconds)
26: [09:16:43] * elgabbu quit (Ping timeout: 252 seconds)
27: [09:17:49] * harry quit (Ping timeout: 252 seconds)
28: [09:19:33] * wmk quit (Client Quit)
29: [09:27:19] * elgabbu has joined #silverstripe
30: [09:27:26] <elgabbu> need to slightly modify this rule ... RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* framework/main.php?url=%1 [QSA]
31: [09:27:57] <elgabbu> such that what is passed into url ... is stripped from any .html or .php extensions
32: [09:28:01] <elgabbu> any ideas?
33: [09:28:08] * slievr has joined #silverstripe
34: [09:29:54] <swaiba> elgabbu ask stack overflow hehehehe
35: [09:30:19] <swaiba> in all seriousness, you could do something like the static cache does...
36: [09:30:33] <swaiba> where you pass the call to a different php file (not main.php)
37: [09:30:55] <swaiba> this does some parsing... i.e. "if we have the static cache version" and decides what to return
38: [09:31:17] <swaiba> in some cases simply passing the same values to main.php and letting that "do the default silverstipe thing"
39: [09:33:17] <elgabbu> hi swaiba ... yeah already put a question up haha not much feedback so far
40: [09:33:51] <swaiba> I know you're talking to me there...
41: [09:33:59] <elgabbu> i think it should be possible to handle it in .htaccess tho
42: [09:34:31] <swaiba> with all things there are many solutions, I belive that htaccess would be more elegant
43: [09:34:43] <swaiba> but elegance isn't always the most important criteria
44: [09:35:45] * wmk has joined #silverstripe
45: [09:42:18] * Audlex quit ()
46: [10:39:33] * lerni_ has joined #silverstripe
47: [10:47:10] * Eliseth has joined #silverstripe
48: [10:47:33] <Eliseth> Morning
49: [10:47:54] <wmk> hey Eliseth
50: [10:48:09] <Eliseth> Is there a way to have GridFieldFilterHeader allow filtering of related objects as well? It now only allows filtering in static fields
51: [10:48:48] <wmk> Did you try dot notation, e.g. Relation.Field
52: [10:48:54] <Eliseth> Yes
53: [10:49:13] <Eliseth> My Property object for example, it displays Owner.FirstName
54: [10:49:34] <Eliseth> Owner is a linked Member
55: [10:49:40] <Eliseth> It displays fine
56: [10:49:49] <Eliseth> Shows all the names nicely in the table
57: [10:50:00] <Eliseth> But I can't filter it, only sort
58: [11:04:16] <Eliseth> Hmmm, doubt if it's possible...
59: [11:08:16] <wmk> if not it sounds like a bug
60: [11:13:51] * slievr quit (Ping timeout: 252 seconds)
61: [11:21:32] <wmk> https://github.com/wernerkrauss/silverstripe-folderperpage with some more badges
62: [11:38:51] <wmk> oops
63: [12:19:40] * arnhoe has joined #silverstripe
64: [12:21:50] * Werner_2_ has joined #silverstripe
65: [12:22:45] * lerni_ quit (Remote host closed the connection)
66: [12:23:52] * lerni_ has joined #silverstripe
67: [12:25:02] * wmk quit (Ping timeout: 250 seconds)
68: [12:27:05] * Werner_2_ is now known as wmk
69: [13:06:43] * Liquide has joined #silverstripe
70: [13:28:50] * Gfactor has joined #silverstripe
71: [13:28:50] <ss-helper> Gfactor: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
72: [13:37:10] * SH__ has joined #silverstripe
73: [13:37:28] <SH__> Hey guys, does anyone know a service or software that can generate an ER diagram of a SQL database?
74: [13:37:54] <Gfactor> Hi guys, has anyone used the multiform addon? i have a three step form, the first step has a field(called title) that i need in the third step. how do I get it? any idea?
75: [13:43:18] <wmk> SH__, any sql db or a silverstripe DB?
76: [13:43:24] * nontgor quit (Ping timeout: 264 seconds)
77: [13:45:56] <swaiba> SH__ wmk https://github.com/froog/SilverGraph
78: [13:46:13] <wmk> swaiba, that's what i thought about
79: [13:46:29] <wmk> swaiba, ever used onBeforeDuplicate or onAfterDuplicate?
80: [13:46:46] <swaiba> no wmk, I don't recall doing so
81: [13:47:42] <swaiba> Gfactor yes I've used it... isn't this covered by their readme.md?
82: [13:47:43] <swaiba> https://github.com/silverstripe/silverstripe-multiform#4-define-next-step-and-final-step
83: [13:48:02] <swaiba> https://github.com/silverstripe/silverstripe-multiform#getnextstep
84: [13:48:54] <swaiba> SH__ wmk if not a silverstripe one then AFAIK [the horrible] phpmyadmin will have some [horrible] plugin or configuration option for this
85: [13:50:44] * r_hector quit (Remote host closed the connection)
86: [13:51:29] <Gfactor> swaiba I've read the readme...the thing is, on clicking the next button, it saves in the multiformstep database as json in 'data' field
87: [13:52:18] <swaiba> OK, but it is there in the database?
88: [13:52:30] <Gfactor> yes it is
89: [13:52:38] <swaiba> and there is code the gets "step X data and decodes it" in the module?
90: [13:54:16] <Gfactor> yes, in the class that extends the MultiForm class
91: [13:54:52] <swaiba> so... just copy that code into where you need it...
92: [13:55:38] * nontgor has joined #silverstripe
93: [13:56:04] <Gfactor> i dont' get it
94: [13:56:52] <SH__> Sorry forgot to answer IRC. And yeah for a SilverStripe DB
95: [13:57:01] <swaiba> Gfactor i dont' get what you don't get
96: [13:57:42] <SH__> swaiba, SilverGraph looks pretty good, have you tried it?
97: [13:58:17] <swaiba> SH__ indeed I have and I'd wager my DB Model is bigger than yours (oooo-eeeeer-missus)
98: [13:58:47] <SH__> Oh great ill give it a go. And yeah, it probably is
99: [13:58:58] <SH__> Its not like im creating a huge booking system ;)
100: [14:00:06] <swaiba> if you wanted to SH__ then we should talk :)
101: [14:00:57] <Gfactor> let me explain better...before inserting the json data to the intended database table, would it be possible for the user to preview it before submitting?
102: [14:01:47] <swaiba> Gfactor possible yes, easy for me to explain to you right the required changes to the module
103: [14:01:53] <swaiba> maybe not
104: [14:02:02] <SH__> swaibe, Hehe yeah, well maybe someday ill need a booking system for SilverStripe!
105: [14:02:32] <swaiba> Gfactor just focus on getting the prvious steps data in the next step
106: [14:02:42] <swaiba> *current step :)
107: [14:02:59] <swaiba> so you will need to get the step-1 data from teh database
108: [14:03:37] <swaiba> remember nothing is actually done unless you ask it to and the data is just stored in temp storage throught out
109: [14:03:54] <swaiba> so just focus on a simple case of two steps, with one field on the first step
110: [14:04:05] <swaiba> and then on the second pull the data from the DB and show it only
111: [14:04:26] <swaiba> to make things easier still take a clean installation and wipe the database each time
112: [14:04:44] <swaiba> as someone once said to me, "understand how data flows through the DB, you understand the system"
113: [14:05:29] <Gfactor> any clue on how to pull the data from the MultiformStep table to the next step?
114: [14:06:07] <Gfactor> i don't intend to write the data, i just want it displayed
115: [14:09:37] <swaiba> Gfactor nope it's been a long time
116: [14:12:10] <Gfactor> (:
117: [14:17:25] * wmk quit (Ping timeout: 260 seconds)
118: [14:17:50] <SH__> swaib, By the way did you use SilverGraph on a SS 3.1 site? Since the module is compatible with 3.0
119: [14:33:26] * slievr has joined #silverstripe
120: [14:42:05] <SH__> swaiba, have you had an error with SilverGraph, where it says "Shell error: sh: dot: command not found" ?
121: [14:42:56] <swaiba> SH__ yes to ss3.1 and the error sounds familiar
122: [14:43:28] <SH__> Its really annoying, because as far as I can tell, the path to the "dot" exec is correct
123: [14:45:18] <SH__> It only happens if I call SilverGraph/png though. SilverGraph/dot works fine
124: [14:45:43] <swaiba> SH__ what OS are you on?
125: [14:46:02] <swaiba> I've certainly hacked the "execute" function
126: [14:46:06] <SH__> OSX Yosemite , v 10.10.2
127: [14:46:53] <SH__> swaiba, Ill try looking at the SilverGraph code, although I doubt anything's wrong there
128: [14:47:14] <swaiba> SH__ well I've run this on windows...
129: [14:48:05] <swaiba> SH__ - if it helps - this is my execute function - http://www.sspaste.com/paste/show/5683ee92b591d
130: [14:48:08] <SH__> swaiba see there might be a difference there
131: [14:48:20] <SH__> swaiba thanks ILl have a look
132: [14:54:08] <SH__> swaiba for some reason it fails if it tries to use the path from the constant set in ss_environment
133: [14:54:21] <SH__> It works if I manually enter the path to the dot exec
134: [14:55:14] <swaiba> SH__ sounds like what I did :)
135: [14:55:34] <swaiba> might be worth raising an issue with module owner, but I guess I just got it working and stashed it
136: [14:55:49] <SH__> swaiba yeah, thanks for the help! I might create an issue on the module
137: [15:24:19] * arnhoe quit ()
138: [15:24:49] * SH__ quit (Quit: Page closed)
139: [15:56:26] * swaiba quit (Remote host closed the connection)
140: [15:57:06] * slievr quit (Ping timeout: 252 seconds)
141: [16:13:49] <Eliseth> When using an export addon like: silverstripe-excel-export, is it possible to export some value from related object instead of related object ID? Example: instead of it exporting UserID (a useless int) I want it to export User.FirstName (a usefull string)
142: [16:20:15] * Gfactor quit (Ping timeout: 260 seconds)
143: [16:27:08] * lerni_ quit (Remote host closed the connection)
144: [17:43:30] * Eliseth quit (Ping timeout: 245 seconds)
145: [18:15:25] * harry has joined #silverstripe
146: [18:35:02] <harry> anyone able to help with a $Link var in my template?
147: [18:38:05] * lerni has joined #silverstripe
148: [18:57:12] * Stomach has joined #silverstripe
149: [19:03:30] * lerni quit (Remote host closed the connection)
150: [19:12:43] * Stomach quit (Quit: zzz)
151: [19:31:56] * lerni_ has joined #silverstripe
152: [19:38:28] * Stomach has joined #silverstripe
153: [19:46:00] * lerni_ quit (Remote host closed the connection)
154: [19:46:26] * lerni_ has joined #silverstripe
155: [19:51:05] * lerni_ quit (Ping timeout: 260 seconds)
156: [20:48:38] <ss-helper> SilverStripe: SilverStripe Framework requires a $databaseConfig defined - http://stackoverflow.com/questions/34537000/silverstripe-silverstripe-framework-requires-a-databaseconfig-defined
157: [21:05:06] * joelpittet has joined #silverstripe
158: [21:29:20] * lerni has joined #silverstripe
159: [21:48:13] * Stomach quit (Quit: zzz)
160: [21:57:04] * Stomach has joined #silverstripe
161: [21:59:25] * TRB143 quit (Ping timeout: 260 seconds)
162: [22:02:23] * TRB143 has joined #silverstripe
163: [22:07:20] * TRB143 quit (Ping timeout: 272 seconds)
164: [22:08:56] * TRB143 has joined #silverstripe
165: [22:25:22] * Stomach quit (Quit: zzz)
166: [22:57:16] * joelpittet quit (Remote host closed the connection)
167: [23:02:35] * lerni quit ()
168: [23:22:40] * Gfactor has joined #silverstripe
169: [23:28:15] * joelpittet has joined #silverstripe

These logs were automatically created by ss-log on irc.freenode.net.