quickjeff

Members
  • Content Count

    303
  • Joined

  • Last visited

Community Reputation

59 Excellent

About quickjeff

  • Rank
    Distinguished Member
  • Birthday 07/17/1987

Contact Methods

  • Website URL
    http://www.quicktoimpress.com

Profile Information

  • Gender
    Male
  • Location
    Chicago, IL
  • Interests
    Design, Code & SEO.

Recent Profile Visitors

4,734 profile views
  1. quickjeff

    Hi Guys, for some reason duplicator is not saving the entire directory. I only am able to backup the database.
  2. quickjeff

    How about using this with this module? https://modules.processwire.com/modules/login-register/ Have you done this before or will it work nicely? Or do you suggest not using it together? Thanks!
  3. Hey guys, Looking for another dev to help on multiple processwire projects as well as some other PHP apps. First project is a directory style site with lots of components to come, including stripe implementation and other fun stuff. Need someone ASAP to help out. Thanks.
  4. quickjeff

    Robin, awesome thank you! Here is the thing, I can certainly get the position on the actual page that contains the foreach loop and selector but I also have an account page for the restaurant owner to see data on his restaurant such as what cities he is appearing under. However this page I would like to show the position his restaurant is displayed at. Right now, the only way to do this is to write the foreach loop again inside of the account page. I think the way I have it now is a poor way of doing it, Ideally I would like to somehow find a nice way to display the position the restaurant listing appears in. Any other input is appreciated. Thank you!
  5. quickjeff

    Hey Robin, Popularity score I am using is based on star rating, using the comments field for this one and requiring stars. Then when I use a selector and then foreach loop I am sorting by average number of stars. However I want to be able to show the restaurant owner the ranking of their restaurant per city. Thats the issue. The position is not being stored anywhere, it's happening on the fly with the loop. If I decided to store it on page load, then I would have to rely on the page being loaded for an update as new restaurants are added.
  6. Hi Guys! I have a bit of a puzzle for you. I have been mapping this one out in my brain and on paper all week. I haven't come up with the right solution yet. Here is the project. I am working on a directory site similar to http://demo.processwire.com/ but for another subject. Let's say I am building the skyscraper site but let's say I am doing this for restaurants in cities. I am building a parent page called cities and then a parent page called restaurants. Goal is to display the restaurants according to popularity. Therefore, if I am storing the pages under their appropriate parent. Restaurants are under restaurants and cities are under cities. Visual Page Tree: Cities New York Chicago New Orleans Restaurants Big Toms Burgers McDonalds Dominos Now a restaurant may have 10 locations therefore, I am using a foreach loop inside of the city page to call all restaurants that pertain to this city and sorting by popularity. Here is the kicker, how the heck do I document the position the restaurant appears in under the city? Do I save a value in the database? I know I can use a counter to count the loops and assign a value then save that value to the database to the pertaining Restaurant but this relies on page loads and imagine 1000 restaurants all updating at the same time on the database on page load. WOW! No go. How the heck do I save this value without ever having to load a page? ALL IDEAS WELCOME PLEASE!
  7. Hi Guys, I am running a page template that contains a filter form that allows users to display results based on number of comments. Here is what I am thinking about doing: -add new field called total_comments -somehow populate this field every time a new comment is added or removed by admin with count($page->comments) -use form filter to display results that the selector form has found. Example: $selector = “total_comments>=$q”; My question to everyone: Is this a good approach? If so how do I get another field to update based on the comment module adding or removing a comment?
  8. quickjeff

    This is awesome and I starting building off of this but now, I can only overwrite todays date. If I am tracking lets say 30 days, I think it would require 30 fields unless I create some kind of repeater field but in my mind, that doesn't sound like the right way.
  9. Hi Guys, I have seen some other threads that talk about this but nothing recent nor in line with what I need. I have basically created a page in which I am tracking the number of views. I update the counter which is tied to a field I added to the page's template that I am tracking. The field is hidden from the website admin and only used for this data. However, now I need to track it on a daily basis. I am thinking of keeping track of all time view total for 30 days and perhaps saving that and allowing the user to see the page views of last 7 days, each day as a number and then 30 days of data. This way if I want to build in reporting functionality I can. What I need help with adding a date to the page_views field but also, knowing how many page_views for today, yesterday, day before etc. Here is what I have so far and its working. Now I need to associate a date with every day. NOT every update of the page_views field. if (!$user->hasRole('superuser')) { $page->page_views += 1; $page->of(false); $page->save('page_views'); $page->of(true); } echo $page->page_views; Any guidance, help, suggestions is absolutely appreciated. Thanks!!!!
  10. quickjeff

    Absolutely amazing guys! Thanks for the direction on this one. I will get to work!
  11. quickjeff

    Hi Guys, Right now, I am using parents as breadcrumbs but I have pages under a parent page just to keep things organized. The pages are called in other areas of the site. I am trying to create user path history breadcrumbs. Meaning: If the user clicked a link to the page, it will show the path he took. Has anyone done this? Would love to see who has before I dive in. Thanks.
  12. quickjeff

    Using latest version of PW and loading the bootstrap 4 scripts in top and bottom. I tested both ways and it doesnt work. I think its the .slim.min.js file thats breaking things. However this is needed for the toggle drop down and other menu/navigation drop downs in Bootstrap.
  13. Hey guys I am using the front end editor for people to be able to edit a custom page they created. However, bootstrap 4 is being used as the framework and it seems to conflict with the editor. Any suggestions?
  14. quickjeff

    Thank you! This is exactly what I was looking for. I’ll modify to work how I need it to work but thank you so much!!!!