Jump to content

kongondo

PW-Moderators
  • Posts

    7,480
  • Joined

  • Last visited

  • Days Won

    146

Everything posted by kongondo

  1. Of course, how could I miss that! Thanks DaveP!
  2. Thanks DaveP. I am mulling how to implement this in a search function (building on search.php that comes with the default PW install)...
  3. I think this is similar to this? http://processwire.com/talk/topic/691-wireinput-only-allows-one-dimensional-arrays-why/ $input doesn't do multidimensional arrays either...Advice is to use $_POST, etc..in such cases
  4. Good tip, thanks Soma. If I get stuck, I'll pick your brains later...... Or, if you can't wait for me to pick your brains later, you might as well please point me (aka please post some sample code to get me going, hehe) to some code now, thanks
  5. Glad your sorted it out. Please mark thread as solved if you can; Some helpful folks around here prioritise unsolved threads....
  6. As Wanze has aptly put it, it will only return selected pages in the fields of the multiple page reference field. ProcessWire is more clever than that Edit: Just for info Behind the scenes, what it actually returns are the page IDs of the selected pages in the multiple page reference field. If you echoed out a multiple page reference field (without doing a foreach, e.g. echo $page->multiplePageRef;) you will get the IDs of selected pages (e.g. 1407|1007). If you checked in the database the table holding the multiple page reference field (e.g. field_multiplePageRef), you will see those page IDs as the saved values. Now, if you have the ID of a page, you can do almost anything with that - find our who the parents are, if they have children, blah, blah..
  7. @jtborger: I for one would like to see your extended version. Please post away
  8. Is the a way to match non-adjacent partial words (note plural)...e.g. processw install. Haven't found a way so far. I know %=$q will match a single partial word.
  9. Also, maybe check the full 404 status in firebug or similar (i.e. path/to/page/xxx not found etc.) That should give you clues I suppose..
  10. That's a great find Diogo! Never seen one like this b4; thx for sharing. I think it would work well as a one-off/showcase. For everyday use/after a few clicks it kinda becomes tedious..
  11. If all else fails, I would strip my PW install down to the bare minimals (uninstall non-core modules; minus MSN of course ) or test in a vanilla PW install with only core modules and MSN installed and test from there to see if it works. Yeah, it is also good to test in different environments.
  12. Hi J, Maybe not a great idea to share your PHPInfo publicly? In itself, it may not be an issue, but if there was another vulnerability in your system (am not saying PW has a vulnerability; but other systems in your setup might) .....the less info u offer for free the better
  13. @dragan, A conflict with some other code maybe?
  14. Yeah, I'd seen that, thanks. I'll have to revisit it...
  15. Thanks for the explanations Ryan. The "small-x-columns" and the like are what stumped me and I didn't have the energy to dig around the code to find out what was happening. The documentation on their site was really sparse about this issue.
  16. Hi Hieu Do. Welcome to PW and the forums! PW can easily handle 100's of thousands of rows. This question has come up before. I can't find the relevant forum posts atm but am sure someone else will give you a better answer. Meanwhile, this answers part of your question: http://processwire.com/about/what/ Edit: Here's are other useful threads... http://processwire.com/talk/topic/2503-question-about-extreme-scale-hundred-of-thousand-maybe-millions-of-pages/ http://processwire.com/talk/topic/37-internal-optimisation/
  17. Wow! Very much appreciated, thanks Ryan! I've been stuck on Foundation 3 since I've never really grasped the "new" Foundation 4 syntax. I'll study this profile to see if I can get it
  18. Not sure I follow correctly but the below will return all selected pages in a multiple pages reference field foreach ($page->name_of_multiplepagereference_field as $t) { //this is for the current page //do anything with $t } In the above example, $t will return Page Arrays. Hence, at your disposal are all the properties of each selected page, their titles, their names....everything about them.. If you want to simply check if something is selected (i.e. if there is a value) you do.... if ($x ) {// $x here is some previous page results returned from find() or get () //do stuff. } I have a feeling the above are not what you are asking since they seem rather obvious from the documentation Written in a hurry, there could be mistakes.
  19. OK, for starters, create the errors.txt and let's see if it will be written to...(make sure it's writable)
  20. What about this folder? /site/assets/sessions/
  21. Hi Alicia, What do you mean by this?...that there is no errors.txt file or that it is present but not reporting anything? Even with @Macrura's suggestion, if the problem is the differences in PHP versions, that still won't solve your problem I suspect. Let's hope am wrong . Are you able to change your server's PHP version to 5.4?
  22. I recently checked; they can't co-exist....unless there's some way to do it programmatically that I don't know of..
  23. Uh? Edit: OK, now I get it
  24. I'm trying to think about this using a music analogy..... Article = Song Author = Artist Tag = Genre In many cases, artists belong to one or two genres and their songs follow suit... What am not clear about is are you tagging the "authors" or are you tagging the "articles". For instance, an article tag could be "health", "obesity", etc. Author tags could be "fiction", "academic", etc....
×
×
  • Create New...