Jump to content

teppo

PW-Moderators
  • Posts

    3,227
  • Joined

  • Last visited

  • Days Won

    109

Everything posted by teppo

  1. There's a closed issue related to this at GitHub; magnific popup has replaced fancybox in dev branch. This issue has also been mentioned here before. On a mobile so I can't link to related posts right now.. try Google search if forum search returns nothing useful
  2. @Manol: might want to check this GitHub issue out. Looks like something somewhere has changed and all 3rd party admin themes may not be entirely up to date, possibly related to your issues here. By the way, have you made sure that you're running latest version of Futura?
  3. RT @boagworld: Content is not king. Great post about content exists to support broader business objectives and strategy. - http://t.co/oyis…

  4. @lundy: congratulations, you've nailed it. That's a very good way to describe it Of course it's not literally quite like that. Since you've mentioned that you're a beginner, it might be useful to know that there's a lot more happening behind the scenes: Each page is connected to a template, which is connected to a fieldgroup and each fieldgroup is connected to varying number of fields. Taking things even further, each page is represented as a row in pages table, each template as a row in templates table, each fieldgroup as a row in fieldgroups table, each field as a row in fields table and so on. Eventually each row of data you've filled on any of your pages inserts a row in that particular field's own database table, i.e. field_title, where column pages_id identifies the page this particular row is related to and column data contains actual title field content for that page. Field tables can have varying amount of different columns, but this is the basic setup anyway. Understanding how things are connected at database level IMHO makes them more obvious on the front end side, but for most use cases (and most users) knowing what you already know is quite enough. It's still good to realize that there's a lot more to a system like this than just simple database table with couple of columns and rows Each question as it's own page does seem the most obvious solution here. Of course this still depends a lot on your specific needs; are these questions just simple question-answer type of things, how much data is there going to be for each of them, do they have comments or votes etc. Ryan recently published an events field, which could also easily be modified to accommodate very simple question-answer-pairs.
  5. @pwired: if you want to create your own starting point, take a look at http://modules.processwire.com/modules/process-export-profile/. ProcessWire blank profile already mentioned above is available at http://modules.processwire.com/categories/site-profile/ (among other options).
  6. RT @osulop: I can get notifications of spam emails on my wrist. We can cancel the rest of the future, it's all here now. http://t.co/qkVM5T…

  7. RT @angramify: @holman "panda"ALWAYS. who doesn't want to see a panda?

  8. Each time someone classifies me as a technical person, in good or bad, I'd love to have a copy of this with me: http://t.co/zQzdmwewCR

  9. Hi! On a bit of a rush here, just some short answers: Yes. PageArray, when treated as a string, should look like that. See PageArray->toString() for more details. You can access specific items with $pagearray->eq(0), $pagearray->eq(1), $pagearray->first(), $pagearray->last() etc. or iterate it with foreach. Through API or via admin UI? Both should be doable, admin UI has "copy" link and http://cheatsheet.processwire.com/ provides details for API side (tip: look for "clone" method from Pages or PageArrays.) No, created date tells when page was created, i.e. added
  10. RT @iamdevloper: The CSS community: "So, we're now using BEM, OOCSS and SMACSS".Everyone else: "That. Is. So. Cute."

  11. RT @phpizer: Awesome PHP Debuggers for Developers Latest Tutorials http://t.co/wmnQwn19QG

  12. RT @hkokko: Testing visual appearance with Cucumber + Watir http://t.co/bhWRXAWdg0

  13. Spent afternoon writing simple unit tests for old, "stable" code; so far caught and dealt with three or four minor bugs.

  14. RT @planetphp: Automated Testing With Selenium2 And PHPUnit - Kevin Waterson http://t.co/juRK1jijLI

  15. @Ryan: not sure if you've included that in your version, but you might also want to avoid minifying content within pre tags. Personally I'd also leave script tags alone. The minifying solution I used as basis for example code in my hooks blog post didn't originally account for that, which is why it blew my site apart under certain specific conditions. Could've avoided this by altering embedded scripts, but it felt safer to simply skip them. If I really wanted to minify JS, I'd rather use a service built for that -- better results, fewer issues
  16. Lost Internet connection makes retweet attempts result in no reaction at all, navigation results in an internal error. Nicely done, Twitter!

  17. RT @successmagazine: "The reward of a thing well done is to have done it." -- Ralph Waldo Emerson

  18. RT @smashingmag: A lot of good stats and general trends in digital. Worth checking out. "The Future of Digital" (Slide Deck). http://t.co/k…

  19. RT @OrenHafif: Google Account Recovery Vulnerability http://t.co/m0mhD5lF4c

  20. @everfreecreative: make sure that you've got the latest version from GitHub. This bug was supposed to be fixed a (short) while ago.
  21. I wonder how bad idea it would be to get a Chromebook and install LAMP stack on it?

  22. I'm not entirely sure what you're asking here, but still: ProCache won't affect any other aspect of these page speed tests other than server response time. Expires headers, page structure related stuff, minified scripts & styles & markup etc. still apply. Your content just gets served from files on disk without PHP and/or MySQL slowing things down. So, did this answer your question?
  23. RT @alexhern: http://t.co/a6PNBy7evD’s website helpfully suggests SQL injection attacks in its autocomplete: http://t.co/tP0qtHET4e

  24. This is kind of related to this issue and this commit at GitHub: it sounds like Fancybox has problems affecting IE10 and since Fancybox is being replaced by Magnific Popup in 2.4 these issues should be solved at that point. Another question entirely is whether it's worthwhile to fix Fancybox issues in current (stable/master) PW release.. Oh, and no worries, Joe; your IE-situation is very familiar
×
×
  • Create New...