Jump to content

Fokke

Members
  • Posts

    74
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Fokke

  1. Fokke

    Satu

    Hello horst and thank you for your feedback! Animation is done with CSS transitions by animating opacity and scale. I wrote a simple jQuery plugin to handle animate-in and animate-out classes. Plugin is similar to Sequence.js.
  2. Fokke

    Satu

    Oh, sorry. Maybe I will try Apeisa's shop module. I'm not sure when this will happen, as it's possible these bags will never be sold via the website.
  3. Fokke

    Satu

    Thank you guys! @Matthew Good catch. Perhaps I should decrease the font size a little on portrait tablet breakpoint. Those orphaned words look very goofy. @pwired There's no shopping cart yet.
  4. Fokke

    Satu

    http://www.designsatu.com Satu Jaakkola-Chiari is a Finnish fashion designer. She has two decades of experience with high-end fashion design in Italy. This is a small promotional website for her latest collection.
  5. Fokke

    Carscallen LLP.

    Looking very nice! Great job!
  6. I'm using rsync to keep development and production sites ~in sync I have two separate commands to pull assets from server and then finally pushing the whole site directory back in, excluding some files/dirs if needed. It's not beautiful, but it works.. for now : )
  7. Hello there! Just place it into the template. If you need to run the same code on the other templates, write a function. A module would seem like an overkill here.
  8. Hi! Hopefully I understood what you're trying to archieve. <?php // On rider template $rides = $pages->find("template=ride,rider={$page->id}"); ?>
  9. Using the latest dev branch. In template 'event' I have two integer fields, participantsMin and participantsMax. Both fields are optional. In the search form I'm building a selector to match events by search terms. Let's say I want to find all the events that accept 20 participants, the selector will be the following: template=event,participantsMin<=20|0,participantsMax>=20|0 If I edit the event page and set participantsMin to 10 and participantsMax to 40, the page will be matched. If I leave either one of the fields empty, the page will not be matched. If I understood correctly, I need a logic something like this: template=event,(participantsMin<=20|participantsMin=0),(participantsMax>=20|participantsMax=0) Can't find the correct term for this... (either-or?) Also, got an interesting error with this selector: template=event,participantsMin=7|0,participantsMax=7|0 Error: Exception: SQLSTATE[42000]: Syntax error or access violation: 1066 Not unique table/alias: 'field_participantsmin' (in /Users/Fokke/Sites/lkp/wire/core/DatabaseQuery.php line 86) Any help will be appreciated. Thank you!
  10. In admin panel, click Access --> Users. In this page there is user called guest.
  11. Hi Relmos! If I remember correctly, you can just switch language for guest user.
  12. Hello there! To get the full URL of page, try this: echo $page->httpUrl; // Current page URL echo $pages->get(1)->httpUrl; // Home URL
  13. Hello Nicolas! ProCache is doing the hard job here, and doing it pretty much flawlessly. Other optimizations include: - Minified and combined CSS and JS - Minified HTML (module by michamichamicha) - Optimized images So, nothing too fancy here. I also tried to keep the server request count as low as possible.
  14. Thank you for your heart-warming feedback! @totoff Yeah, I have noticed this too. When you hover an image, the other thumbnails are shifting 1px in both horizontal and vertical directions. This is very weird and seems to happen randomly. I think that CSS3 transitions I have used here have something to do with this. @teppo Did you visit the opening event? Especially the first band called Toto was awesome. Very hypnotic!
  15. http://www.tamperemusicfestivals.fi/jazz/ The four-day jazz festival starts today. There will be a lot of traffic on the website, but I'm sure everything will run smoothly since ProCache makes the site run very lightweight and fast. In previous years this website has been running on WordPress or MODX. This year we switched to ProcessWire, and it has been a huge improvement. Everything on the site is fully editable, which makes the client very satisfied. Also, PW has revolutionized my workflow as well. I have quite the same feeling as when I switched from Windows to OS X : ) Logo is designed by the artistic director of the festival, everything else by me.
  16. Hello Mike! Check out this topic: http://processwire.com/talk/topic/3426-search-not-returning-3-letter-words/
  17. Hi! These two small "bugs" have been around for quite a long time. Tested with the latest dev branch. In a template view, add some fields to the template and set widths for them. Duplicate template, the widths will not be copied to the new template. Switching admin language in the user profile view does not work. When you save the profile, the language will bounce back to the default language. However, changing language from Access -> Users works as expected.
  18. Hi! Try the following: <pre><?php echo 'items before: ' . count($page->advertize_homepage) . "\n"; $slides = clone $page->advertize_homepage; $slides->append($page->advertize_sidebar); $slides->shuffle(); echo 'items after: ' . count($page->advertize_homepage); ?></pre>
  19. Pure seems to use very simple HTML with the menus, with some classes and id's to control the behaviour. I believe you can easily tweak the default output of the module to make it to fit your needs.
  20. Hello there! I'm using the latest dev branch on local environment. PHP 5.4.10. Moving pages in the tree seems to be somewhat broken. I'm not sure if this problem is only related to the latest dev branch. I have set up a simple category->product tree like this: Category 1 -- Product 1 -- Product 2 -- Product 3 Category 2 -- Product 4 -- Product 5 If I try to move product from category 1 to category 2, the product will get moved, but the loading arrow (?) after the moved page name keeps blinking and the site tree stays frozen. When I move product within the same category, only changing it's position in it's category, everything works fine.
  21. Hi there! The following code grabs first three images from the field "images" $firstThree = $page->images->slice(0, 3); foreach ($firstThree as $i) { // Output goes here }
  22. Hello Diogo! Yes I have done this, all multilingual fields are now working properly, except the repeater. Since I've got a little rush with this site, I'm going to use pages for those timeline blocks and try to figure out this repeater problem later. Sorry for bothering you. I'll be back when I get this fixed : )
  23. Hi everyone! My first post here. Long time reader though I'm using the latest dev build, and I have set up a small site with two languages: english (default) and finnish. Everything is running nice and having multi-language page names and fields is a real time saver. But... I have set up a repeater field called timeline, with one field (for now) attached to it. Field is called "title" and it's type is textlanguage. I created couple of rows into repeater and filled title for both languages. If I try to loop all rows using foreach, the english titles appear with no problem, but finnish titles are missing. echo 'rows: ' . count($page->timeline); The following line returns 4 in the english version of the site, but 0 in finnish. Am I missing something here?
  24. Mic test. Testing!

×
×
  • Create New...