#silverstripe IRC Log

IRC log for 9 March 2013

All timestamps are in UTC.

1: [00:00:00] <ajshort> priithansen: array('title' => '...', 'field' => function() { ... }) I think
2: [00:01:00] <ajshort> priithansen: array('title' => '...', 'callback' => function() { ... }) actuallly
3: [00:01:00] <priithansen> ajshort: Think I tried that but let me check to be sure
4: [00:01:00] <ajshort> terryapodaca: why can't you just save a Maximum and Step value on your Product record?
5: [00:02:00] <priithansen> Ah thanks. I'll try that.
6: [00:02:00] <ajshort> I wonder why I did it like that...
7: [00:03:00] <ajshort> +- buttons probably
8: [00:03:00] <ajshort> "Add x" "Remove x" "Remove all"
9: [00:03:00] <terryapodaca> ajshort: i do, but for the life of me i can't translate that on the front end...I was thinking about a dropdown,
10: [00:04:00] <terryapodaca> hmmm...kind of like the ecommerce cart
11: [00:05:00] <terryapodaca> just make in + - incrememt by the 10 or 100
12: [00:11:00] * willr quit (Quit: willr)
13: [00:17:00] * popeshoe has joined #silverstripe
14: [00:18:00] * socks__ quit (Quit: socks__)
15: [00:20:00] * Gues_____ has joined #silverstripe
16: [00:30:00] * Gues_____ is now known as momc
17: [00:31:00] * Colin[pi] has joined #silverstripe
18: [00:39:00] * terryapodaca has left #silverstripe
19: [00:42:00] * Liquide quit (Ping timeout: 256 seconds)
20: [00:48:00] * joelpittet quit (Remote host closed the connection)
21: [00:50:00] * Liquide has joined #silverstripe
22: [00:55:00] * liam_ has joined #silverstripe
23: [00:55:00] * socks__ has joined #silverstripe
24: [00:55:00] * liam_ is now known as Guest27289
25: [00:55:00] * socks__ quit (Client Quit)
26: [00:56:00] * popeshoe quit (Quit: This computer has gone to sleep)
27: [01:02:00] * howardgrigg has joined #silverstripe
28: [01:18:00] * joelpittet has joined #silverstripe
29: [01:37:00] * momc quit (Quit: Computer has gone to sleep.)
30: [01:42:00] * terryapodaca has joined #silverstripe
31: [01:43:00] <terryapodaca> ok, so I have the max field and the Step field in the Product.php, does anyone know where in the ecommerce module i can set the default amount to this $Step amount
32: [01:43:00] <terryapodaca> so that the Add to cart button adds that amount every time, same as + and - buttons
33: [01:46:00] <terryapodaca> basically increment/decrement by that $Step amount
34: [02:01:00] <terryapodaca> i figured it out...yesssssssssssssssssssssssss
35: [02:01:00] <terryapodaca> never mind
36: [02:07:00] * Guest27289 quit (Quit: Guest27289)
37: [02:16:00] <Colin[pi]> well done
38: [02:28:00] * azureKnight quit (Quit: azureKnight)
39: [02:34:00] * peter_ss1 quit (Quit: Leaving.)
40: [02:35:00] <terryapodaca> i have a boolean in my model, is the a way to check that in the template
41: [02:36:00] <terryapodaca> "if not" in the template
42: [02:36:00] * liam_ has joined #silverstripe
43: [02:36:00] <terryapodaca> something similar to if Value != Value
44: [02:37:00] * liam_ is now known as Guest14
45: [02:48:00] * howardgrigg quit (Read error: Connection reset by peer)
46: [02:50:00] * howardgrigg has joined #silverstripe
47: [03:02:00] * joelpittet quit (Remote host closed the connection)
48: [03:03:00] * terryapodaca quit (Quit: Leaving.)
49: [03:04:00] * DigNZ quit (Client Quit)
50: [03:04:00] * DigNZ has joined #silverstripe
51: [03:10:00] * joelpittet has joined #silverstripe
52: [03:13:00] * Liquide quit (Ping timeout: 276 seconds)
53: [03:18:00] * Liquide has joined #silverstripe
54: [03:19:00] * witch has joined #silverstripe
55: [03:20:00] * witch is now known as Guest81735
56: [03:24:00] * howardgrigg has joined #silverstripe
57: [03:24:00] * howardgrigg quit (Read error: Connection reset by peer)
58: [03:25:00] * Guest81735 quit (Ping timeout: 245 seconds)
59: [03:44:00] * Guest14 quit (Quit: Guest14)
60: [03:49:00] * simon_w quit (Quit: Leaving)
61: [03:53:00] * Liquide quit (Ping timeout: 252 seconds)
62: [03:56:00] * simon_w has joined #silverstripe
63: [03:58:00] * Liquide has joined #silverstripe
64: [04:04:00] * cloph_away1 has joined #silverstripe
65: [04:05:00] * cloph_away quit (Ping timeout: 245 seconds)
66: [04:08:00] * simon_w quit (Read error: Connection reset by peer)
67: [04:09:00] * simon__w has joined #silverstripe
68: [04:12:00] * Liquide quit (Ping timeout: 240 seconds)
69: [04:26:00] * Liquide has joined #silverstripe
70: [04:27:00] * peter_ss has joined #silverstripe
71: [04:41:00] * PigeonFriend quit (Read error: Operation timed out)
72: [04:42:00] * Colin[pi] quit (Ping timeout: 276 seconds)
73: [04:42:00] * PigeonFriend has joined #silverstripe
74: [04:47:00] * simon__w quit (Quit: Leaving)
75: [05:02:00] * ajshort quit (Quit: Leaving)
76: [05:04:00] * simon_w has joined #silverstripe
77: [05:14:00] * joelpittet quit (Remote host closed the connection)
78: [05:33:00] * ajshort has joined #silverstripe
79: [05:35:00] * pippy_ has joined #silverstripe
80: [05:37:00] * pippy quit (Ping timeout: 250 seconds)
81: [05:39:00] * SightUnseen1 has joined #silverstripe
82: [05:39:00] * SightUnseen1 has left #silverstripe
83: [06:49:00] * Liquide quit (Ping timeout: 248 seconds)
84: [06:58:00] * Liquide has joined #silverstripe
85: [07:05:00] * ajshort quit (Ping timeout: 260 seconds)
86: [07:07:00] * ajshort has joined #silverstripe
87: [07:10:00] * SightUnseen1 has left #silverstripe
88: [07:10:00] * SightUnseen1 has joined #silverstripe
89: [07:26:00] * Liquide quit (Ping timeout: 260 seconds)
90: [07:34:00] * SightUnseen has joined #silverstripe
91: [07:35:00] * SightUnseen quit (Client Quit)
92: [07:42:00] * Liquide has joined #silverstripe
93: [07:54:00] * SightUnseen has left #silverstripe
94: [07:54:00] * SightUnseen has joined #silverstripe
95: [07:59:00] * ajshort quit (Quit: Leaving)
96: [08:33:00] * SightUnseen has left #silverstripe
97: [08:33:00] * SightUnseen has joined #silverstripe
98: [08:36:00] * ajshort has joined #silverstripe
99: [08:37:00] * Zauberfisch|idle quit (Ping timeout: 256 seconds)
100: [08:45:00] * Liquide quit (Ping timeout: 255 seconds)
101: [08:46:00] * Liquide has joined #silverstripe
102: [08:54:00] * ajshort quit (Quit: Leaving)
103: [08:55:00] * aaron1245 quit (Quit: aaron1245)
104: [08:57:00] * SightUnseen has joined #silverstripe
105: [08:58:00] * Zauberfisch|idle has joined #silverstripe
106: [09:01:00] * SightUnseen has left #silverstripe
107: [09:02:00] * howardgrigg quit (Remote host closed the connection)
108: [09:03:00] * howardgrigg has joined #silverstripe
109: [09:06:00] * gelignite has joined #silverstripe
110: [09:07:00] * howardgrigg quit (Ping timeout: 245 seconds)
111: [09:09:00] * DesignerX quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
112: [09:15:00] * ajshort has joined #silverstripe
113: [09:22:00] * Liquide quit (Ping timeout: 252 seconds)
114: [09:30:00] * Liquide has joined #silverstripe
115: [10:04:00] * ARNHOE has joined #silverstripe
116: [10:24:00] * Liquide quit (Ping timeout: 245 seconds)
117: [10:28:00] * gelignite quit (Ping timeout: 245 seconds)
118: [10:29:00] * onre quit (Ping timeout: 245 seconds)
119: [10:37:00] * Liquide has joined #silverstripe
120: [10:39:00] * chillu has joined #silverstripe
121: [10:41:00] * gelignite has joined #silverstripe
122: [10:46:00] * travis-ci has left #silverstripe
123: [10:46:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/f021a0ce8698...30c0f82221c4
124: [10:46:00] <travis-ci> [travis-ci] silverstripe/sapphire#1588 (3.0 - 30c0f82 : Ingo Schommer): The build is still failing.
125: [10:46:00] * travis-ci has joined #silverstripe
126: [10:46:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5363547
127: [11:02:00] * howardgrigg has joined #silverstripe
128: [11:07:00] * howardgrigg quit (Ping timeout: 260 seconds)
129: [11:18:00] * onre has joined #silverstripe
130: [11:19:00] * onre is now known as Guest63928
131: [11:28:00] * zfmf has joined #silverstripe
132: [11:42:00] * howardgrigg has joined #silverstripe
133: [11:44:00] * priithansen quit (Quit: priithansen)
134: [11:45:00] * priithansen has joined #silverstripe
135: [11:54:00] * howardgrigg quit (Remote host closed the connection)
136: [12:14:00] * Guest63928 has joined #silverstripe
137: [12:14:00] * Guest63928 quit (Changing host)
138: [12:14:00] * Guest63928 is now known as onre_
139: [12:30:00] * Zauberfisch|idle quit (Ping timeout: 256 seconds)
140: [12:34:00] * ajshort quit (Quit: Leaving)
141: [12:45:00] * Zauberfisch|idle has joined #silverstripe
142: [12:50:00] * Liquide quit (Ping timeout: 260 seconds)
143: [12:56:00] * spronk quit (Ping timeout: 255 seconds)
144: [12:56:00] * Liquide has joined #silverstripe
145: [13:10:00] * Liquide^2 has joined #silverstripe
146: [13:11:00] * Liquide quit (Ping timeout: 256 seconds)
147: [13:53:00] * onre_ is now known as onre
148: [14:38:00] * Liquide^2 quit (Ping timeout: 245 seconds)
149: [14:40:00] * Liquide has joined #silverstripe
150: [15:19:00] * ARNHOE quit (Remote host closed the connection)
151: [15:31:00] <SphereSilver> hola!
152: [15:31:00] * SphereSilver has joined #silverstripe
153: [15:35:00] * peter_ss quit (Quit: Leaving.)
154: [15:39:00] * peter_ss has joined #silverstripe
155: [15:43:00] <SphereSilver> Hmm, how can I check if the user is logged in inside a loop?
156: [15:43:00] <SphereSilver> it seems it's bugging out :(
157: [15:43:00] * Liquide quit (Ping timeout: 250 seconds)
158: [15:58:00] * Liquide has joined #silverstripe
159: [16:03:00] * Zauberfisch|idle quit (Ping timeout: 256 seconds)
160: [16:04:00] * chillu quit (Quit: chillu)
161: [16:05:00] * chillu has joined #silverstripe
162: [16:06:00] * Zauberfisch|idle has joined #silverstripe
163: [16:06:00] * chillu quit (Read error: Connection reset by peer)
164: [16:07:00] * gamerchan has joined #silverstripe
165: [16:07:00] * chillu has joined #silverstripe
166: [16:12:00] * Friksel has joined #silverstripe
167: [16:20:00] * Liquide quit (Ping timeout: 256 seconds)
168: [16:26:00] * Liquide has joined #silverstripe
169: [16:41:00] * Liquide quit (Ping timeout: 276 seconds)
170: [16:43:00] <SphereSilver> any dutchies inhere?
171: [16:43:00] <SphereSilver> in here*
172: [16:43:00] <SphereSilver> stupid space-bar
173: [16:43:00] * priithansen quit (Quit: priithansen)
174: [16:47:00] * gamerchan quit (Quit: Page closed)
175: [16:53:00] <FrozenFire> Or maybe Top.CurrentMember.exists
176: [16:53:00] <SphereSilver> I just went for <% currentMember.ID > 0 %>
177: [16:53:00] <FrozenFire> SphereSilver, Regarding checking the current member, you should be able to do <% if CurrentMember.exists %>
178: [16:54:00] * SphereSilver goes back to editing 20 templates
179: [16:54:00] * Liquide has joined #silverstripe
180: [16:54:00] <SphereSilver> but your solution is better :)
181: [17:18:00] * joelpittet has joined #silverstripe
182: [17:22:00] * Friksel quit (Ping timeout: 245 seconds)
183: [18:05:00] * aaron1245 has joined #silverstripe
184: [18:16:00] * SightUnseen has left #silverstripe
185: [18:16:00] * SightUnseen has joined #silverstripe
186: [18:18:00] * Gue______ has joined #silverstripe
187: [18:25:00] * Gue______ is now known as chxn
188: [18:33:00] * ARNHOE has joined #silverstripe
189: [18:43:00] * joelpittet quit (Remote host closed the connection)
190: [18:48:00] * Friksel has joined #silverstripe
191: [18:55:00] * Zauberfisch|idle quit (Ping timeout: 256 seconds)
192: [18:56:00] * joelpittet has joined #silverstripe
193: [18:59:00] * Zauberfisch|idle has joined #silverstripe
194: [18:59:00] * LoveDuckie has joined #silverstripe
195: [19:12:00] * Marvanni has joined #silverstripe
196: [19:12:00] * Marvanni quit (Read error: Connection reset by peer)
197: [19:12:00] * Colin[pi] has joined #silverstripe
198: [19:21:00] * zfmf has left #silverstripe
199: [19:22:00] * aaron1245 quit (Ping timeout: 240 seconds)
200: [19:38:00] * Friksel quit (Ping timeout: 245 seconds)
201: [19:59:00] * Emil_Blume has joined #silverstripe
202: [20:05:00] * Emil_Blume has left #silverstripe
203: [20:07:00] * Emil_Blume has joined #silverstripe
204: [20:30:00] * Emil_Blume quit (Quit: Leaving.)
205: [20:45:00] * priithansen has joined #silverstripe
206: [20:46:00] <ss23> simon_w: help
207: [20:47:00] <ss23> plz fix
208: [20:47:00] <ss23> simon_w: your @pocket tweet has a link to the aes key stuff and its 404
209: [20:52:00] * aaron1245 has joined #silverstripe
210: [21:05:00] <ss23> to uh
211: [21:05:00] <ss23> The chain of redirects goes from http://t.co/g8ySiT4UtI
212: [21:05:00] <simon_w> ss23, works for me. https://posts.app.net/3685032
213: [21:06:00] <ss23> then to http://getpocket.com/s/6kH
214: [21:06:00] <ss23> and that last one is the 404
215: [21:06:00] * pippy_ is now known as pippy
216: [21:06:00] * spronk has joined #silverstripe
217: [21:06:00] <ss23> http://pocket.co/s6kH
218: [21:07:00] <simon_w> That's what you get for using Twitter
219: [21:08:00] <Colin[pi]> :o
220: [21:08:00] <simon_w> Just use app.net. It works fine there :p
221: [21:09:00] <ss23> IS IT?
222: [21:09:00] <ss23> Thats what you get for posting outside of twitter
223: [21:09:00] <ss23> People who can't even click your links..
224: [21:09:00] <ss23> IS THAT WHAT YOU WANT?
225: [21:09:00] <ss23> I didn't think so.
226: [21:10:00] <ss23> Makes it so mcuh easier
227: [21:10:00] <Colin[pi]> regular php templates?
228: [21:10:00] <ss23> so I'm messing with concrete5. Gotta say, I do like they use PHP for their templating <3
229: [21:11:00] <Colin[pi]> ;)
230: [21:11:00] <ss23> Yeah
231: [21:11:00] <Colin[pi]> eeuw
232: [21:11:00] <ss23> While I get that other people have reasons for using "templating languages" on top of PHP, they're all pretty poor ones IMO
233: [21:11:00] <ss23> mm,
234: [21:11:00] <Colin[pi]> that said php is a template language ;P
235: [21:12:00] <Colin[pi]> i'm a fan of keeping as much logic out of there as possible
236: [21:12:00] <ss23> Normally just based around "oh but it's better cause then you don't write PHP" or something, idek
237: [21:12:00] <Colin[pi]> while SS sometimes frustrates me for this, it is pretty strict at saying "thou shalt not put logic in the template you arsehole"
238: [21:12:00] <ss23> :P
239: [21:12:00] <ss23> Good thing you can do that with PHP
240: [21:13:00] <ss23> lol
241: [21:20:00] <Colin[pi]> hmmm is there a way I can dynamically affect "ShowInMenus" without changing the db field?
242: [21:22:00] <Colin[pi]> i.e. drop a container page out of menus if it does not contain any children
243: [22:12:00] * DigNZ has joined #silverstripe
244: [22:12:00] * DigNZ quit (Client Quit)
245: [22:25:00] * chillu quit (Quit: chillu)
246: [22:26:00] * Liquide quit (Ping timeout: 264 seconds)
247: [22:36:00] * Liquide has joined #silverstripe
248: [23:13:00] * priithansen quit (Quit: priithansen)
249: [23:16:00] * DigNZ quit (Client Quit)
250: [23:16:00] * ARNHOE quit (Remote host closed the connection)
251: [23:16:00] * DigNZ has joined #silverstripe
252: [23:20:00] * Liquide quit (Ping timeout: 276 seconds)
253: [23:26:00] * Liquide has joined #silverstripe
254: [23:36:00] <simon_w> ss23, because Pocket asked me to
255: [23:36:00] * catcher has joined #silverstripe
256: [23:36:00] <ss23> simon_w: IF IT WAS FINE WHY DID YOU REPOST?
257: [23:51:00] <catcher> Is it possible to run a controller action as a sort of background process?
258: [23:54:00] <catcher> I want to be able to start/stop a process from the front-end. exec/sake feels like a bad choice, is there another way?
259: [23:55:00] * SphereSilver quit (Remote host closed the connection)

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