Jump to content

apeisa

Moderators
  • Posts

    4,632
  • Joined

  • Last visited

  • Days Won

    55

Everything posted by apeisa

  1. alchime: You shouldn't update jQuery UI styles by hand. They are bloat, but there is nice online generator for that: themeroller which outputs you the css.
  2. Loading times are ok. Site pings 140ms and .org pings 170ms. My dreamhost domain pings 300ms, my linode sites pings 65ms and local sites pings 21ms. Loading time changes quite a bit when I do hard refreshes on one regular page (http://processwire.com/api/variables/page/). I would say avg load time is something like 2.30ms. Sometimes almost 3 seconds and sometimes 1.50ms. I haven't have really slow page loads ever, so I think it works pretty well. I compared it to few our sites (pw and others), regular content pages and I could get avg load times between 0.9-1.3s. I got 20Mbit ADSL. There could be some easy and good improvements to the front end coding too, which could help loading times (I don't say these are something that need any attention now, but maybe when we get to processwire.com redesign). YSlow gives grade C. Quick apache conf changes that could be made: contents are not gzipped and static resources doesn't have far-future expire headers.
  3. If you don't mind managing your own vps, then I would recommend linode: http://www.linode.com/ (one of their data centers is in London). Prices start from 19.95$ / month. I have also dreamhost: http://www.dreamhost.com/ where I manage my domains and few small sites. I like their control panel, but nothing else. (s)ftp is very slow. It runs pw without problems though.
  4. I probably output the required css to html directly. If I remember correctly it is a one liner...
  5. Great stuff! Will definitely try this soon.
  6. In 2011 I hope, but it depends on Ryan's schedule.
  7. Ah, of course Thanks Diogo! That error msg really needs some loving though (although probably something that we can customize after lang support).
  8. I tried to create new page with title "processwire" under the root (fresh p21 install from latest commit) and it gives this error: Duplicate entry 'processwire-1' for key 'name_parent_id'
  9. Does it have same issues if you try other inputfields?
  10. What inputfield you are using?
  11. Quickly tested and I couldn't reproduce this. Do you have any other settings that might affect this? Ie. "Parent of selectable page(s)"? Multiple or single page?
  12. Great! Glad you got it working.
  13. Many ways to achieve this, but I would use something like this: $pa = new PageArray(); foreach ($pages->find("template=page_languagecontainer") as $p) { $pa->import($p->children()); }
  14. Actually that wouldn't work either. Children() is method for page object (http://processwire.com/api/variables/page/), but find() returns multiple pages (pageArray: http://processwire.com/api/arrays/page/). Ie. this should work: return $pages->find("template=page_languagecontainer")->first()->children();
  15. Hi Martin and welcome to the forums. $s->createdUser right thing here, but it returns user object (which is actually just a regular page like others), so $s->createdUser->name should return user's login name. Gotta mention here, that user template (=user profile) is also just a normal template, so you can add more fields there too (like firstname, lastname, phone number, image, address etc..) and use those values just as easily: $s->createdUser->firstname
  16. Btw is it planned to have access management per tab? I remember Ryan mentioned that per field access management is coming (it would allow great workflows etc) and I assume that this would allow us to have per tab management too? (at least for custom tabs, but how about settings tab?)
  17. Ryan posted PW to opensourceCMS so if you guys wanna go and cast a vote, it would great: http://php.opensourcecms.com/scripts/details.php?scriptid=561&name=ProcessWire
  18. I have asked thousand times about users, roles and permissions. User access is something that when you have used to one way to do it, you have hard time to learn different way. Or at least it has been for me
  19. It is intended and allows editors to preview before publishing.
  20. For some reason it gives 404 / page not found error - so it same error than ie. this page: http://cougar.showtimedesigner.com/projectsgh/ One possible issue comes to my mind: User access: be sure you haven't restricted access from guests. I don't think that problem is in template code. but in template settings. Also are you using 2.0 or 2.1?
  21. No worries and welcome to the forums. If you don't get it working, just paste your template code here and I am sure we can figure it out.
  22. If your textarea field is called "youtube", then it is simply this on your template file: echo $page->youtube; And this is example code that your client updates to that field: <iframe width="560" height="315" src="https://www.youtube.com/embed/XKnG7sikE-U" frameborder="0" allowfullscreen></iframe>
  23. Great job Ryan! Looks like a interesting module - will install and test this soon.
  24. Also not sure if you need to add "quest" role or is it added automatically.
  25. Forgot to thank you about this Ryan, great work!
×
×
  • Create New...