• Content count

  • Joined

  • Last visited

  • Days Won


rick last won the day on December 26 2015

rick had the most liked content!

Community Reputation

418 Excellent

About rick

  • Rank
    Sr. Member

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
  • Interests
    Web applications, scotch, hunting, fishing, scotch, graphic design. Did I mention scotch?

Recent Profile Visitors

2,608 profile views
  1. Thanks @Robin S and @Jonathan Lahijani. I was thinking about page references, but posted the hierarchy as a simple way to show the relationship. So Robin, I agree completely, and prefer the future-proof methods as well. Jonathan listed out the organization that clears some of the brain fog. Haha. And yes, contractors are actual people. Thank you both for your insight!
  2. Howdy all, I'm tryin' to wrap my head around the best way to organize a site and hope y'all can offer some clarification. I have a large number of contractors, approximately 4000. I have a large number of contractor companies, approximately 10-20. Each contractor company has a variable number of current job sites working. Each contractor company has a variable number of specialities, such as electrical, plumbing, etc. Not all apply to each company. I need some means to assign a contractor to one or more contractor companies, and to one or more job sites, and to one or more specialities. An organizational option I have thought about is as follows: Contractors -- Contractor Companies -- -- Job Sites -- -- -- Specialities So I need to dynamically create each of these pages, ie, add a new job site and assign specialities to a company, then assign one or more contractors. I am thinking of process modules to handle this procedure, then create the module interface to display results on the front end. I hope that I have explained this well as I've managed to maneuver my brain into a fog.
  3. Hi @adrian, I haven't had a bad run with Tracy at all. On the contrary, I nominate Tracy for module of the year. And you have done an excellent job of maintaining this indispensable tool. I've made the changes to the rss module. I don't see anything crop up yet. Thanks for those. Upgraded to Tracy.26 on both local installs and all is functioning well. I appreciate your time and help!
  4. Hi @adrian, I just installed the MarkupLoadRSS module and all kinds of stuff started happening with Tracy. First, I noticed that I can't place the mouse in the snippet name field. As soon as you click in the text box the cursor is immediately placed back in the console window. This is fresh PW.94 localhost install and Tracy.25 is the only other module installed. Second, I now get the following: Exception: Objects returned by MarkupLoadRSS::getIterator() must be traversable or implement interface Iterator in /var/www/tgp/site/assets/cache/FileCompiler/site/modules/TracyDebugger/panels/RequestInfoPanel.php:181 Stack trace: #0 /var/www/tgp/site/assets/cache/FileCompiler/site/modules/TracyDebugger/tracy-master/src/Tracy/Bar.php(159): RequestInfoPanel->getPanel() ... Lastly, I cannot scroll the results pane horizontally. There is no scroll bar. I have uninstalled the rss module, shutdown pw, and restarted... the behavior is consistent. So I am not sure whether this was present before I installed the rss module. I am not sure if this is related, but on another localhost development site (never had rss module installed), I upgraded Tracy from .23 to .25 and got this error: Failed to init module: TracyDebugger - Tracy\Debugger::dispatch() called after some output has been sent. Output started at /.../wire/core/FileCompiler.php:980 And the behavior is identical as seen with the other localhost site. Edit: Additional Info... I am not able to select any text from within the results pane. It behaves as if some selection is already in progress. When attempting to make a selection, either by mouse or keyboard, the selection starts at the very beginning of the results pane content and selects wherever the mouse or keyboard control was initiated. I have seen something like this before quite a while back. If I remember correctly it was a JS issue. I do not remember how it was resolved.
  5. 304 of xxx,xxx
  6. Howdy @ksymmons, This is an interesting topic, and one not easily answered as there are many individual preferences. But my generalized workflow has been: Initial client contact. Needs Analysis - I have only stood face to face with a client and their support team (marketing, documentation, training, IT, SMEs, etc.) and never used email to discuss functionality, unless it is a simple question. Functional Requirements Specification - Which also includes the timeline (milestones), payment options, and my NDA. They return a signed copy along with a check, or they throw the thing away. Upon the check clearing, I begin the project. I submit for review (in person if required) at each milestone, and collect another check upon sign-off. Rinse and repeat. The product is delivered upon clearance of final payment. Now, as with most any project, there will always be feature creep that was not disclosed during the NA phase. I present an addendum to the original spec that outlines the requirements, timeline, and costs of this new mini-project. Like I said, it's mostly personal preferences. However, there are certain expectations when dealing with large clients. Face to face meetings, for example. I don't know of any company that will hand over a large check without first meeting you. The Needs Analysis phase can last from a couple of hours to a number of days, and even involve travel to other locations. The client pays for my expenses, and I spend as much time with them as necessary for us both to be satisfied. Nothing is worse than having to go back to the client and ask a question that should have been covered initially. Hope all this helps. Regarding your long questionnaire question, I never expect a client (however small) to spend time completing an online form unless that online form is part of the project.
  7. Hi @Monty, and welcome to the forum! With the blank profile, you are left to build everything you may need for your site. However, you can use the code from other profiles, such as from the site-default/templates/_main.php file to generate your menu navigation, like so: //place this code in your template where you want the menu displayed. <ul class='topnav' role='navigation'><?php // top navigation consists of homepage and its visible children foreach($homepage->and($homepage->children) as $item) { if($item->id == $page->rootParent->id) { echo "<li class='current' aria-current='true'><span class='visually-hidden'>Current page: </span>"; } else { echo "<li>"; } echo "<a href='$item->url'>$item->title</a></li>"; } ?></ul> Another option could be to use the _func.php file located in the site-default/templates folder of the processwire zip file you downloaded. This file contains a similar function to generate a navigation menu which you can call from a template. It all depends on which method (eg, Delayed Output) you are using to create your site and the structure of your pages, so this is only a general information. Is this the planets tutorial? Feel free to post your structure and someone will be able to give you more specific suggestions.
  8. It appears that it is built on PW and bootstrap. [edit] Sorry. The site itself is PW. Not sure about their app software. Although I am working on a similar type application (workflow specific) entirely within PW, I don't see any reason they would use something different.
  9. If the url (with manual query params) works when pasted into the address bar, but the exact same url (with query params) does not work when invoked through code, then I would next compare the headers. Also, have you tried url encoding/building the query string? I noticed the following in your example code: "/events?&token=" ^
  10. It was a guess, since the error points to a whole number but works when you manually enter the data. So the echo'd $result is identical to your manual entry? This is in the test environment only, correct?
  11. Maybe use double-quotes around $pageSize ?
  12. I think there should be an annual award for best module.
  13. That is exactly what @BitPoet said about the aggregate functions. I'm wondering if you can view the various PW queries via Tracy as further examples while studying. It would help to see actual data being used. Applying your instructions to actual content would help with understanding how PW works internally. For example, Seeing how PW creates queries from selectors.
  14. The author may be using a previous mysql version that did not have this option enabled by default. I was just curious because I couldn't see a instructional site/book giving you wrong information. And it doesn't matter at all whether you know what group by does. The point is that you are wanting to learn everything you can. We all can learn something new regardless of experience.
  15. From what I understand, you are attempting to group the resulting data by a column that is not unique; There are two entries of 222, which confuses mysql because it doesn't know which one to use for the group. Why are you wanting to group results of this particular query? I understand that you are learning sql, but this example isn't the best option to learn GROUP BY. [edit] @BitPoet replied. The only concern I have is disabling a warning rather than fixing an issue. I would rather use any_value(column_name) to tell mysql to pick one.