-
Posts
1,835 -
Joined
-
Last visited
-
Days Won
21
Everything posted by Nico Knoll
-
Would be lovely to have such a ability as default in getModuleInfo - but I'll add a check for now
-
Well I'm using the GitHub mac app because I don't have any idea how to use git via terminal
-
The germans are taking over over!
-
Add rel="nofollow" when adding a TinyMCE link
Nico Knoll replied to formmailer's topic in Wishlist & Roadmap
Or have a look here: https://github.com/NicoKnoll/TextformatterMarkExternalLinks/blob/master/TextformatterMarkExternalLinks.module -
Interrrail (and maybe meeting some of you in real life :) )
Nico Knoll replied to Nico Knoll's topic in Pub
@Sinnut: Thanks, the social media buttons are the problem. I try to solve this in the next days @Adam: Have to speak with my friends but would be nice -
Really lovely!
-
Hey, I'm a huge fan of siteinspire, too! And I guess http://showcase.processwire.com would be nice, wouldn't it?
-
Interrrail (and maybe meeting some of you in real life :) )
Nico Knoll replied to Nico Knoll's topic in Pub
If somebody wants to pay for my fly I wouldn't say no -
Hey, I'm planning to do a Interrail trip through Europe in July. The trip will (hopefully) look like this: Berlin -> Amsterdam -> Paris -> Bordeaux -> (Madrid) -> Lissabon/Porto -> Wien/Vienne -> Berlin Now I have to look for some places to stay and I thought maybe here are some people who live in the cities mentioned above or next to them and maybe have a idea where to stay for 2-3 nights per city... (Like for example I saw that diogo is living in Porto so it would be lovely to maybe meet you and say hi or stuff like this ) Would be really, really lovely if someone here could support me here! Much love to processwire community <3 Nico Btw.: The website isn't ready but running with PW of course: http://interrail.nico.is
-
I guess he's talking about subtemplates.
-
Does Processwire Allow Unicode Path Names?
Nico Knoll replied to bytesource's topic in Multi-Language Support
Page names are checked through the module "Page name" (http://d.pr/i/frFb). If you click this gear you come to option page. And in this you can addvalid symbols and/or replacements: http://d.pr/i/frFb But I think unicode charakters in paths aren't really good practice - but it's possible with PW! -- Nico -
"...some proved libraries..." for what?
-
@jan: Klar, sag einfach Bescheid, wenn du Fragen hast oder so ------ Translation: Thanks, just contact me if you have any questions
-
Uh. Looks like I should make some bug fixes
-
Die läuft bei UD-Media. Hab hier neulich mal zusammengefasst warum UD-Media toll ist: http://processwire.com/talk/topic/2970-ud-media-is-great/ Außerdem ist UD-Media für meine Bedürfnisse perfekt, weil nicht so teuer. Und als Schüler hat man nicht soo viel geld in der Tasche -- Nico
-
My schools website was my first pw project, too: http://sgym.de
-
We should have a subpage of the website calles "Ryan's collected words"
-
Hey, two things: First: If you need some german support you can contact me as well - I'm more developer than designer but doing some design stuff though. There's also a list with some other german developers (+ a showcase of some german pw sites) on the german pw site: http://de.processwire.com Second: Some modules that could make your switch from WP to PW easier are: Soma's module manager: It allows you installing and searching modules from backend like wordpress does. my template file editor: Let you edit template files directly from backend like you can on WP a lot more Btw.: Your website is lovely! -- Nico
-
Okay localized the error by commenting out some lines. It's line 41: $return = $page->setOutputFormatting(true)->render(); But the problem is that I don't understand ow this can influence the pagetree because it won't be executed... Maybe someone has an idea?
-
Just wanted to link here: http://processwire.com/talk/topic/2535-inputfieldtinymce-should-be-in-sitemodules/
-
Should be fixed.
-
Fixed it
-
It's a real field. The whole code looks like this: <?php // change the line above to reflect your system path or remove if not command-line set_time_limit(10000); include("../index.php"); // bootstrap ProcessWire's API, if applicable // open the CSV file with the data in it $fp = fopen('booked.csv', 'r'); $n = 0; $labels = array(); echo '<pre>'; while(($data = fgetcsv($fp, 0, ';', '"', '\\\\')) !== false) { if(++$n == 1) { // if we're on the first line, save the CSV labels and skip over the line $labels = $data; continue; } // use the labels we found from line 1 to make the $data array associative foreach($data as $key => $value) { $label = $labels[$key]; $data[$label] = $value; // now $data[1] is $data[pid], for example unset($data[$key]); // don't need the numbered index anymore } foreach($data as $key => $value) { if($key == 'data') { $data['data'] = unserialize(html_entity_decode($value)); } } $times = explode(':', $data['time']); $time = ((int)$times[0] * 60 * 60) + ((int)$times[1] * 60); $timestamp = $time + $data['date']; $client = array( 'prename' => $data['data']['prename'], 'subname' => $data['data']['subname'], 'tel' => $data['data']['tel'], 'email' => $data['data']['email'] ); var_dump($timestamp, $client); saveBooking($timestamp, $client); } function saveBooking($timestamp, $client = '') { $booking = new Page(); $booking->template = wire('templates')->get('booking'); $booking->parent = wire('pages')->get('/bookings/'); $booking->title = 'booking-'.time(); $booking->timestamp = $timestamp; $booking->client_prename = $client['prename']; $booking->client_subname = $client['subname']; $booking->client_tel = $client['tel']; $booking->client_email = $client['email']; $booking->save(); } echo '</pre>'; ?>
-
Yes it is a processwire error. But how to set a custom php handler?
-
how to retrieve repeater Id and export it to JS (gallery)
Nico Knoll replied to wishbone's topic in Getting Started
Should be more like: $mainPage = $pages->get('1234'); // some id of the page containing the repeater field $repeaterPage = $mainPage->repeaterField->first(); // repeaterField is the name of your field echo "<div id='".$repeaterPage->id."'>"; or $mainPage = $pages->get('1234'); // some id of the page containing the repeater field $repeaterPages = $mainPage->repeaterField; // repeaterField is the name of your field foreach($repeaterPages as $repeaterPage) { echo "<div id='".$repeaterPage->id."'>"; }