#silverstripe IRC Log

IRC log for 29 March 2013

All timestamps are in UTC.

1: [00:03:00] * priithansen quit (Quit: priithansen)
2: [00:07:00] * nickmolhoek quit (Remote host closed the connection)
3: [00:07:00] * nickmolhoek has joined #silverstripe
4: [00:08:00] * nickmolhoek has joined #silverstripe
5: [00:13:00] * Error404NotFound quit (Disconnected by services)
6: [00:13:00] * Err404NotFound has joined #silverstripe
7: [00:21:00] * Motoservo has joined #silverstripe
8: [00:30:00] * SightUnseen has left #silverstripe
9: [00:34:00] * howardgrigg has joined #silverstripe
10: [00:36:00] * Colin[pi] has joined #silverstripe
11: [00:37:00] <Colin[pi]> hi everybody
12: [00:43:00] <bobdobbs> hi colin :)
13: [00:46:00] <bobdobbs> I'm using 3.0.5
14: [00:46:00] <bobdobbs> Hey guys. I've changed my _config.php to select my custom theme for use. But the theme hasn't changed. What could be going on here?
15: [00:55:00] * howardgrigg has joined #silverstripe
16: [00:55:00] * howardgrigg quit (Remote host closed the connection)
17: [00:56:00] <bobdobbs> dammit. I hate "learning experiences".
18: [00:58:00] * howardgrigg quit (Read error: No route to host)
19: [00:59:00] * howardgrigg has joined #silverstripe
20: [01:04:00] <bobdobbs> Maybe the smart kids are all doing something clever - like enjoying the sun instead of spending time on irc
21: [01:04:00] <lewellyn> i'm running out the door to the laundromat since the building's washer is busted.
22: [01:06:00] <bobdobbs> Yeah. A couple of times. Maybe I did it wrong
23: [01:06:00] <bobdobbs> I'm gonna spend the next hour trying to nut out this problem. Then I'm gonna go and do some silat training in the park
24: [01:06:00] <lewellyn> did you flush?
25: [01:06:00] * lewellyn wanders
26: [01:07:00] <bobdobbs> After I do that, I get redir'd to my site. And the theme hasn't changed.
27: [01:07:00] <bobdobbs> http://mylocaldev/?flush=1
28: [01:08:00] <bobdobbs> I have this amongst the code in _config: SSViewer::set_theme('testtheme')
29: [01:22:00] * blimpi has joined #silverstripe
30: [01:22:00] * blimpi quit (Client Quit)
31: [01:31:00] <bobdobbs> Dang. Even when I complete remove the two themes that ship with ss, my own theme doesn't get used.
32: [01:31:00] <bobdobbs> What's the hidden trick?
33: [01:43:00] <Colin[pi]> bobdobbs are your URLs using proper rewrite, or are they like "index.php/about-us" ?
34: [01:44:00] <Colin[pi]> I deleted index.php and it worked perfectly
35: [01:44:00] <Colin[pi]> I had an obscure bug like this a few times, where it wouldn't use the theme if it used index.php instead of mod_rewrite
36: [01:44:00] <Colin[pi]> weird, but it worked
37: [01:47:00] <Colin[pi]> lol np
38: [01:47:00] <bobdobbs> Hey colin. Sorry, I was chowing down on an afghan. Couldn't touch keyboard with all the chocolate in my hand.
39: [01:48:00] <bobdobbs> Anyways, I haven't fooled with URL settings.
40: [01:48:00] <Colin[pi]> I know that feel
41: [01:48:00] <bobdobbs> The URLS are kept to their default settings.
42: [01:48:00] <bobdobbs> no fear though. I'll be working off the calories later. *hangs head in shame*
43: [01:49:00] <bobdobbs> Which index.php should I remove? The one at site root?
44: [01:49:00] <bobdobbs> which php script?
45: [01:49:00] <bobdobbs> Sorry, I'm noobish
46: [01:49:00] <Colin[pi]> they're not using the .php script?
47: [01:50:00] <Colin[pi]> then refresh the site
48: [01:50:00] <bobdobbs> ok
49: [01:50:00] <Colin[pi]> if it's foobared, put it back, but this fixed a similar bug for me
50: [01:50:00] <bobdobbs> ok. I've backed it up, deleted it. Flushed cache.
51: [01:50:00] * Motoservo quit (Quit: Motoservo)
52: [01:50:00] <Colin[pi]> make a backup copy of it, and delete index.php
53: [01:51:00] <bobdobbs> I'm pretty certain I'm working in the correct file tree. I only have one instance of ss installed
54: [01:51:00] <bobdobbs> The problem seems to persist
55: [01:52:00] <bobdobbs> could it be a server setting thing? My local lab environment is apache running on ubuntu
56: [01:52:00] <Colin[pi]> hmm ok scratch that idea
57: [01:53:00] <Colin[pi]> typically if it can't load the theme it's something very simple, the name is definitely correct? matches the folder?
58: [01:54:00] * Motoservo has joined #silverstripe
59: [01:54:00] <bobdobbs> lets see...
60: [01:55:00] <bobdobbs> what else should I check?
61: [01:55:00] <bobdobbs> The argument to settheme matches my folder name, letter casing and all...
62: [02:00:00] * howardgrigg quit (Remote host closed the connection)
63: [02:40:00] * waveydave has joined #silverstripe
64: [02:42:00] * LoveDuckie quit (Ping timeout: 252 seconds)
65: [02:51:00] * howardgrigg has joined #silverstripe
66: [03:04:00] * shango has joined #silverstripe
67: [03:10:00] * Error404NotFound has joined #silverstripe
68: [03:12:00] * zlincoln has joined #silverstripe
69: [03:12:00] * Err404NotFound quit (Ping timeout: 255 seconds)
70: [03:14:00] <zlincoln> listening to silverscoop #12 right now @howardgrigg
71: [03:17:00] * howardgrigg quit (Remote host closed the connection)
72: [03:26:00] <shango> Just installed ss-blog into 3.1.0 and now I'm unable to edit users. I get 'internal server error'. I remove the package and all is well again. What am I doing wrong?
73: [03:33:00] <zlincoln> you should get more information after supplying your credentials
74: [03:33:00] <zlincoln> try adding ?isDev=1 to your url
75: [03:38:00] <shango> I'm not getting any additional info. All other areas of admin are working fine. Everything within the security tab is giving me 'internal server error'
76: [03:39:00] <zlincoln> sry, didn't read your problem all the way through, didn't realize you were in the backend
77: [03:39:00] <zlincoln> are you using composer to require the blog module?
78: [03:40:00] <zlincoln> if not, you may be missing some dependancies
79: [03:40:00] * nickmolhoek quit (Quit: nickmolhoek)
80: [03:42:00] <zlincoln> if you haven't installed with composer the module should still have a composer.json file that will list out the other modules you'll need
81: [03:45:00] <shango> I didn't use composer for this install. I'll check for dependencies. The readme in the blog wasn't super helpful
82: [03:46:00] <shango> Ok, didn't have widgets installed.
83: [03:47:00] * waveydave has left #silverstripe
84: [03:49:00] <shango> And that was it. With widgets installed, life is good once again.
85: [03:49:00] <zlincoln> np, glad to hear it
86: [03:49:00] <shango> Thank you for your help.
87: [04:09:00] * Colin[pi] quit (Ping timeout: 260 seconds)
88: [04:28:00] * CodeTrap quit (Ping timeout: 260 seconds)
89: [04:29:00] * CodeTrap has joined #silverstripe
90: [04:31:00] <zlincoln> anybody run any silverstripe blogs? I'm looking for snippets, tutorials etc.
91: [04:39:00] * cloph_away has joined #silverstripe
92: [04:40:00] * cloph_away1 quit (Ping timeout: 245 seconds)
93: [05:02:00] * eikonos1 has joined #silverstripe
94: [05:02:00] * eikonos quit (Read error: Connection reset by peer)
95: [05:07:00] * Motoservo quit (Ping timeout: 264 seconds)
96: [05:08:00] * Motoservo has joined #silverstripe
97: [05:17:00] * Error404NotFound quit (Ping timeout: 248 seconds)
98: [05:31:00] * Error404NotFound has joined #silverstripe
99: [05:36:00] <zlincoln> haha, yea i've worked through all their content so far
100: [05:36:00] <elgrodo> zlincoln: ssbits.com is the most useful I've found
101: [05:37:00] <zlincoln> need . . more . . brainfood
102: [05:46:00] * Err404NotFound has joined #silverstripe
103: [05:46:00] <zlincoln> seems to be some great stuff here: http://www.leftandmain.com/silverstripe-screencasts/
104: [05:46:00] * Error404NotFound quit (Disconnected by services)
105: [05:55:00] * zlincoln has left #silverstripe
106: [06:04:00] * Err404NotFound quit (Ping timeout: 246 seconds)
107: [06:06:00] <bobdobbs> Hey guys. I've hit an early roadblock: I've set up a basic custom theme, but SS seems to be ignoring it.
108: [06:06:00] <bobdobbs> I'm using SS 3.05
109: [06:06:00] <bobdobbs> But the theme isn't being used.
110: [06:06:00] <bobdobbs> I've created my theme, and pointed to it from within the _config.php file. And I've flushed.
111: [06:06:00] <bobdobbs>
112: [06:07:00] <bobdobbs> If it makes any difference, I'm using apache on ubuntu
113: [06:07:00] <bobdobbs> What could be happening? How do I get SS to use the theme?
114: [06:18:00] * Err404NotFound has joined #silverstripe
115: [06:18:00] * shango quit (Quit: Computer has gone to sleep.)
116: [06:24:00] * SightUnseen has joined #silverstripe
117: [06:26:00] * SightUnseen has left #silverstripe
118: [06:46:00] <bobdobbs> This is really frustrating me. I've been stuck since last night: Silverstripe is simply ignoring the theme setting.
119: [06:46:00] <bobdobbs> Even if I delete all themes apart from my custom theme, my own theme doesn't get used.
120: [07:01:00] <elgrodo> have you tried setting it within the CMS? /admin/settings
121: [07:01:00] * lx-berlin has joined #silverstripe
122: [07:02:00] <elgrodo> boddobbs: There is a theme option in the settings tab
123: [07:12:00] * SightUnseen has left #silverstripe
124: [07:12:00] <bobdobbs> aha!
125: [07:12:00] <bobdobbs> thanks, elgrodo
126: [07:12:00] * SightUnseen has joined #silverstripe
127: [07:15:00] <elgrodo> bobdobbs: :)
128: [07:28:00] * Shrike_Finland has joined #silverstripe
129: [07:31:00] * joelpittet quit (Ping timeout: 272 seconds)
130: [07:38:00] * joelpittet has joined #silverstripe
131: [07:48:00] <g4b0> hi all
132: [07:48:00] * g4b0 has joined #silverstripe
133: [07:49:00] <ss23> moin g4b0
134: [07:51:00] <g4b0> does anybody have tryed googlesitemap on the last SS 3.1?
135: [07:53:00] <ss23> My guess is that it won't work, due to all the changes in SS 3.1
136: [07:55:00] <g4b0> I would like to fix it, but I'm lost...
137: [07:55:00] <g4b0> yep
138: [07:56:00] <g4b0> and $sitemap is an Arraylist
139: [07:56:00] <g4b0> index()
140: [07:56:00] <g4b0> return
141: [07:56:00] <g4b0> return array(
142: [07:56:00] <g4b0> 'Sitemaps' => $sitemaps
143: [07:56:00] <g4b0> );
144: [07:56:00] <elgrodo> gb40: I've hit this before and got round it, hold on
145: [07:58:00] <g4b0> that's all?
146: [07:58:00] <bobdobbs> Ok, so SSViewer::set_theme can load css. How to do load custom fonts?
147: [07:58:00] <Shrike_Finland> Hi, how can I limit item to be FirstItem and to appear only on first page? I have news page with pagination and want only the latest news appear bigger on first page. <% if PublishedNews.FirstItem %> <% loop PublishedNews.First %> repeats the latest one on every page.
148: [07:58:00] <elgrodo> looking at my code, yip
149: [07:58:00] <elgrodo> you need to return an ArrayList, not an array
150: [07:58:00] <g4b0> let's try...
151: [07:59:00] <elgrodo> gb40: I created the array and then wrapped it in a new ArrayList($myArray) call
152: [07:59:00] <g4b0> just tryed
153: [07:59:00] <g4b0> not working...
154: [08:00:00] <elgrodo> bobdobbs: Nothing SS specific about font embedding
155: [08:00:00] <bobdobbs> elgrodo: Is there an 'ss way' to load any custom resources?
156: [08:00:00] <g4b0> http://pastebin.com/Yby6wE4Q
157: [08:00:00] <g4b0> my modified index()
158: [08:01:00] <Shrike_Finland> bobdobbs: what are you afteR?
159: [08:01:00] <elgrodo> gb40: Ah my bad, ArrayData
160: [08:01:00] <bobdobbs> well, I'm sure I can load a custom font by just linking to an arbitrary directory. But I'm wondering if there is a particular SS way of doing things.
161: [08:02:00] <bobdobbs> Shrike_Finland: Like, SSViewer::set_theme seems to be the SS way of loading css. So I'm wondering if theres a particular way of loading other resources.
162: [08:02:00] <g4b0> ArrayData*
163: [08:02:00] <g4b0> elgrodo: not working also with DrrayData :(
164: [08:02:00] <Shrike_Finland> So you are not using any online font. Haven't heard any special SS-way for what you are after.
165: [08:03:00] <elgrodo> you can use a require call in your template bobdobbs to access other css or javascript
166: [08:03:00] <Shrike_Finland> bobdobbs: http://api.silverstripe.org/3.0/class-SSViewer.html
167: [08:03:00] <bobdobbs> thanks guys
168: [08:04:00] <elgrodo> bobdobbs: also http://doc.silverstripe.org/framework/en/reference/requirements
169: [08:05:00] <elgrodo> This is an example with ss3, 3.1 http://pastebin.com/eXYCZidv
170: [08:06:00] <elgrodo> it puts data into the associative array $forTemplate and then renders that with the GridFieldFlickrBuckets template
171: [08:06:00] <g4b0> ok
172: [08:06:00] <elgrodo> so perhaps you could do something similar gb40 but instead of $html = try return
173: [08:07:00] <elgrodo> I used that n a getCmsFields method to render HTML from a template
174: [08:09:00] <elgrodo> afk for a bit
175: [08:11:00] * joelpittet quit (Remote host closed the connection)
176: [08:17:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/5883995
177: [08:17:00] * travis-ci has joined #silverstripe
178: [08:17:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#307 (master - 8ae5839 : Ingo Schommer): The build was broken.
179: [08:17:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/51c00e33e667...8ae58398feb0
180: [08:17:00] * travis-ci has left #silverstripe
181: [08:20:00] <g4b0> elgrodo
182: [08:20:00] <g4b0> it seems working
183: [08:21:00] <g4b0> but the problem is that the module doesn't return the correct sitemap :(
184: [08:22:00] * howardgrigg has joined #silverstripe
185: [08:23:00] * travis-ci has joined #silverstripe
186: [08:23:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/538bf018609f...9ed8eba253e6
187: [08:23:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5884010
188: [08:23:00] * travis-ci has left #silverstripe
189: [08:23:00] <travis-ci> [travis-ci] silverstripe/sapphire#1828 (master - 9ed8eba : Ingo Schommer): The build passed.
190: [08:27:00] <Shrike_Finland> Has Silverstripe any option to check if we are on first page when pagination is used? Like <% if FirstPage %> ?
191: [08:28:00] <ss23> Shrike_Finland: There's $First
192: [08:28:00] * Zauberfisch-idle quit (Ping timeout: 264 seconds)
193: [08:28:00] <ss23> In a loop, like the first item in a <ul>?
194: [08:29:00] * Zauberfisch-idle has joined #silverstripe
195: [08:29:00] <Shrike_Finland> .First not good option here as I have to know also, if it is on first page
196: [08:32:00] <ss23> I don't really understand what you're asking sorry, Shrike_Finland
197: [08:44:00] * ARNHOE has joined #silverstripe
198: [08:47:00] <elgrodo> gb40: can you pastebin the GoogleSitemap::get_sitemaps() function?
199: [08:51:00] <Shrike_Finland> ss23: problem is, that I want the item appear only on first page.
200: [08:51:00] <Shrike_Finland> ss23: site is here (content in Finnish) but you see pagination on the bottom part… If you click page 2, you will see the dataobject from page 1 which is the latest news repeating on all pages.
201: [08:51:00] <Shrike_Finland> http://www.konuka.fi/ajankohtaista/
202: [08:53:00] <Shrike_Finland> ss23: the code for first item is here: http://pastebin.com/PeNGh25A
203: [08:54:00] <g4b0> it was my mistake :)
204: [08:54:00] <g4b0> elgrodo
205: [08:54:00] <g4b0> it works...
206: [08:55:00] <elgrodo> cool :)
207: [08:56:00] <elgrodo> glad I was able to help
208: [08:57:00] <g4b0> thanks a lot
209: [08:58:00] * ajshort has joined #silverstripe
210: [08:59:00] <elgrodo> gb40: BTW I have previously written a sitemap module, it needs more configurability but it works https://github.com/gordonbanderson/weboftalent-sitemap
211: [08:59:00] <elgrodo> (e.g. would like the optoin of excluding certain content types)
212: [09:02:00] <ocm> howdy!
213: [09:02:00] * ocm has joined #silverstripe
214: [09:03:00] <Shrike_Finland> hou hou
215: [09:03:00] <ss23> Shrike_Finland: Hmmm, I see, uh
216: [09:04:00] <ss23> Shrike_Finland: I would probably do like <% loop PublishedNews(0, 20) %>, where you do your pagination there, so loop over the current set of 20 items or w/e, I assume you've already got that part done, then inside that, do <% if $First %><!-- HTML for the special news item here --><% else %>normal stuff here
217: [09:04:00] <ss23> That kind of thing...
218: [09:04:00] * Error404NotFound has joined #silverstripe
219: [09:04:00] <Shrike_Finland> ss23: I don't know, is there any built in action to handle that, so maybe I have to make some custom function for that...
220: [09:05:00] <Shrike_Finland> Might be a way to do it, let's see
221: [09:06:00] * Err404NotFound quit (Ping timeout: 264 seconds)
222: [09:11:00] <Shrike_Finland> Does $FirstItem need some extra options?
223: [09:12:00] <elgrodo> Shrike_Finland: One option I've used in the past is to add an extra property to the data objects being rendered from the controller
224: [09:12:00] <elgrodo> Shrike_Finland: Why loop .FirstItem instead of with?
225: [09:13:00] <elgrodo> then in the template do a check for <% if $ShowBIg %>Render big news item<% end_if %>
226: [09:13:00] <Shrike_Finland> elgorado: good point!
227: [09:13:00] <elgrodo> e.g. if you only want the very first item of 10 pages of news items to be shown big, and (for example) a ShowBig property which will only be true if the page is zero and the item is first in the DataList
228: [09:15:00] * SightUnseen has joined #silverstripe
229: [09:16:00] <elgrodo> Shrike_Finland: Always easier fixing other peoples code :)
230: [09:16:00] <Shrike_Finland> :D
231: [09:23:00] * Zauberfisch has joined #silverstripe
232: [09:25:00] <bobdobbs> noob question: if I want to define variables that I want to be available to my page templates, where should I put them?
233: [09:25:00] * g4b0 quit (Ping timeout: 258 seconds)
234: [09:27:00] <Shrike_Finland> if on all pages, maybe on page
235: [09:28:00] <Zauberfisch> bobdobbs you want to use a variable that you have in PHP in your template?
236: [09:28:00] <ss23> bobdobbs: That will work, yes. $aVariable in your template will access the Pages variable, $this->aVariable
237: [09:28:00] <Shrike_Finland> I've seen some solutions done by extending *Extension*
238: [09:28:00] <Zauberfisch> there are serveral ways
239: [09:28:00] <bobdobbs> you mean, in the file Page.ss ?
240: [09:29:00] <Zauberfisch> you have serveral options:
241: [09:30:00] <Zauberfisch> public function index() {
242: [09:30:00] <Zauberfisch> 1) $this->Foobar = 'test'; // will aloow you to access $Foobar in template, but thats bad coding style
243: [09:30:00] <Zauberfisch> 2) in controller you can do:
244: [09:31:00] <Zauberfisch> 'ParentLink' => $this->data()->Parent()->Link(),
245: [09:31:00] <Zauberfisch> return $this->customise(array(
246: [09:31:00] <Zauberfisch> 'Foobar' => 'Test',
247: [09:31:00] <Zauberfisch> // this will give you $Foobar in template
248: [09:31:00] <bobdobbs> hmmm
249: [09:31:00] <Zauberfisch> }
250: [09:31:00] <Zauberfisch> ));
251: [09:32:00] <Zauberfisch> // it will also give you $ParentLink
252: [09:32:00] <bobdobbs> putting variables in the controller sounds better
253: [09:32:00] <bobdobbs> oh cool
254: [09:32:00] <Zauberfisch> // which is in this case the same as $Parent.Link (Page->Parent->Link)
255: [09:33:00] <Zauberfisch> customise is the way to go
256: [09:33:00] <bobdobbs> thanks
257: [09:33:00] <Zauberfisch> Page.php
258: [09:33:00] <bobdobbs> ok, sorry, I'm juggling too many things in my head at the moment... which file contains my controller?
259: [09:33:00] <Zauberfisch> the whole idea behind customise is to allow you to do exactly what you want to do
260: [09:34:00] <bobdobbs> Thanks Zauberfisch
261: [09:34:00] <Shrike_Finland> Zauberfisch: is it possible to extend Extension like class OwnExtension extends Extension -> your functions there and they are usable in all pages?
262: [09:34:00] <Zauberfisch> class Page_Controller // this is the controller
263: [09:34:00] <Zauberfisch> class Page // this is the model
264: [09:34:00] * LoveDuckie has joined #silverstripe
265: [09:34:00] <Zauberfisch> in a php file of a PageType you always have the model and the controller
266: [09:34:00] <Zauberfisch> Shrike_Finland yes, if you attach it to all pages
267: [09:34:00] <Zauberfisch> inside Page_Controller you can do $this->data() to access the Page
268: [09:35:00] <Zauberfisch> Shrike_Finland but you can not overwrite methods with an extension, that means if the method already exists in the class you attach it to, it will not work
269: [09:36:00] <Shrike_Finland> Zauberfisch: thinking, what woudl be the best way the set up basic custom functions library for tuning up the sites...
270: [09:36:00] <Zauberfisch> and you have to be careful, if you have 2 extensions that both have the same method, both extensions will be called
271: [09:37:00] <Zauberfisch> Shrike_Finland if I have methods that I need on all pages then I just put them into class Page, because all my Pages extend Page
272: [09:37:00] <Zauberfisch> lets say you have an extension that adds the method "Children", silverstripe will call Hierachy->Children() and OwnExtensions->Children()
273: [09:37:00] <Zauberfisch> and this might bring unexpected results
274: [09:37:00] <Zauberfisch> Shrike_Finland what do you want to do?
275: [09:39:00] <Shrike_Finland> Zauberfisch: for example some checking for templates, is there foo used on specific page and if true, do bar. These methods are always the same on every project. At the moment, I have created sitewide functions on Page.php, but thinking is it the best way...
276: [09:41:00] <Shrike_Finland> Zauberfisch: Of coz, I could extend Page with CustomSideWide and then extend it for new pagetypes...
277: [09:41:00] <Zauberfisch> well, yeah, I guess an Extension would be a good chice
278: [09:41:00] <Zauberfisch> hmm
279: [09:42:00] <Zauberfisch> but using extensions has as said some limitations, if those limitations are not a problem then use it
280: [10:01:00] * SightUnseen quit (Quit: Leaving.)
281: [10:02:00] <Shrike_Finland> Is this the right way of getting enum value: <% if $Foo=bar %>
282: [10:04:00] * Zauberfisch-idle quit (Ping timeout: 246 seconds)
283: [10:06:00] <bobdobbs> ok, I'm picking things up slowly. I've put this in my controller: http://pastie.org/
284: [10:06:00] * Zauberfisch_idle has joined #silverstripe
285: [10:06:00] <bobdobbs> This lets me use $myfunc from my templates.
286: [10:07:00] <bobdobbs> oh damn. sorry
287: [10:07:00] <Shrike_Finland> Pastie is empty? Right Url?
288: [10:07:00] <bobdobbs> http://pastie.org/7159964
289: [10:08:00] <bobdobbs> I guess this is more of a php question then an SS question really. But probably worth asking.
290: [10:08:00] <Shrike_Finland> rock
291: [10:08:00] <bobdobbs> Next: how do I alter the function so that I can invoke '$myfunc.thing1', or '$myfunc.thing2'?
292: [10:09:00] <Shrike_Finland> both relaying on the bae of $myfunction?
293: [10:09:00] <Shrike_Finland> bae=base
294: [10:10:00] <bobdobbs> I guess so, yeah.
295: [10:10:00] <bobdobbs> I'm guess what I have in mind for the moment is just setting up some site-specific configuration variables.
296: [10:10:00] <bobdobbs> Like, $mysite.fontdir
297: [10:11:00] <bobdobbs> (but I'm also just playing, both with silverstripe and php)
298: [10:12:00] <bobdobbs> I guess I'm also curious, cos I think I've seen that notation around ss. Things like $parent.child
299: [10:12:00] <Shrike_Finland> I haven't never extended $myFunction, just created new ones
300: [10:12:00] <bobdobbs> I see
301: [10:12:00] <Shrike_Finland> Maybe some smarter coder could help on that
302: [10:13:00] <bobdobbs> What would be a smarter way to do things?
303: [10:44:00] * LoveDuckie quit (Read error: Connection reset by peer)
304: [10:44:00] * LoveDuckie has joined #silverstripe
305: [10:52:00] <bobdobbs> Ok, so I've figured out how to create a function in the controller that creates a variable that I can access from Page.ss. But thats a little limiting. How can I access values in an array within the controller?
306: [10:52:00] * howardgrigg quit (Remote host closed the connection)
307: [10:58:00] <bobdobbs> It just seems really innificient to create a function for every template variable.
308: [11:03:00] * Error404NotFound quit (Ping timeout: 256 seconds)
309: [11:04:00] * priithansen has joined #silverstripe
310: [11:11:00] * ajshort quit (Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344])
311: [11:15:00] * Error404NotFound has joined #silverstripe
312: [12:15:00] * Mento has joined #silverstripe
313: [12:31:00] * SightUnseen has joined #silverstripe
314: [12:32:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
315: [12:50:00] * Error404NotFound has joined #silverstripe
316: [13:02:00] * Zauberfisch quit (Ping timeout: 260 seconds)
317: [13:10:00] * shango has joined #silverstripe
318: [13:13:00] * lx-berlin has left #silverstripe
319: [13:18:00] * SightUnseen quit (Quit: Leaving.)
320: [14:05:00] * Error404NotFound quit (Ping timeout: 246 seconds)
321: [14:05:00] * howardgrigg has joined #silverstripe
322: [14:17:00] * Error404NotFound has joined #silverstripe
323: [14:18:00] * svandragt quit (Quit: Instantbird 1.3 -- http://www.instantbird.com)
324: [14:18:00] * Colin[pi] has joined #silverstripe
325: [14:25:00] * Nivery has joined #silverstripe
326: [14:39:00] * Colin[pi] quit (Ping timeout: 240 seconds)
327: [14:47:00] * howardgrigg quit (Remote host closed the connection)
328: [15:00:00] * Colin[pi] has joined #silverstripe
329: [15:03:00] * zlincoln has joined #silverstripe
330: [15:05:00] <zlincoln> does anyone have experience using the sake CLI to cache events with the 'event-calendar' module?
331: [15:06:00] * shango quit (Quit: Textual IRC Client: www.textualapp.com)
332: [15:10:00] * Colin[pi] quit ()
333: [15:31:00] <r3v3rb> any one home?
334: [15:31:00] <ss23> Probably not many people on Easter though
335: [15:31:00] <ss23> Maybe
336: [15:31:00] * r3v3rb has joined #silverstripe
337: [15:32:00] <ss23> Me too
338: [15:32:00] <r3v3rb> having FUN (not) with a gridfield at the moment
339: [15:32:00] <r3v3rb> ss23: yikes!
340: [15:32:00] <r3v3rb> well thats not fair - I'm still working!
341: [15:32:00] <ss23> Of course, Easter weekend is the *perfect* time for the client to decide to launch a website.
342: [15:32:00] <ss23> XD
343: [15:33:00] <r3v3rb> party instead
344: [15:33:00] <r3v3rb> :D
345: [15:33:00] <r3v3rb> no pressure then
346: [15:33:00] <ss23> XD
347: [15:33:00] <ss23> Yeah, jokes on them though. DPS still haven't got back to us about processing payments. It's not getting launched this weekend.
348: [15:33:00] <r3v3rb> ugh
349: [15:33:00] <r3v3rb> nm
350: [15:34:00] <r3v3rb> if I have two gridfields on a Pagetype, why do both show the same text for the Add XXX buttons for the DataObjects they control
351: [15:34:00] <r3v3rb> do I need to override the buttons in each gridfield declaration?
352: [15:35:00] <ss23> (Just letting you know, I've never used gridfield, so I can't help unfortauntly, but if you wait around, someone else might know)
353: [15:35:00] <r3v3rb> hmm, no worries. and unfortunately can't hang around too much - working in a cafe in spain whilst abroad working
354: [15:35:00] <ss23> You could post on the forums :)
355: [15:36:00] <r3v3rb> trying to tie up a loose end or two
356: [15:36:00] <r3v3rb> ss23: does anyone here use them?
357: [15:36:00] <r3v3rb> hehe
358: [15:36:00] <r3v3rb> XD
359: [15:36:00] <ss23> Hmm, maybe :P
360: [15:40:00] <r3v3rb> heh, I'll keep reading the api for now, it may shed some light
361: [15:48:00] * Error404NotFound quit (Ping timeout: 258 seconds)
362: [15:52:00] * g4b0 has joined #silverstripe
363: [16:00:00] <r3v3rb> right time to go!
364: [16:00:00] <r3v3rb> catch you later ss23
365: [16:00:00] <ss23> Cya!
366: [16:00:00] <ss23> Good luck
367: [16:00:00] <r3v3rb> ;)
368: [16:00:00] * r3v3rb quit (Quit: r3v3rb)
369: [16:19:00] * ocm quit (Quit: HydraIRC -> http://www.hydrairc.com <- Now with extra fish!)
370: [16:26:00] * joelpittet has joined #silverstripe
371: [16:36:00] * Mento quit ()
372: [16:39:00] * Nivery quit (Quit: Nivery)
373: [16:43:00] * webguest has joined #silverstripe
374: [16:46:00] <webguest> [Notice] Undefined offset: 0
375: [16:46:00] <webguest> JSON_DECODE question: Why do i get; Notice undefined index [0] in my json_decode: http://paste2.org/p/3407826
376: [16:47:00] <webguest> using: $Latitude = $json->results[0]->geometry->location->lat;
377: [16:48:00] * dd_ has joined #silverstripe
378: [16:49:00] <dd_> does silverstripe offer any type of template hierarchy? similar to "yeilding" in other frameworks/templating systems?
379: [16:49:00] <dd_> hello
380: [16:50:00] * hubertusanton quit (Quit: hubertusanton)
381: [16:50:00] * g4b0 quit (Quit: Sto andando via)
382: [16:51:00] <ss23> dd_: I have no idea what that is. Explain the featuer you want, and I might be able to help though
383: [16:54:00] * joelpittet quit (Read error: Connection reset by peer)
384: [16:54:00] * joelpitt_ has joined #silverstripe
385: [16:56:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#308 (master - e1e9410 : Ingo Schommer): The build was fixed.
386: [16:56:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/8ae58398feb0...e1e941013caf
387: [16:56:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/5901536
388: [16:56:00] * travis-ci has left #silverstripe
389: [16:56:00] * travis-ci has joined #silverstripe
390: [17:01:00] <travis-ci> [travis-ci] silverstripe/sapphire#1831 (master - afb8465 : Ingo Schommer): The build passed.
391: [17:01:00] * travis-ci has joined #silverstripe
392: [17:01:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/9ed8eba253e6...afb8465d05e7
393: [17:01:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5901546
394: [17:01:00] * travis-ci has left #silverstripe
395: [17:02:00] * dd_ quit (Quit: Page closed)
396: [17:03:00] <ss23> ingo working on Easter Friday...
397: [17:05:00] <elgrodo> holdiays are days you can get work done without work getting in the way
398: [17:06:00] <elgrodo> midnight good for me, not 40C for a start....
399: [17:06:00] <ss23> lol elgrodo, touche
400: [17:07:00] <ss23> XD
401: [17:07:00] <ss23> 6am here, thinking about getting some breakfast...
402: [17:18:00] * joelpitt_ quit (Remote host closed the connection)
403: [17:22:00] * Zauberfisch has joined #silverstripe
404: [17:27:00] <Shrike_Finland> How can I limit addFieldToTab only available for admin group?
405: [17:28:00] <FrozenFire> if(Permission::check("admin")) $fields->addFieldToTab(...);
406: [17:28:00] <Shrike_Finland> I need one option only showing up if you are admin
407: [17:28:00] <ss23> Just do it conditionally if the current user is an admin?
408: [17:29:00] <Shrike_Finland> Thanx, guys!
409: [17:29:00] <Shrike_Finland> oh, that was easy :)
410: [17:30:00] <FrozenFire> Anyone with "Full administrative rights" will get access to that.
411: [17:30:00] <ss23> for all intensive purposes
412: [17:30:00] <ss23> :3
413: [17:30:00] <FrozenFire> Technically that's not for admin group, but it is for all intents and purposes.
414: [17:31:00] * FrozenFire smacks ss23 with an intensive sense of purpose
415: [17:31:00] <Shrike_Finland> lol
416: [17:31:00] <Shrike_Finland> That's enough :)
417: [17:32:00] * Zauberfisch quit (Remote host closed the connection)
418: [17:37:00] * Zauberfisch_idle quit (Ping timeout: 264 seconds)
419: [17:37:00] * Nivery has joined #silverstripe
420: [17:38:00] * Zauberfisch_idle has joined #silverstripe
421: [17:46:00] <ss23> FrozenFire: xD
422: [17:58:00] * gelignite has joined #silverstripe
423: [18:14:00] * joelpittet has joined #silverstripe
424: [18:22:00] <elgrodo> ooh, temptng hard drive https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash3/553072_494055657321144_530919466_n.jpg
425: [18:22:00] <ss23> XD
426: [18:30:00] * DimiStripe has joined #silverstripe
427: [18:31:00] <DimiStripe> Hi guys, happy easter :)
428: [18:31:00] <DimiStripe> If anyone could suggest whats the best way of implementing email templates editor in CMS for sunnyside ecommerce on SS3 ?
429: [18:35:00] <FrozenFire> It'd be unwise to allow them access to actual SS templates.
430: [18:35:00] <FrozenFire> DimiStripe, In that respect, I'd recommend having an HTMLEditorField which uses shortcodes.
431: [18:36:00] <FrozenFire> I created something akin to that
432: [18:36:00] <DimiStripe> Hmm but implementing loops with order products, etc is a bti of a hassle using shortcodes , but I'll consider that . ANyway maybe any way I can edit a SS file from within the CMS
433: [18:36:00] <FrozenFire> Well, loops aren't all that difficult.
434: [18:37:00] <FrozenFire> You would have a block shortcode which creates a new scope
435: [18:38:00] <DimiStripe> Hmm , and waht about all the conditions (you can see actuall template - https://github.com/sunnysideup/silverstripe-ecommerce/blob/master/templates/Includes/EcommerceEmailBody.ss )
436: [18:39:00] <DimiStripe> OK, I'll give it a go :)
437: [18:39:00] <FrozenFire> It's not going to be exactly 1:1 between the SS template engine and a shortcode-based one.
438: [18:39:00] <FrozenFire> But you can get it pretty close.
439: [18:39:00] <FrozenFire> Ultimately all of the logic can be handled in your shortcode parser.
440: [18:40:00] <FrozenFire> For loops, I tend to have something like [orders] [id] [shipping_name] [/orders]
441: [18:40:00] <DimiStripe> Thanks FrozenFire for answer !
442: [18:41:00] <FrozenFire> Then the orders shortcode handler would apply a second shortcode handler to parse the contents of that shortcode
443: [18:43:00] <DimiStripe> going to do that :)
444: [18:43:00] <DimiStripe> yes, sounds like a plan ;)
445: [18:44:00] <FrozenFire> Maybe at some point I'll write a module for automatically generating shortcode handlers for DataObjects
446: [18:44:00] <FrozenFire> So you can effectively create a shortcode-based templating engine in the CMS
447: [18:45:00] <FrozenFire> Registering a shortcode for each field name, and each relation shortcode would create a new shortcode parser for that relational object
448: [18:47:00] <FrozenFire> Wouldn't be all that efficient, but it could sure make certain tasks more simple
449: [18:52:00] * webguest quit (Ping timeout: 245 seconds)
450: [18:53:00] * joelpittet quit (Remote host closed the connection)
451: [19:00:00] * joelpittet has joined #silverstripe
452: [19:01:00] * Nivery quit (Quit: Nivery)
453: [19:18:00] * eikonos has joined #silverstripe
454: [19:18:00] * eikonos1 is now known as eikonos
455: [19:18:00] * eikonos quit (Changing host)
456: [19:20:00] * zlincoln quit (Ping timeout: 245 seconds)
457: [19:23:00] * joelpittet has joined #silverstripe
458: [19:23:00] * joelpittet quit (Read error: Connection reset by peer)
459: [19:25:00] * micmania1 has joined #silverstripe
460: [19:27:00] * joelpittet is now known as joelpittet|lunch
461: [19:27:00] <micmania1> Anybody familiar with CMS styles?
462: [19:32:00] <FrozenFire> Just ask a question
463: [19:35:00] <micmania1> Its okay. I couldn't find the button styles but i've found them now.
464: [19:39:00] * Nivery has joined #silverstripe
465: [20:13:00] * terryapodaca has joined #silverstripe
466: [20:14:00] * joelpittet|lunch quit (Remote host closed the connection)
467: [20:22:00] * Zauberfisch has joined #silverstripe
468: [20:22:00] * SightUnseen has joined #silverstripe
469: [20:22:00] * SightUnseen has left #silverstripe
470: [20:24:00] * MarcusDalgren has joined #silverstripe
471: [20:25:00] <Zauberfisch> ohai Marvanni
472: [20:25:00] <MarcusDalgren> thank you! :D
473: [20:25:00] <Zauberfisch> I am loving it
474: [20:25:00] <Zauberfisch> MarcusDalgren awesome work you are doing it
475: [20:25:00] <Zauberfisch> ohai MarcusDalgren
476: [20:25:00] <Zauberfisch> fail
477: [20:25:00] <MarcusDalgren> hello
478: [20:26:00] <MarcusDalgren> I have a couple of days off now over easter so I hope to get lots of stuff done
479: [20:26:00] <MarcusDalgren> thanks for all the reports, they help me alot
480: [20:26:00] <Zauberfisch> wonderful
481: [20:26:00] <Zauberfisch> you should consider permanently being here
482: [20:26:00] <MarcusDalgren> yes that's a good suggestion
483: [20:26:00] <MarcusDalgren> I was thinking about how to best get feedback on stuff, maybe this channel is it?
484: [20:27:00] <Zauberfisch> yeah, here and mailing list
485: [20:27:00] <Zauberfisch> IRC and dev mailing list is the place of the silverstripe family
486: [20:27:00] <Zauberfisch> epseically irc
487: [20:27:00] <MarcusDalgren> yeah I lurk alot on the dev list but haven't been here much
488: [20:28:00] <Zauberfisch> in my experience it can also really pay off to be on dev list and mailing list
489: [20:28:00] <Zauberfisch> there is a lot of cool stuff that just gets passed around on IRC
490: [20:29:00] <MarcusDalgren> I bet
491: [20:29:00] <MarcusDalgren> I guess it's better announcing new releases here, I don't want to spam the dev list with it
492: [20:30:00] <Zauberfisch> well, you can do major releases on the dev list
493: [20:30:00] <Zauberfisch> but minor ones here
494: [20:30:00] <Zauberfisch> and twitter is also a good place for that
495: [20:31:00] <Zauberfisch> omg, I just updated to latest
496: [20:32:00] <MarcusDalgren> let me know if it throws any exceptions
497: [20:32:00] <MarcusDalgren> :D
498: [20:32:00] <Zauberfisch> I fucking love it
499: [20:32:00] <MarcusDalgren> hope it doesn't error out on you
500: [20:32:00] <Zauberfisch> code formatting now works perfect
501: [20:32:00] <Zauberfisch> I am feeling like a child on christmas
502: [20:34:00] * ARNHOE quit (Remote host closed the connection)
503: [20:34:00] <MarcusDalgren> going to finish up the translation tag tonight. Do you use it alot?
504: [20:35:00] * joelpittet|lunch has joined #silverstripe
505: [20:37:00] <Zauberfisch> when ever I have to write text to template, I use the tag
506: [20:37:00] <Zauberfisch> yes, I have not a single text that is not translated
507: [20:38:00] <Zauberfisch> for 2 reasons:
508: [20:38:00] <Zauberfisch> 1) its easy to turn the website into a multi language one if all the text is _t()'ed
509: [20:39:00] <MarcusDalgren> ok cool
510: [20:39:00] <Zauberfisch> so german translation goes into lang file
511: [20:39:00] <Zauberfisch> 2) I write all templates in english only, I don't want to use german special chars in templates
512: [20:40:00] <MarcusDalgren> that sounds like a good policy
513: [20:42:00] <Zauberfisch> that also has a benefit: when I am done with the project, coworkers will look over the website, and if they find a wrong text, its easy to find where that text is, and I can even send them the text file, they change it and send it back
514: [20:44:00] * zfmf has joined #silverstripe
515: [20:52:00] <Zauberfisch> oh, this is just so beautiful <3
516: [20:53:00] <Zauberfisch> MarcusDalgren do you have twitter?
517: [20:54:00] <MarcusDalgren> yes I use my companys Twitter acount for this kind of stuff. It's https://twitter.com/raketwebbyra
518: [20:54:00] <MarcusDalgren> we mostly tweet in Swedish though
519: [20:56:00] <Zauberfisch> and lots of them
520: [20:56:00] <Zauberfisch> NullPointerException
521: [20:56:00] <Zauberfisch> oh noez
522: [20:56:00] <MarcusDalgren> what did you do?
523: [20:57:00] <Zauberfisch> I closed the IF before the LOOP to see what happens
524: [20:57:00] <Zauberfisch> <% if $Foo %>
525: [20:57:00] <Zauberfisch> I created the following in a template:
526: [20:57:00] <Zauberfisch> <% end_if %>
527: [20:57:00] <Zauberfisch> <% loop $Bar %>
528: [20:58:00] <Zauberfisch> or just:
529: [20:58:00] <MarcusDalgren> it should give you an error message
530: [20:58:00] <Zauberfisch> and then I press enter
531: [20:58:00] <Zauberfisch> and each time I press enter I get either:
532: [20:58:00] <Zauberfisch> NullPointerException: Error during dispatching of java.awt.event.KeyEvent[KEY_PRESSED,keyCode=10,keyText=Enter,keyChar=Enter,keyLocation=KEY_LOCATION_STANDARD,rawCode=13,primaryLevelUnicode=13,scancode=28,extendedKeyCode=0xa] on frame0
533: [20:58:00] <Zauberfisch> NullPointerException: null
534: [20:59:00] <Zauberfisch> yeah, if you close the if before the loop it creates a NullPointerException
535: [21:01:00] <MarcusDalgren> had some trouble with it earlier today though
536: [21:01:00] <MarcusDalgren> can you pull down the latest and try out the new jar file?
537: [21:01:00] <MarcusDalgren> I'm not getting that error in my latest version
538: [21:02:00] <MarcusDalgren> just you wait until I add proper code completion for that stuff! ;)
539: [21:04:00] <Zauberfisch> ok, moment
540: [21:05:00] <Zauberfisch> pulling
541: [21:05:00] <Zauberfisch> its fixed
542: [21:05:00] <Zauberfisch> yay
543: [21:06:00] * Nivery quit (Quit: Nivery)
544: [21:08:00] <Zauberfisch> micmania1 can you paste your code?
545: [21:08:00] <micmania1> I'm having an issue with scss & button icons. Its creating a sprite map, but it seems to be outputting the wrong location in the css file. Anybody got any pointers?
546: [21:11:00] <micmania1> 2 seconds.
547: [21:13:00] <micmania1> https://gist.github.com/micmania1/8631b10f22387cb56df2
548: [21:13:00] <micmania1> my SS installation is localhost/silverstripe and its look at localhost/images/btnfile.png
549: [21:15:00] <Zauberfisch> my guess is that the first line (line 7) generates an image with spacing: 0px
550: [21:15:00] <Zauberfisch> - $btn-icon: sprite-map("btn-icon/*.png", $spacing: 10px);
551: [21:15:00] * howardgrigg has joined #silverstripe
552: [21:15:00] <Zauberfisch> I guess because you do both
553: [21:15:00] <Zauberfisch> - @include all-btn-icon-sprites;
554: [21:15:00] <Zauberfisch> and then line 10 creates an image with spacing 10px
555: [21:16:00] <FrozenFire> Why is my attempt to do <% MyObject.SomeIntField > 3600 %> not working in my template
556: [21:16:00] <Zauberfisch> thats why the background position is off by 10px for the first image, 20px for the 2nd, 30px ...
557: [21:16:00] <Zauberfisch> either use line 7 or line 10
558: [21:16:00] <FrozenFire> ?
559: [21:17:00] <Zauberfisch> as far as I know
560: [21:17:00] <Zauberfisch> or actually, line 4 and line 10 generate the images, like 7 just outputs
561: [21:17:00] <Zauberfisch> FrozenFire there is no support for > and < in template
562: [21:17:00] <FrozenFire> Bugger
563: [21:17:00] <FrozenFire> Could've sworn there was.
564: [21:17:00] <FrozenFire> Hrmm
565: [21:18:00] <FrozenFire> Welp, helper function it is
566: [21:19:00] <Zauberfisch> micmania1 I personally like 10 better
567: [21:19:00] <Zauberfisch> micmania1 but anyway, you have to choose, line 4+7 or line 10
568: [21:19:00] <micmania1> I tried removing line 10 but i'm still getting the same problem. Its outputting the image file to the right location, just calling it from the wrong location.
569: [21:19:00] <Zauberfisch> more controll, less magic
570: [21:20:00] <Zauberfisch> what do you mean with ". Its outputting the image file to the right location, just calling it from the wrong location."
571: [21:21:00] <micmania1> Its outputting this css: background: url('/images/btn-icon-s818b163d52.png') no-repeat;
572: [21:21:00] <micmania1> but the file is actually located at /silverstripe/sstwitter/admin/images/btn-icon-s818b163d52.png
573: [21:22:00] <Zauberfisch> hmmm
574: [21:22:00] <Zauberfisch> ah, that, so its not the background-position: ...; that is wrong but rather the file location
575: [21:22:00] <Zauberfisch> now I get it
576: [21:24:00] <MarcusDalgren> <% end_if %>
577: [21:24:00] <MarcusDalgren> Zauberfisch what kind of error messages would you like to see for the example you listed earlier?
578: [21:24:00] <MarcusDalgren> <% if $Foo %>
579: [21:24:00] <MarcusDalgren> <% loop $Bar %>
580: [21:24:00] <MarcusDalgren> just an error for the loop?
581: [21:27:00] <micmania1> Figured it out. Its the http_path setting in my config.rb file. Cheers for the help.
582: [21:28:00] <Zauberfisch> https://twitter.com/Zauberfisch/status/317749956343635969
583: [21:28:00] <Zauberfisch> I think the error message is pretty good, to me it says: "unexpected statement, expected end_loop"
584: [21:30:00] * C10ne has joined #silverstripe
585: [21:30:00] * lx-berlin has joined #silverstripe
586: [21:31:00] * lx-berlin has left #silverstripe
587: [21:32:00] * SightUnseen has joined #silverstripe
588: [21:34:00] <MarcusDalgren> thanks for tweeting about it :D
589: [21:38:00] * SightUnseen has left #silverstripe
590: [21:43:00] <C10ne> I think I've enabled everything that's needed, but still no luck.
591: [21:43:00] <C10ne> Anybody got some experience with "Friendly URLs are not working. This is most likely because a rewrite module isn't configured correctly on your site. You may need to get your web host or server administrator to do this for you:" message during 3.0 instalation?
592: [21:44:00] <ss23> Is it a VPS or what?
593: [21:45:00] <ss23> Do rewrites work if you do them manually?
594: [21:45:00] <C10ne> yeah, VPS
595: [21:46:00] <C10ne> SS installation is on subdomain, I tested rewrites with joomla and other apps I can install thru plesk, and everything works fine
596: [21:47:00] <C10ne> but not on ss installation
597: [21:47:00] <C10ne> It installs, but I get page not found for everythnig except home
598: [21:49:00] <ss23> No idea sorry :<
599: [21:50:00] <C10ne> np, thanks for listening to me :)
600: [21:54:00] <micmania1> Check your hosts file setup.
601: [21:55:00] <micmania1> Give me 2 seconds to refresh my memory. I've had this issue a few times.
602: [21:56:00] <micmania1> Then restart apache
603: [21:56:00] * lx-berlin has joined #silverstripe
604: [21:56:00] <micmania1> In your apache site config file (/etc/apache2/sites-available/yourfile) you need to set AllowOverride All
605: [21:59:00] <C10ne> I did that, both for <Directory /> and for particular directory where the subdomain is located.
606: [21:59:00] <C10ne> That's what's got me confused.
607: [22:00:00] <micmania1> It should be the subdomain file. If that doesn't fix it i'm afraid i'm out of ideas :(
608: [22:02:00] <MarcusDalgren> does the .htaccess file look correct?
609: [22:05:00] <C10ne> Yeah, it's a fresh install, I tried changing it a bit, but no help
610: [22:05:00] <MarcusDalgren> hmm
611: [22:06:00] <C10ne> It's working on all other servers, but I just got this VPS today
612: [22:06:00] <MarcusDalgren> did you restart it after changing the config?
613: [22:06:00] <C10ne> Yeah
614: [22:06:00] <C10ne> Trying to figure it out
615: [22:06:00] <MarcusDalgren> and rewrite module is on?
616: [22:06:00] <MarcusDalgren> there isn't anything special with the silverstripe htaccess so it should be the server config
617: [22:08:00] <MarcusDalgren> sorry for asking about the basics, just trying to go through every step
618: [22:10:00] <MarcusDalgren> it doesn't install at all?
619: [22:10:00] <C10ne> No problem, it's enabled, I tested it with other software, but just can't get SS to install
620: [22:11:00] <C10ne> It goes to the part "Checking that friendly URLs work..." and displays the message that they are not working
621: [22:12:00] <C10ne> SS installs, but you can't access anything on the front end except the home page
622: [22:13:00] <MarcusDalgren> and you've tried installing other software on that subdomain and they work?
623: [22:15:00] <C10ne> yeah, installed joomla, enabled url rewriting, everything was fine
624: [22:15:00] <MarcusDalgren> what does the joomla .htacces file look like?
625: [22:15:00] * micmania1 quit (Ping timeout: 245 seconds)
626: [22:17:00] <C10ne> here it is http://docs.joomla.org/Preconfigured_htaccess
627: [22:18:00] <MarcusDalgren> <IfModule mod_rewrite.c>
628: [22:18:00] <MarcusDalgren> but keep the code inbetween
629: [22:18:00] <C10ne> this one is maybe older, but generally the same
630: [22:18:00] <MarcusDalgren> ok try removing the if block
631: [22:18:00] <MarcusDalgren> </IfModule>
632: [22:19:00] <C10ne> no luck
633: [22:20:00] <MarcusDalgren> :/
634: [22:20:00] <MarcusDalgren> but everything still runs right, no 500?
635: [22:23:00] <C10ne> no 500
636: [22:24:00] <C10ne> it gets redirected to SS, as much as I figure, since I get the "soft 404"
637: [22:24:00] <MarcusDalgren> that's really weird
638: [22:24:00] <MarcusDalgren> no support you can ask?
639: [22:24:00] <C10ne> I'll bother them allright
640: [22:25:00] <C10ne> but it's late now, I'm playing around, and open the ticket later
641: [22:32:00] * zfmf has left #silverstripe
642: [22:37:00] * lx-berlin has left #silverstripe
643: [22:46:00] * joelpittet|lunch quit (Remote host closed the connection)
644: [22:46:00] * joelpittet has joined #silverstripe
645: [22:49:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
646: [23:15:00] * terryapodaca has left #silverstripe
647: [23:18:00] * joelpittet quit (Remote host closed the connection)
648: [23:20:00] * joelpittet has joined #silverstripe
649: [23:26:00] * priithansen quit (Quit: priithansen)
650: [23:36:00] * Zauberfisch_idle quit (Ping timeout: 246 seconds)
651: [23:40:00] * Zauberfisch_idle has joined #silverstripe
652: [23:47:00] <FrozenFire> http://i.imgur.com/Q3cUg29.gif
653: [23:49:00] * ss23 cries
654: [23:49:00] <ss23> I already linked, but ya
655: [23:49:00] <ss23> I'm doing CSS right now
656: [23:49:00] <Zauberfisch> haha
657: [23:51:00] <FrozenFire> I only know of two people who ever arrive in this channel, who are ever in #phpc
658: [23:51:00] <FrozenFire> It surprises me how little overlap I find between this channel and #phpc
659: [23:51:00] <Zauberfisch> MarcusDalgren btw, may I ask, what are your next moves going to be?
660: [23:52:00] <MarcusDalgren> it will do <% end_if %> automatically
661: [23:52:00] <MarcusDalgren> right now it's autocomplete of closing tags
662: [23:52:00] <MarcusDalgren> so if you type <% if $var %>
663: [23:52:00] <ss23> I tried #phpc once and it had too many rules for me
664: [23:52:00] <ss23> Not sure if they've laxed back on the rules, but if I can't swear and post hardcore porn, it's not a place I want to be a part of!
665: [23:52:00] * FrozenFire has heard that said before, but in my 5+ years there, I've only ever once been scorned
666: [23:53:00] <FrozenFire> He's definitely an op in ##php
667: [23:53:00] <FrozenFire> And we know how big of a dick I am
668: [23:53:00] <ss23> lol
669: [23:53:00] <ss23> TML is in there right?
670: [23:53:00] <FrozenFire> To some extent
671: [23:53:00] <FrozenFire> I rarely see him talk
672: [23:53:00] <ss23> Because if I had no reason *not* to mess around with him every day, you better believe I would be banned there before you could say anything XD
673: [23:53:00] <FrozenFire> I don't think he's an op in #phpc
674: [23:54:00] <FrozenFire> He's also a good guy. Don't know why you'd butt heads with him
675: [23:54:00] <Zauberfisch> well, another channel to idle in doesn't hurt
676: [23:55:00] <ss23> Starts getting painful to switch to more at that point, unless you're willing to go the whole hog and just /w
677: [23:55:00] <ss23> It does if you're on irssi and have more than 19!
678: [23:55:00] <Zauberfisch> used irssi for a while, but now I just stick with a GUI client
679: [23:56:00] <ss23> Next time you see him mention any kind of number, FrozenFire, just repond with "Thats almost (number he said + 1)!"
680: [23:56:00] <ss23> FrozenFire: I wouldn't like, butt heads, I just mean I always poke fun at him, and if I'm in a channel where off topic is okay, I'm sure he would get annoyed :P
681: [23:56:00] <ss23> Zauberfisch: psh, I bet you don't use vim either.
682: [23:56:00] <FrozenFire> I could see him getting pissed if you're not on those terms. :P
683: [23:56:00] <FrozenFire> He's a good guy, but has a low tolerance for bullshit. :P
684: [23:56:00] <FrozenFire> Support fatigue, most likely
685: [23:56:00] <Zauberfisch> well, I use vim if I am on a remote via ssh
686: [23:56:00] <ss23> lol
687: [23:56:00] <FrozenFire> Since he has a huge amount of involvement in ##php
688: [23:56:00] <Zauberfisch> but on my client I use intellij
689: [23:57:00] <ss23> FrozenFire: Post results.
690: [23:57:00] <FrozenFire> I may do so

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