-
Posts
1,835 -
Joined
-
Last visited
-
Days Won
21
Everything posted by Nico Knoll
-
I guess it's another Robert (de)Long
-
Hey, I tried something like this code: $page->timestamp = 123456789; // timestamp is a date & time field $page->save(); But it won't add the timestamp... The field stays empty... Do I have to format the day before or something like this? -- Nico
-
Have to include the file because "eval" is crappy as shit and I have to execute php code. So I write the php code in a temp file and include this file...
-
I think I've subscripted to their podcast already on iTunes ---- A little scrobbeling experiment I made (using data from iTunes, Grooveshark, Last.fm and Spotify): http://projects.nico.is/listening (no it's not an error - I listened a lot to robert delong yesterday )
-
Hey I looked at the code and saw that I still was using $_POST and $_GET. Now I replaced them by $this->input->post and $this->input->get and tried it in debug mode. Everything seems to be working. I updated it on GitHub some seconds ago.
-
Is there any way to execute PHP loaded from textarea fields?
Nico Knoll replied to DZoneRick's topic in API & Templates
Same stuff as Ryan posted with using my module: <?php $shortcode = $modules->get('MarkupShortcodes'); $shortcode->add('config.urls.root', function($atts){ return $config->urls->root; }); $shortcode->add('config.urls.templates', function($atts){ return $config->urls->templates; }); $shortcode->add('url', function($atts){ return $page->url; }); $shortcode->add('id', function($atts){ return $page->id; }); echo $shortcode->render($page->body); ?> -
Really nice, but I would add a bit more padding top and bottom to the footer.
-
Hey, I'm working on a console like module for processwire where the user can insert some code. But if the code fails I get a processwire exception. I tried: try { include $file; } catch (Exception $e) { echo 'Exception abgefangen: ', $e->getMessage(), "\n"; } But it won't work - the exception will be thrown anyway... Is there a way to catch a exception or disable it for a part of the code? -- Nico
-
A lot of really lovely music: http://delicieuse-musique.com
-
Is there any way to execute PHP loaded from textarea fields?
Nico Knoll replied to DZoneRick's topic in API & Templates
Yes, you can use it for kind of everything I guess Just have a look on the examples I made in the modules forum thread: http://processwire.com/talk/topic/1819-markupshortcodes/#27944 -
Lovely Maybe just use a custom instagram hashtag which will be displayed
-
Is there any way to execute PHP loaded from textarea fields?
Nico Knoll replied to DZoneRick's topic in API & Templates
Your welcome! Greets from the MarkupShortcode developer -
Oh, I thought I did that already... Here it is finally: http://modules.processwire.com/modules/process-preview/
-
That's what I meant: http://processwire.com/talk/topic/2970-ud-media-is-great/
-
Hey, if anyone should think about writning a on-page editing module this might be helpful: http://vitalets.github.com/x-editable/demo.html Greets, Nico
-
Hey, UD-Media is a german hoster. And they offer a feature-request system. So some weeks ago I posted there if they could add PW to the "1-Click-Install" stuff and today I got a mail that it will be available with the next software update they are doing. Much love to them: Go and register yourself there: udmedia.de (and support me by clicking this link before this ) They are really great and a lot cheaper then my old hoster I left two years ago. Greets, Nico
- 1 reply
-
- 4
-
Really lovely!
-
The website is lovely! nicely done!
-
Changed it
-
Would be lovely if something like this would be possible as well: --- name: test-article-123 --- body: Eros euismod, lectus alias. Voluptatum, vitae, gravida. Blanditiis, soluta fugiat platea donec! Suscipit augue lacinia mauris illo anim suscipit euismod quaerat egestas felis autem aenean sem tristique labore cras veniam integer dui eu quisque praesentium phasellus do aperiam dolores, amet, aliquet pariatur a litora sequi ipsum pariatur conubia! Voluptate deleniti, id scelerisque fusce vestibulum ab? Nemo harum condimentum posuere voluptatum. --- somefield: a value ---
-
Online directory of ProcessWire professionals
Nico Knoll replied to tinacious's topic in Wishlist & Roadmap
Worked on something like this for german pw: http://de.processwire.com (at the bottom) -
Panorama Heidenheim - Using tumblr on iOs to post to PW
Nico Knoll replied to Philipp's topic in Case Studies
Is there a way to send texts, too, or only images? -
German (de-DE) not maintained
Nico Knoll replied to Nico Knoll's topic in ProcessWire Language Packs
@manfred62: Would be easier if you just make a pull/push (not sure which one is right) request via github I guess -
I listen to this song: http://grooveshark.com/s/It+s+Too+Late+Snakehips+Remix/4ZKpcf?src=5 and some others Normally just http://mvsic.net because i'm a coworker on this site/network.