-
Posts
1,835 -
Joined
-
Last visited
-
Days Won
21
Everything posted by Nico Knoll
-
@diogo Just thought the "Hey!!" means you would want to be mentioned
-
http://de.processwire.com/#support
-
Sorry, willyC but it's only for German...
-
Hi, I'm trying to design http://de.processwire.com as a language specific processwire page prototype (more: http://processwire.com/talk/topic/2589-german-community-siteblogwhatever/) Now I want to add a list of some German speaking developers (with link to their website / email / twitter / forum account page / whatever) under the "support" section. So it would be lovely - if you speaking german - to answer here with your name + city + website link or so. Greets from Berlin, Nico
-
Something new?
-
Well I'm not a fan of the current texts to but I just tried to translate the original text as good as possible. Because at 4 a.m. I'm not the greatest writer But I'm open for better ideas. If it's ready I will create a account for you if you want
-
So, while nothing happend here I contacted Ryan and asked him for setting up de.processwire.com as my little playground. What do you think about the current state? (I'm trying to add the left stuff tomorrow): http://de.processwire.com/
-
Looks really lovely!
-
Love this! Want this! Need this!
-
Looks great, thank you!
-
Simple responsive documentation admin theme
Nico Knoll replied to Michael Murphy's topic in Themes and Profiles
Looks really really nice. Have to try it when my XAMPP installation ist working again -
Didn't read all of your posts so maybe sorry if anyone else said this before but: It isn't a huge difference if you have to learn a special wordpress template language which is much smaller then PHP or a little bit of PHP. Like for example: Wordpress-way: <?php the_title(); ?> PW-way: <?php echo $page->title; ?> It isn't more complicated or much longer. And also I'm loving it hove processwire handles this
- 74 replies
-
- template engine
- twig
-
(and 8 more)
Tagged with:
-
What's eq() by the way?
-
Are you sure you named the file-field "file"? Because I guess the syntax is like: $wire->pages->get($refererPageId)->nameOfYourFileField->delete();
-
So, here's my script: <?php require('backup_restore.class.php'); $newImport = new backup_restore('localhost','root','','pw_clean','*'); $newImport->restore(); function SureRemoveDir($dir, $DeleteMe) { if(!$dh = @opendir($dir)) return; while (($obj = readdir($dh))) { if($obj=='.' || $obj=='..') continue; if (!@unlink($dir.'/'.$obj)) SureRemoveDir($dir.'/'.$obj, true); } if ($DeleteMe){ closedir($dh); @rmdir($dir); } } function rcopy($src, $dst) { if (file_exists($dst)) rrmdir($dst); if (is_dir($src)) { mkdir($dst); $files = scandir($src); foreach ($files as $file) if ($file != "." && $file != "..") rcopy("$src/$file", "$dst/$file"); } else if (file_exists($src)) copy($src, $dst); } SureRemoveDir('../pw_clean/site', true); rcopy('site', '../pw_clean/site/'); ?> And it's working well
-
I just don't like start developing in a messed up installation :/
-
So I guess it could be a php script too: Kind of: <?php // code for delete the site folder // code for copying the clean site folder // code for mysql connection // code for delete a table // code for cloning a table and renaming it ?>
-
Well what I want is to click one button/start one script to reset the database and one folder to a specific point. I'm using XAMPP on Mac. So what I guess I need is: a folder with a clean installation which will be duplicated and overwrites the other folder everytime I start this script. And a way to automatically clean a database and import a given .sql file (which I've exported from the clean installation). Would be lovely to have a batch file doing this but I don't know how to make a batch file...
-
Hi, is there a way to "reset" PW to the point after the installation? Because it is kind of annoying to reinstall PW everytime I develope a new module or theme or template or whatever... It would be lovely to just click a button and bamm: A fresh clean PW installation. Is there a way or what's your practice? Greets, Nico
-
Awesome! Hebrew is Right to Left, isn't it? (Doesn't tried it yet - wouldn't understand a word )
-
Hey, currently there are like 9 default permissions. But some of them include different points, so it's hard to define really custom roles. It would be lovely to split the points in some more permission possibilities by default. Maybe just have a look into the Wordpress (sorry for mention it) permission variety for inspiration : manage_network manage_sites manage_network_users manage_network_themes manage_network_options activate_plugins delete_others_pages delete_others_posts delete_pages delete_plugins delete_posts delete_private_pages delete_private_posts delete_published_pages delete_published_posts edit_dashboard edit_files edit_others_pages edit_others_posts edit_pages edit_posts edit_private_pages edit_private_posts edit_published_pages edit_published_posts edit_theme_options export import list_users manage_categories manage_links manage_options moderate_comments promote_users publish_pages publish_posts read_private_pages read_private_posts read remove_users switch_themes unfiltered_upload upload_files Greets, Nico
-
All in all it shouldn't be that hard. What I would do is: Create a reduced Template of the current Processwire.com template which has something like 3 pages. So the front page would have to say hello, offer a "download v2.?.?" (newest version) link, a description of how to install it and maybe a little overview about the features. The second page should offer some translated code samples or stuff like this. The third page could ... do something else. This reduced version should be on english. Maybe us.processwire.org or so. Set up a multisite version of processwire using this reduced template. This installation could include all of the language versions excluding the original one on processwire.com. Chose some persons who speak different languages as authors for this. Their job would be only to translate the english reduced version. So they wouldn't have to be that deep in Processwires features. They just would have to understand english and translate it well. Finished.
-
Would be really nice