-
Posts
199 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Philipp
-
First Year Programs at the University of Washington runs on ProcessWire!
Philipp replied to Jennifer S's topic in Showcase
I like the design, the site overall looks good. But please do something for the page speed. (Here, Germany) The Site loads around 2.5MB in 27seconds. I've tested it multiple times on two machines and the site is just slow. http://d.pr/i/YbAs Maybe activate gzip and compress those huge JPGs -
Great website. Really took some minutes to explore the content. Your texts are a pleasure to read. Have to bookmark the site as a good example. And your loading speed is good. Not that typical overloaded jQuery page with megabytes of scripts and requests. Another dead link: http://www.typneun.de/leistungen/ Under the FAQ Question about the AGBs, your link to the AVG just throws a 404.
-
Moving PW is creating problems with TinyMCE images
Philipp replied to dreerr's topic in General Support
I know the problem you described. Normally, I just fixed the paths by hand in the editor - possible if you only have around 10 images used. My current workflow is to develope a site under a subdomain, for example dev.example.com and later make it example.com . So I'm just avoiding sub-directories. Maybe it would be possible to replace all <img src".."> directly with some SQL Queries and a little bit of Regex magic. -
This is nice if your client is using the side and you're not longer developing the site. Then it's a little bit of a security measure not do easily delete pages, users and stuff. In Development on the other hand, it's really sometimes a little bit frustrating. I'm always using the "Page-Delete" and the "Page Copy" Modules just to be faster. Maybe a solution would be a switch - if debug or development modus is active, you get those easy delete links and batch operations. If not, everything will require some more steps for security.
-
Replacing german chars in page-name (url)
Philipp replied to Philipp's topic in Multi-Language Support
Ok, that's better than editing the original module file. Thanks. -
A suggestion regarding the german "umlauts" ä ö ü . When I create a page and the page name contains a Umlaut like ä, it becomes an "a" in the URL (example: "Jährlich werden" -> "jahrlich-werden"). I know a URL can't contain a ä but normally you just write them as ae instead of ä. The german Wikipedia explains this a little bit, the english not. But maybe some of my fellow german developers here can confirm this. Example: https://github.com/ryancramerdesign/ProcessWire/blob/master/wire/modules/Inputfield/InputfieldPageName/InputfieldPageName.module#L18 public static $defaultReplacements = array( 'ä' => 'ae', 'ö' => 'oe', 'ü' => 'ue', And maybe we can add the "ß" to convert to "s" or "ss". It's used for example in "Straße" ( = Street).
-
Just a little note to the forum search: I can't search for "url". Maybe it's to short for a legit search string. But when I search for "url naming" or "url segments" it throws away the "url" and only searches for "naming" or "segments". Using google with "url processwire" works fine
-
I'm (or was) mostly a designer but managed to make Processwire Pages. As everybody said before: You will get clean, structured and fitting pages for the cost of pre-made templates and 1-click-solutions. On the other hand, that's exactly how design works: You just can't stick together different parts (=plugins) to create a real outstanding design. It doesn't work. Every design is unique and so are most PW pages. And to complete the analogy, you can reuse some design patterns again (for example Sliders and the JS Code behind) in Processwire. If you have any trouble and lots of question, feel free to contact me via Skype or PM ( Auf Deutsch ist es vielleicht manchmal leichter / Sometimes it's easier in german)
-
Maybe you can look for them on dribbble . Maybe graphic design students in you area might help you.
-
Take this ü with you. On german keyboards, it's a dedicated key beside [ENTER].
-
"ProcessWire Deutschland" -> correct "Processwire Deutsch" -> correct, but sounds wrong to me "ProcessWire Deutsche" -> wrong Also "Deutsches Processwire" but not sure if this is right(it sounds wrong).
-
Website is translated as "Webseite". Better would be "Deutsche Processwire Seite" (Sounds better) or "Processwire auf Deutsch" ("Processwire in German"). If you want to have Processwire at the beginning of the sentence it should be "Processwire: Deutsche Webseite"
-
@martind You have to install it first. PW comes bundled with the module, but you have to go to Modules - Repeater and click install. After that, you should find "Repeater" as a new field type.
-
Maybe a module that writes this. I've had once activated the HelloWorldExample module and after a hour I figured out, that it writes a "Hello World" at the end of every page.
-
Panorama Heidenheim - Using tumblr on iOs to post to PW
Philipp replied to Philipp's topic in Case Studies
Hi, using the E-Mail is really a nice idea and you could bypass the limitations of the tumblr API (1280px Images,..). On the other hand, you do not need any special tool (as you said, nearly every smartphone has a share-by-mail feature integrated) I'm just using apeisas Process Data Import Plugin and this is "my code" behind writing the PW pages. You could say, my example site was more like a proof-of-concept by using the modules and tumblr. Sorry, can't help you here. But maybe this helps: // Here we create the pages foreach($values as $item) { $pageName = $this->sanitizer->pageName($item[1], true); // 1 is ID for title field $p = $curPages->get("template=$template, name=$pageName"); if (isset($p->id)) { // We already have the page, just update the values } else { $p = new Page(); $p->template = $template; $p->parent = $this->pages->get($parent_id); $newPages++; } foreach($item as $key => $value) { $field = $this->fields->get($key); $fName = $field->name; $p->$fName = $value; } $p->name = $pageName; $p->save(); } https://github.com/apeisa/ProcessDataImport/blob/master/ProcessDataImport.module#L379 (from apeisas module) The Cheatsheet might help. -
Nothing. Just the basic-page template with a field called images or "bilder". Activating the Debug mode displays the full error: I've first checked the admin.php in the templates folder - it's there. Older versions of PW with the module are running on the same server without any problems. Could try to install it on the machine here. EDIT: Ok, strange but known behaviour: I've uninstalled everything and installed it again. Now I'm stuck at the upload with the error as Joss. EDIT 2: Works now. Just followed the steps Joss described.
-
http://processwire.com/talk/topic/643-release-thumbnails/page-8 For the lazy. The discussion started a page earlier. On Topic: Just made a fresh 2.2.14 install. Everythings fine. PHP 5.3.15 FastCGI Apache* MySQL 5.1.59 (*Not sure about the version. Running on a managed plesk hosting)
-
Yes. Now I have created a new field (named it again images,deleted the old one?) and the error still occurs.
-
Downloaded the latest version from Github. Installed it on PW 2.2.14 (2.3) on a fresh installation running with PHP 5.3 - It works so far until I want to edit the crop area. Click on it just opens the new tab saying Hope you can come up with a working version for PW 2.3. This module is so useful.
-
How to get the Gallery from the blog test ?
Philipp replied to alchime.net's topic in Getting Started
Don't know if it is a module but I think it's just using Processwire with Fancybox Output the images from a page(using the standard images field) and Make Thumbnails +the right anchor around them. I'm using a simple (and ugly) PHP+HTML Loop through all images on the page as $i. One way to generate Thumbnails is to use the size(width,height) function. foreach($page->images as $i) { echo '<a href="' . $i->url . '" class="fancy" rel="gallery-1">'; //The anchor for Fancybox echo '<img src="' . $i->size(120,120)->url . '" width="120" height="120" alt="Thumbnail"/>'; //The Thumbnail echo '</a>'; } Then include the fancybox JS and let jQuery do its magic $('.fancy').fancybox() . Read the manual and see how you can modify the behavior of the fancybox. -
Recommend a Code editor with FTP, for working on template files
Philipp replied to Crssp's topic in Getting Started
This is the only reason I'm using my Macbook - There is Coda 2 (from Panic) and - in my eyes - it is the perfect solution for web developement like Processwire templates(little bit PHP, mixed with HTML and CSS). A non-commercial solution for Windows is Aptana but I thnk it is kinda overloaded with features and slow. Currently, I'm testing Webdrive FTP. I can mount my FTP Dir to the explorer and then every editor can use it as a normal directory. -
The page tree you see in your PW admin is your page structur. As you already figured out - unlike other systems - you have to create everything like news or your planets with your own logic on how to sort those pages. So if you only want the first level of the pagetree as your navigation, you would only output the children of / and don't go deeper into the structur. This is done by your templates. Make a page called "Planets". Now click on it and then this time click on the "new" link next to "Planets". This will create a child page of "Planets" with another template like "planet". For each page you can select the template while first creating the page. It is the last dropdown after you clicked on "New". If you want to display somewhere on your site(in your template), you have to loop through the children of your page. <?php foreach($page->children->find('template=planet') as $child){ echo $child->title; // Your menu or whatever };?> The Cheatsheet helped me alot
-
Philipp Reiner - Heidenheim, Baden Würtemberg - @whysonervous oder eben "alte" Homepage philippreiner.info
-
First impression looks great. Can you explain this a little more in detail. I'm on a shared Plesk Hosting Enviroment.
-
Mats already postet the page. To make it clear, look up "Custom Options and Markup" . $results->renderPager(array( 'nextItemLabel' => "Perto", 'previousItemLabel' => "Anterior"))
- 3 replies
-
- 1
-
-
- pagination
- pager
-
(and 4 more)
Tagged with: