| 2015-03-31 |
| ← opdavies left | 00:33 |
| ← mikestewart left | 02:18 |
| simensen → Crell2 | 02:20 |
| Crell2 → simensen | 02:21 |
| → mikestewart joined | 02:30 |
|
mikestewart
| hey jrobeson did you solve what you needed? | 03:11 |
|
jrobeson
| mostly | 03:11 |
|
| we should try hooking up that VarDumper component from newer symfonys though :) | 03:11 |
|
| it was in site.env when i expected it to be in kernel | 03:12 |
|
mikestewart
| don't think I have the answers ... but willing to work with you ... though not positive how much help I'd be | 03:12 |
|
jrobeson
| kernel.env* | 03:12 |
|
| no.. i got the environment thing worked out | 03:12 |
|
mikestewart
| ah | 03:12 |
|
jrobeson
| it seems like a kernel setting to me.. and that i think it should work just like symfony does in that respect if it were possible | 03:12 |
|
mikestewart
| hmm, dont have enough symfony experience to be helpful. but was willing to dig in | 03:13 |
|
| I'm hoping to help cleanup and add to some docs | 03:13 |
|
| actually volunteered (figured it'd help me dig in) ... so any suggestions to docs, please throw at me | 03:14 |
|
jrobeson
| are you working with the new person who is suppoed to be working on docs? emma something? | 03:14 |
|
| i don't remember her last name | 03:14 |
|
mikestewart
| but what you're saying makes sense. I've messed with sculpin_kernel.yml and site for a couple things | 03:14 |
|
| ya | 03:15 |
|
| or I'd like to... | 03:15 |
|
| I know her a bit from the drupal world | 03:15 |
|
| (and open source) | 03:15 |
|
jrobeson
| have you talked to simensen or emma about this? :) | 03:15 |
|
mikestewart
| met her at SCALE some years back | 03:15 |
|
| yes, both | 03:15 |
|
simensen
| in dev you can get access to http://twig.sensiolabs.org/doc/functions/dump.html | 03:15 |
|
| but that only works if you know which vars you are looking for. i'm not sure how you can get a list of vars that are exposed in a given context. | 03:16 |
|
| mikestewart did emma end up talking to you more about that? | 03:16 |
|
jrobeson
| simensen, so what is next for sculpin? | 03:16 |
|
simensen
| mikestewart we haven't had a chance to sit down and plan much, really. i've been super busy. | 03:16 |
|
mikestewart
| simensen nope. figured I'd hit her up again soon | 03:16 |
|
simensen
| jrobeson: ^^ :) | 03:16 |
|
| jrobeson i need to start breaking things down and getting stuff all in a place i can start getting other people contributing if they are ready to do so. | 03:17 |
|
jrobeson
| well, you might get some help if there were some defined tasks :) | 03:17 |
|
| yeah | 03:17 |
|
mikestewart
| no worries. me too. I'm doing a project this week using sculpin. then going on spring break for a week up to Eugene | 03:17 |
|
| then, plan to get on it | 03:17 |
|
jrobeson
| gonna see some hobos? | 03:17 |
|
| https://www.youtube.com/watch?v=HpjcY4vENCY | 03:17 |
|
mikestewart
| simensen feel free to throw stuff into an issue queue ... maybe add a label in a way I can filter ... and I'd be happy to focus on things there | 03:18 |
|
| jrobeson hoping to go to ninkasi brewery | 03:19 |
|
jrobeson
| ninkasi! | 03:19 |
|
mikestewart
| ha! re: https://www.youtube.com/watch?v=HpjcY4vENCY | 03:19 |
|
jrobeson
| so where do you live now? | 03:19 |
|
mikestewart
| it like stone brewery of the north | 03:19 |
|
| I'm in Long Beach | 03:19 |
|
jrobeson
| ah i see | 03:19 |
|
| i've drank a few ninkasi brews | 03:20 |
|
| i still officially live in Portland, although i'm not there right now | 03:20 |
|
mikestewart
| jrobeson where are you now? | 03:20 |
|
jrobeson
| southeast ohio | 03:20 |
|
| it's a work thing | 03:20 |
|
mikestewart
| there's a chance we'll make it to Portland ... but not sure | 03:20 |
|
| portland, ohio,,, nearly the same :-P | 03:21 |
|
jrobeson
| no.. it's not! | 03:21 |
|
mikestewart
| one of my best friends moved to Eugene about 5-7yrs back. been up there a couple times | 03:21 |
|
jrobeson
| it's terrible here | 03:21 |
|
| that's why i keep bugging simensen , because i'm bored | 03:22 |
|
mikestewart
| um, ya... sarcasm. thought that would be dripping with it ... but ya, probably not | 03:22 |
|
| ha! | 03:22 |
|
simensen
| jrobeson are you going to be at pnwphp? | 03:22 |
|
jrobeson
| simensen, no | 03:22 |
|
| i still have no return date | 03:22 |
|
simensen
| jrobeson where are you now? | 03:22 |
|
jrobeson
| i just said that :) | 03:23 |
|
| mikestewart brb kids & wife just exploded | 03:24 |
|
jrobeson
| exploded? | 03:24 |
|
| simensen, it's southeast ohio. nearly west virginia | 03:25 |
|
simensen
| jrobeson my bad. you are both green to me so i was having ahard tie tracking who was saying what. | 03:25 |
|
jrobeson
| you're green to me! | 03:25 |
|
| no really though, only people who mention my nick are green | 03:26 |
|
mikestewart
| whew! false alarm. apparently they were just "talking" | 03:27 |
|
jrobeson
| i don't have a wife or kids, but i am pretty sure i wouldn't want them exploded :) | 03:28 |
|
| based on simensen's twitter feed.. i don't think he wants his wife and kid exploded either | 03:29 |
|
simensen
| nope. | 03:29 |
|
| simensen loves his family | 03:30 |
|
jrobeson
| cuz they are are totally cute family | 03:30 |
|
| simensen would be very sad if they exploded. | 03:30 |
|
| mikestewart loves his family | 03:34 |
|
mikestewart
| usual...ly | 03:34 |
|
| ;-) | 03:35 |
|
simensen
| hehe. | 03:41 |
|
jrobeson
| i only have nieces | 03:43 |
|
mikestewart
| hey, got a question if either of you still around, and maybe can help point me in the right direction. I spent some time yesterday and today setting up a site based on https://github.com/sculpin/sculpin-blog-skeleton ... | 04:11 |
|
| I'm curious about the content type "posts" ... and why in _views there is a post.html (but not a "posts") ... and how does sculpin know to use that file when all of the content.md files live in "_posts" (and not post) | 04:11 |
|
simensen
| mikestewart a lot of magic. | 04:12 |
|
mikestewart
| ha! I'm trying to add two new content types ... and having trouble figuring out the moving pieces | 04:12 |
|
simensen
| mikestewart https://github.com/sculpin/sculpin/blob/master/src/Sculpin/Bundle/ContentTypesBundle/DependencyInjection/SculpinContentTypesExtension.php#L45-L46 | 04:12 |
|
| mikestewart the important thing, i think, is to try to start with the smallest possible configuration and hope that sculpin does the right thing. | 04:13 |
|
mikestewart
| simensen so I ran accross something where I figured out the singular/plural names of content types | 04:13 |
|
simensen
| mikestewart https://github.com/dflydev/dflydev.com/blob/master/app/config/sculpin_kernel.yml | 04:13 |
|
| https://github.com/simensen/beau.io/blob/master/app/config/sculpin_kernel.yml | 04:14 |
|
| i wanted things to "make sense" when you read them. so if you had a "posts" content type, it would use layout "post" instead of "posts" because that made more sense to me. though in retrospect, calling the content type "post" instead of "posts" would have worked, too, and pluralized it. | 04:15 |
|
mikestewart
| simensen ok... makes sense. | 04:16 |
|
| simensen I've played with: http://paste2.org/Kt7kJXnt | 04:16 |
|
| but only path has worked to recognize a content type | 04:16 |
|
simensen
| if you wanted to use meta instead of path, you'd have to specify meta_key and meta | 04:18 |
|
| so, type: meta, meta: steps | 04:18 |
|
| in that case, any source (regardless of path) would be treated as steps if it had "type: step" | 04:19 |
|
| I think the docs are misleading... | 04:19 |
|
| meta_key: If type: meta, the meta key that will be used to locate this type. Defaults to the singularized version of the type name. | 04:19 |
|
| meta_key actually defaults to "type" :) | 04:19 |
|
| https://github.com/sculpin/sculpin/blob/master/src/Sculpin/Bundle/ContentTypesBundle/DependencyInjection/SculpinContentTypesExtension.php#L109 | 04:19 |
|
| so if what you were trying before was to specify content type by way of meta keys (instead of just paths) that is what you'd want to do. | 04:20 |
|
mikestewart
| ah | 04:21 |
|
| thx. | 04:22 |
|
| think that helps a bit | 04:22 |
|
simensen
| ok. :) | 04:24 |
|
mikestewart
| simensen finally, can I have a single default "layout" that is extended by different content types (such as posts, steps, testamonials? I'm trying to wrap my head around how layouts can be used by content types. | 04:24 |
|
simensen
| mikestewart: that could be a good docs pr, btw. :) "Defaults to the singularized version of the type name." -> "Defaults to 'type'" :) | 04:24 |
|
| mikestewart: talk extends default extends base: https://github.com/simensen/beau.io/tree/master/source/_layouts | 04:25 |
|
mikestewart
| simensen yes ... I agree. and partly why I'm building and trying to understand. I'll come back and refer to the log and my notes as I'm working on docs | 04:25 |
|
| talk? | 04:25 |
|
| ah | 04:25 |
|
| nm | 04:25 |
|
simensen
| https://beau.io/talks/ <- talks are a content type | 04:26 |
|
| I usually do {% block content_wrapper %}{% block content %}{% endblock %}{% endblock %} in my base template | 04:27 |
|
mikestewart
| yep ... got it. this is totally what I needed. I now have three examples. the skeleton. sculpin.io. and beau.io | 04:27 |
|
| simensen is the % needed? | 04:27 |
|
simensen
| yeah, that is twig stuff there. | 04:27 |
|
| by default the source is always just the "content block" | 04:28 |
|
mikestewart
| ya, I get that. but thought twig can also work without the % | 04:28 |
|
simensen
| depends on what type of thing. | 04:28 |
|
mikestewart
| ok, for later ... I'm still getting into twig too | 04:28 |
|
| had been putting it off... but pretty much how I came to sculpin | 04:29 |
|
simensen
| tags vs variables & expressions | 04:29 |
|
| mikestewart didnt want to learn liquid theming | 04:29 |
|
simensen
| Tags use {% %} and variables use {{ }} | 04:29 |
|
| this page will be your friend: http://twig.sensiolabs.org/doc/templates.html | 04:29 |
|
| {{ basically means (I think) that it just dumps whatever you want as output | 04:29 |
|
mikestewart
| simensen ya, but I saw a demo where someone removed the % ... I need to go back and review | 04:30 |
|
simensen
| ok. if you find it that would be good for me to know. i didn't know you could do that. | 04:30 |
|
mikestewart
| ya, I'm not positive. it was a short video ... will let you know if I find out it can be interchangable | 04:31 |
|
simensen
| i think i need to go to bed now tho. | 04:31 |
|
mikestewart
| simensen thanks for your help! I think this will get me on the path | 04:31 |
|
simensen
| has been a long day. | 04:31 |
|
mikestewart
| ha! me too | 04:31 |
|
simensen
| mikestewart: goodnight. :) | 04:31 |
|
mikestewart
| thanks again! | 04:31 |
|
| goodnight | 04:31 |
|
simensen
| mikestewart what is your twitter handle? | 04:32 |
|
mikestewart
| mediadoneright | 04:32 |
|
simensen
| ah, ok, cool. working on my irc:twitter mapping. :) | 04:32 |
|
mikestewart
| ha! ya... I kinda need a personal twitter ... but haven't used twitter too much in the past | 04:33 |
|
simensen
| even i'm not immune. i probably could have had @simensen when i joined twitter. | 04:33 |
|
| but i went for @kirkryyn instead and by the time i realized my mistake (a year or so ago) i had to opt for @beausimensen. :-/ | 04:34 |
|
mikestewart
| ha! is that an old handle? | 04:34 |
|
simensen
| yep. | 04:34 |
|
| https://twitter.com/kirkryyn | 04:35 |
|
mikestewart
| I quit using nicks/handles a couple years ago ... when no one IRL knew me | 04:35 |
|
| ha! 3 tweets | 04:35 |
|
simensen
| :) | 04:35 |
|
| well, i renamed my old account and then created a new one w/ my old name. :) | 04:36 |
|
mikestewart
| makes sense ... as I just realized you've >10k on the new account | 04:36 |
|
| ok, off to bed | 04:37 |
|
| night | 04:37 |
|
simensen
| night! | 04:37 |
|
mikestewart
| (thanks again, helped a lot!) | 04:37 |
|
jrobeson
| simensen, how come there isn't a url() method in sculpin? | 04:38 |
|
| in twig* | 04:38 |
|
| seems like atm it's too easy to create urls to non existent places | 04:38 |
|
simensen
| jrobeson that needs to be addressed at some point. path() and url() helpers from templating in symfony are not able to be used here. | 04:40 |
|
| jrobeson will probably be useful once there is a way to identify a source. | 04:40 |
|
jrobeson
| how to get the date the site was generated? hmm.. | 05:55 |
|
| ah more importantly.. how can i make humans.txt get parsed as twig.. | 06:06 |
|
| oh. i see | 06:06 |
| → mike545 joined | 07:12 |
| → ShotgunKlaus joined | 07:25 |
| → WouterJ joined | 07:31 |
| ← WouterJ left | 08:01 |
| → bolbo joined | 08:04 |
| → opdavies joined | 08:16 |
| → WouterJ joined | 08:35 |
| ← WouterJ left | 08:52 |
| → WouterJ joined | 10:06 |
| ← WouterJ left | 10:12 |
| ← jrobeson left | 11:02 |
| → railto joined | 11:04 |
| → jrobeson joined | 11:09 |
| ← jrobeson left | 11:09 |
| → jrobeson joined | 11:09 |
| → WouterJ joined | 11:18 |
| → JulienTant joined | 11:44 |
| ← railto left | 13:13 |
| → railto joined | 13:15 |
| → evrt joined | 13:34 |
| → mikesmoniker joined | 13:35 |
| ← evrt left | 13:36 |
| → evrt joined | 13:36 |
| → EricPoe joined | 13:59 |
|
simensen
| jrobeson one of the changes i want to make for sculpin 3 is to make it so that you can map files outside of the file itself to get it treated as something else. or i at least want to experiment with it. | 14:09 |
|
| so for exple, the person who wanted their stylehseet to be parsed as a stwig template | 14:09 |
| ← mikestewart left | 14:54 |
| ← ShotgunKlaus left | 15:27 |
| ← bolbo left | 15:46 |
| ← kavent left | 15:57 |
| → mikestewart joined | 15:57 |
| ← opdavies left | 16:10 |
| ← mike545 left | 16:17 |
| ← mikestewart left | 16:17 |
| → mikestewart joined | 16:18 |
| ← mikestewart left | 16:18 |
| → mikestewart joined | 16:18 |
| → mike545 joined | 16:24 |
| ← mike545 left | 16:28 |
| → MediaDoneRight joined | 16:42 |
| ← MediaDoneRight left | 16:42 |
| ← mikestewart left | 16:47 |
| ← EricPoe left | 16:55 |
| → mikestewart joined | 17:19 |
| → opdavies joined | 17:21 |
| ← mikestewart left | 17:32 |
| → mikestewart joined | 17:32 |
| ← WouterJ left | 18:02 |
| → WouterJ joined | 18:03 |
| ← mikestewart left | 18:15 |
| ← WouterJ left | 18:24 |
| → mikestewart joined | 18:29 |
| ← opdavies left | 18:30 |
| → opdavies joined | 18:50 |
| ← railto left | 18:59 |
| → bolbo joined | 19:03 |
| → WouterJ joined | 19:06 |
| ← WouterJ left | 19:11 |
| → WouterJ joined | 19:12 |
| → kavent joined | 19:23 |
| → EricPoe joined | 19:37 |
| ← EricPoe left | 19:39 |
| ← bolbo left | 19:49 |
| → bolbo joined | 20:22 |
| → mike545 joined | 20:42 |
|
simensen
| Has anyone noticed changes in how permalinks are being generated? | 20:45 |
|
| either a new trailing slash that wasn't there before or a trailing slash that *isn't* there anymore? | 20:45 |
| → EricPoe joined | 20:46 |
| ← bolbo left | 20:49 |
|
mikestewart
| hmm, no, havent noticed. | 21:02 |
|
| but have noticed (but haven't verified in a reproduce-able way) that sometimes new/changed content doesnt seem to be picked up | 21:02 |
| ← WouterJ left | 21:15 |
| → WouterJ joined | 21:23 |
| ← mike545 left | 21:26 |
|
jrobeson
| i've noticed that deleted content doesn't disappear until i stop the server and restart it | 21:37 |
| ← mikestewart left | 21:46 |
| ← mikesmoniker left | 21:48 |
| ← WouterJ left | 22:16 |
| ← EricPoe left | 22:17 |
| → EricPoe joined | 22:26 |
| ← EricPoe left | 22:27 |
| ← evrt left | 23:42 |