Jump to content

Macrura

PW-Moderators
  • Posts

    2,776
  • Joined

  • Last visited

  • Days Won

    40

Everything posted by Macrura

  1. i can confirm that processwire can handle all of the above requests with no problem (you could practically say that PW excels at all of these things)... just set it up and go!
  2. wow, I've read your post 2x and i still have no idea what you are asking. i don't know what the word uren means. but your $pages->find looks basically correct, that would result in a page array, since you are using find. after that i have no idea what you want to do, but you will need to foreach the results.
  3. you may have reached a point where MSN can't exactly output the precise markup you need, though maybe its possible; MSN is really amazing and can do some really complex menu structures; but if you want to build a megamenu, then you might want to consider doing your own menu system: https://processwire.com/talk/topic/2787-custom-menu-not-related-to-page-tree/?hl=%2Bcustom+%2Bmenu i just setup a menu for a site which uses both regular menu drops and also mega menu; i was able to get that to work by putting an option in my menu-item template for it to activate the mega menu, then there is a way to group the child items of that into columns etc..
  4. custom selector to find pages, maybe try $page?
  5. 1.) selector, path, or ID is correct. 2.) the 404 page uses the basic-page template, so the selector executed correctly.
  6. what are the field names in your repeater
  7. using pages for selects is better, unless it's a situation where you have a tiny # of options and no difference between the displayed value and the actual value
  8. Macrura

    RoR

    wow spree looks cool; how would you compare it to a solution with processwire+foxycart? FC 2.0 is coming in a few days. I've been able to successfully setup several sites with PW+FC and the clients really like working with PW since it has such amazing admin customization; also PW makes it easy to model the business logic and let FC handle the checkout.
  9. the processwire internet reputation enforcement committee.. nice work!
  10. the only time i had an issue with isLoggedin was when logging in to the admin by accident on a non-www and viewing the site on www
  11. it would be easy, you would create a list of the alphabet, styled like an alphaindex for example then each letter links to the search results of the selector query, you're search results page would probably need to use like a $str[0] to get the first letter etc...
  12. @Basil - thanks and of course that Ohm Speakers search owes everything to the skyscrapers profile... i really think once your mind gets processwired, you'll have a sudden epiphany about how to accomplish anything.
  13. self-hosted fengoffice is a solid choice. the cloud/hosted version has some additional features (i'm on a trial of that, but i'll probably stick with the community edition..)
  14. @Basil - fine suggestion, however here is my humble opinion: - processwire is a developers tool. - actually there already is a resource even better than a book: the forum. - no 2 sites will ever be the same, and consequently these tutorials would have limited value. - shopping carts are a breeze with foxycart, i mean like 5 minutes a breeze (for an initial integration, and then the sky is the limit) - travel agency..sounds like there could already be a purpose built system for this? this sort of thing would be not for the faint of heart.. - i don't think anyone here would gamble the time it would take to write such a book, and maybe your estimates are a bit high. - you can promote good karma by "flattr"-ing those developers who have flattr accounts (Soma, David-Karich).... cheers!
  15. @haha, AFAIK processwire requires URL rewriting with apache.
  16. @suntrop - yes you can make your own forms and then use FB to process them; for example this page: http://www.jonathandawe.com/contact/ is using formbuilder, but no jqueryUI, it's just markup with the form action to FB.
  17. hey cheers, but really that code was all demonstrated in the skyscrapers profile which Ryan was gracious to share with the world...!
  18. Macrura

    Lister

    really amazing! this is going to make updating large product catalog pricing, and other details something that the client can do with a little training.. sure beats any custom admin page listing i have done so far! not sure if this is possible, but one feature that I use in my custom page lists is icons for certain statuses; for example, if there is text in the body field i might show a fontawesome text icon; or if the page has images, a picture icon; this lets the admins see at a glance what pages might be missing images (helpful when setting up a site, and loading products for example); this could be done with llister as is, by using a filter, but i also wonder if there was a way to have a status column, like "if condition a, "insert html here"; if ($body) echo "<i class="fa fa-file-text-o"></i>"...
  19. @renobird - thanks for posting this; I just converted an admin page that was using this module to a process module, and your example helped... guess i'll be moving on and converting the rest of my admin pages to use process modules... thanks again to everyone posting about this!
  20. i think there will always be a use for this, even if you can easily create your custom pages in a process module; the other day i was in a meeting and the client asked for a point-of-sale page in their admin, using foxycart, but with blank fields; so with a few clicks and a 5 line form they had their POS and were able to use it within 10 minutes; i could go now and tighten it up and make it into a process module, but this is a low budget site, so they actually can't afford that.
  21. what would the advantage of wireDecodeJSON($json);
  22. <?php $results = json_decode($response, TRUE); $events = ($results["results"]); $events = $events["collection1"]; foreach ($events as $event) { echo $event["title"]["text"]; echo "\n"; echo $event["title"]["href"]; echo "\n"; echo $event["detailslink"]["href"]; echo "\n"; echo $event["detailslink"]["src"]; echo "\n"; echo $event["image"]["src"]; echo "\n"; } ?> this is working, but i will look into the suggestions posted above... looks interesting.. don't try kimono because you'll want to kimonify every site after you try it.
  23. @adrian, thanks, yes, already got the json decoded and into arrays/variables; so it's all good; i can post examples here; I wouldn't know how to cache the results though in PW... that would be cool...! i think my client wants to have the possibility of changing stuff often on the feed server, so maybe caching is not a good idea?
  24. @Marco, thanks for posting this. I just used it to create a feed from a site that wanted to charge my client $50/month to have access to their api; now we can have an api feed from that site using kimono for free. So far it seems to be working really well; it's really quite an amazing app; right now i have gotten as far as reading the json into my processwire site, but i do also need to now figure a way to take this json string and make it into my markup for the output... so i guess i'm a bit stuck in the same place as you are, but if i come up with anything i'll report back.
  25. @Pete - yeah this issue has been sort of lurking here and there on different threads... the thing is that making your own process module really is not a replacement for what this module offers in terms of ease, flexibility and speed in setting up custom admin pages; I spent at least 1 hr trying to change stuff in the module code to make it use the admin theme module, but i just couldn't figure it out; In the end the only way was to modify the index.php as was mentioned here... I'll be really happy once this issue of the wrong template file loading is sorted on this module!!
×
×
  • Create New...