#silverstripe IRC Log

IRC log for 19 April 2014

All timestamps are in UTC.

1: [00:02:00] <jenniferaslan> Quick question about requiring a print style sheet in the PHP file.
2: [00:02:26] <jenniferaslan> I have four themes in my site and we are using subsites. Each subsite has a different theme.
3: [00:03:33] <jenniferaslan> There are things that all subsites have in common that are set up in the /site folder, but then their individual themes complete them and define where they are different (color schemes are different, design is the same).
4: [00:04:08] <jenniferaslan> I want to make an overarching print style sheet for them in /site/css and then include their own theme print style sheet as well.
5: [00:04:37] <jenniferaslan> I think have to do that in the php file with Requirements::insertHeadTags like this: http://pastebin.com/ewBTzp3j
6: [00:05:12] <jenniferaslan> But I want to make each subsite look inside its own theme directory for its individual print style sheet.
7: [00:05:45] <jenniferaslan> Can I just put $ThemeDir in there?
8: [00:08:21] <jenniferaslan> Well, I'm going to try that and see if it works.
9: [00:12:19] <jenniferaslan> So, related question, if I use the insertHeadTags to put in my print style sheet with its media specified as print, how do I specify all the screen style sheets as only for the screen?
10: [00:15:32] <jenniferaslan> Never mind. Found it here: http://doc.silverstripe.org/framework/en/reference/requirements
11: [00:42:00] * jenniferaslan quit (Remote host closed the connection)
12: [01:14:09] * LoveDuckie_ quit (Read error: Connection reset by peer)
13: [01:17:39] * kerosene quit (Ping timeout: 240 seconds)
14: [01:23:25] * DesignerX has joined #silverstripe
15: [01:30:14] * UncleCheese quit (Quit: UncleCheese)
16: [01:49:37] * danfo quit (Quit: danfo)
17: [01:53:55] * micmania1 has joined #silverstripe
18: [01:58:12] * micmania1 quit (Ping timeout: 258 seconds)
19: [02:44:58] * DesignerX quit (Quit: Konversation terminated!)
20: [03:41:42] * gelignite quit (Ping timeout: 258 seconds)
21: [03:44:09] * Azure quit (Quit: My MBP went to sleep.)
22: [03:45:55] * Azure has joined #silverstripe
23: [04:01:33] * CodeTrap quit (Ping timeout: 265 seconds)
24: [04:02:05] * CodeTrap has joined #silverstripe
25: [05:00:52] * joelpittet has joined #silverstripe
26: [08:25:43] * joelpittet quit (Remote host closed the connection)
27: [08:38:55] * VRoxane has joined #silverstripe
28: [08:39:27] <VRoxane> Good mornin' SStripers !
29: [08:52:55] <VRoxane> @simon_w I thought $fields was transmitted from fct RechercheNeuf to fct SearchNeuf. How do I redefine it then ?
30: [08:57:00] * UncleCheese has joined #silverstripe
31: [08:57:59] <VRoxane> Nice to see you Uncle Cheese :)
32: [09:22:14] <simon_w|air> VRoxane, what?
33: [09:24:02] <VRoxane> You answered my sspaste problem, right ? Or is it another Simon ?
34: [09:24:13] <simon_w|air> Wasn't me
35: [09:24:27] <VRoxane> Oooh sorry then !
36: [09:26:16] <VRoxane> Here's my search engine problem, if any developper wants to take time and explain what's wrong to me :) http://www.sspaste.com/paste/show/53519702223f2
37: [09:58:10] <marvanni> because defining variables before you use them is best practice, silverstripe shows every notice in dev mode. in your Searchmethods $fields does not exist
38: [09:58:15] <marvanni> but $form does
39: [09:58:25] <marvanni> so you can use $form->getFields();
40: [09:58:43] <marvanni> or $form->Fields(); not sure which one...
41: [09:59:18] <VRoxane> Thank you I'm trying this right now
42: [10:05:49] <VRoxane> $fields = $form->Fields(); works in my case. Thank you very much !
43: [10:07:29] * gelignite has joined #silverstripe
44: [10:10:00] * andylockran quit (Remote host closed the connection)
45: [10:12:40] * danfo has joined #silverstripe
46: [10:14:38] * joelpittet has joined #silverstripe
47: [10:15:34] * babak has joined #silverstripe
48: [10:18:53] * joelpittet quit (Ping timeout: 252 seconds)
49: [10:40:41] * danfo quit (Quit: danfo)
50: [11:01:41] * danfo has joined #silverstripe
51: [11:06:25] * danfo quit (Client Quit)
52: [11:38:43] * zfmf has joined #silverstripe
53: [11:38:45] * zfmf has left #silverstripe
54: [12:03:28] * joelpittet has joined #silverstripe
55: [12:06:26] * Marvanni2 has joined #silverstripe
56: [12:08:13] * joelpittet quit (Ping timeout: 245 seconds)
57: [12:13:19] * babak_ has joined #silverstripe
58: [12:14:51] * babak quit (*.net *.split)
59: [12:14:51] * marvanni quit (*.net *.split)
60: [12:14:54] * babak_ is now known as babak
61: [12:27:41] * cloph_away has joined #silverstripe
62: [12:33:05] * cloph_away quit (Ping timeout: 252 seconds)
63: [12:37:37] * cloph_away has joined #silverstripe
64: [12:44:03] * cloph_away quit (Ping timeout: 276 seconds)
65: [12:46:39] * cloph_away has joined #silverstripe
66: [12:54:00] * UncleCheese quit (Quit: UncleCheese)
67: [13:26:12] * Sj0hn has joined #silverstripe
68: [13:52:24] * joelpittet has joined #silverstripe
69: [13:57:02] * joelpittet quit (Ping timeout: 245 seconds)
70: [14:52:58] * cloph has joined #silverstripe
71: [14:53:09] * cloph_away quit (Ping timeout: 252 seconds)
72: [15:41:24] * joelpittet has joined #silverstripe
73: [15:45:09] * cloph quit (Ping timeout: 250 seconds)
74: [15:46:01] * joelpittet quit (Ping timeout: 250 seconds)
75: [15:46:55] * LoveDuckie_ has joined #silverstripe
76: [15:46:57] * cloph_away has joined #silverstripe
77: [16:09:54] * VRoxane quit (Quit: Page closed)
78: [16:19:54] * simon_w|air quit (Quit: This computer has gone to sleep)
79: [16:27:28] * cloph has joined #silverstripe
80: [16:28:29] * cloph_away quit (Ping timeout: 250 seconds)
81: [17:30:11] * joelpittet has joined #silverstripe
82: [17:34:42] * joelpittet quit (Ping timeout: 240 seconds)
83: [18:08:03] * CodeTrap quit (Ping timeout: 240 seconds)
84: [18:09:12] * CodeTrap has joined #silverstripe
85: [18:32:32] * LoveDuckie_ quit (Remote host closed the connection)
86: [18:32:53] * LoveDuckie_ has joined #silverstripe
87: [18:56:18] * LoveDuckie_ quit (Remote host closed the connection)
88: [18:56:37] * LoveDuckie_ has joined #silverstripe
89: [19:19:02] * joelpittet has joined #silverstripe
90: [19:23:30] * joelpittet quit (Ping timeout: 240 seconds)
91: [20:04:32] * Azure quit (Quit: My MBP went to sleep.)
92: [20:28:30] * opalfroot has joined #silverstripe
93: [20:29:20] <opalfroot> hey all
94: [20:30:55] <opalfroot> anyone bored enough to be in here tonight?
95: [20:31:56] * opalfroot quit (Quit: AndroidIrc Disconnecting)
96: [20:32:28] <simon_w> Apparently, not you
97: [20:36:48] * opalfroot has joined #silverstripe
98: [20:39:13] * opalfroot quit (Remote host closed the connection)
99: [20:42:56] * UncleCheese has joined #silverstripe
100: [20:46:17] * Azure has joined #silverstripe
101: [20:46:51] * UncleCheese quit (Client Quit)
102: [20:48:02] * Azure quit (Client Quit)
103: [20:48:35] * Azure has joined #silverstripe
104: [20:49:12] * Azure quit (Client Quit)
105: [20:53:14] * Azure has joined #silverstripe
106: [21:07:55] * joelpittet has joined #silverstripe
107: [21:12:45] * joelpittet quit (Ping timeout: 250 seconds)
108: [21:14:07] * joelpittet has joined #silverstripe
109: [21:35:58] * UncleCheese_ has joined #silverstripe
110: [21:38:33] * UncleCheese_ quit (Client Quit)
111: [21:53:42] * SightUnseen has joined #silverstripe
112: [21:53:53] * SightUnseen has left #silverstripe
113: [21:57:18] * joelpittet quit ()
114: [22:42:53] * cloph quit (Ping timeout: 250 seconds)
115: [23:35:14] * cloph_away has joined #silverstripe
116: [23:40:27] * cloph_away quit (Remote host closed the connection)
117: [23:44:02] * cloph_away has joined #silverstripe
118: [23:44:58] * UncleCheese_ has joined #silverstripe
119: [23:52:46] * cloph_away quit (Remote host closed the connection)
120: [23:52:55] * cloph_away has joined #silverstripe

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