louisstephens

Members
  • Content Count

    359
  • Joined

  • Last visited

Community Reputation

170 Excellent

About louisstephens

  • Rank
    Sr. Member

Profile Information

  • Gender
    Male
  • Location
    Greenville, SC

Recent Profile Visitors

2,464 profile views
  1. louisstephens

    Thanks @Jonathan Lahijani for that tidbit. I had been "struggling" with that for awhile, and this makes life so much easier.
  2. louisstephens

    So I tried your groupBy, and I am currently getting the following: "Blowing- etc etc" "Blowing- etc etc" "Blowing- etc etc" "Pest- etc etc" "Pest- etc etc I assume that $letter is just simply finding matches to the whole string in this case and grouping them together? I am sorry, I have not used preg_replace that offten, and couldn't tell you even where to begin in editing it to get the desired result of B Blowing- etc etc Blowing- etc etc P Pest- etc etc Pest- etc etc Pest- etc etc
  3. louisstephens

    Thanks BitPoet, I will give it a shot. I guess I should have been more clear. Each service does begin with the letter, Like: "Blowing- etc etc" "Blowing- etc etc" "Pest- etc etc" "Pest- etc etc" "Pest- etc etc"
  4. I have done a bit of searching, but I can not seem to find an actual answer. I have a list of services as child pages under "Services". I can output the services just fine, but I cant wrap my head around how to group them "alphabetically" like: Services A - Service "A" 1 - Service "A" 2 - Service "A" 3 B - Service "B" 1 - Service "B" 2 - Service "B" 3 C - Service "C" 1 - Service "C" 2 - Service "C" 3 Has anyone achieved this type of functionality before?
  5. louisstephens

    Just from the bit of reading I was doing, each device has a different HTTP_USER_AGENT and therefore the sessions no longer match (between chrome and the device agent). A solution someone came up with on stackoverflow was to store the user agent in the session and check against it once the switch has been made. Perhaps someone better than I could give a better way to handle it in a PW sense. https://stackoverflow.com/questions/45532678/chrome-toggle-different-devices-view-destroys-the-session
  6. louisstephens

    This might help you out in outputting page names in different languages. https://processwire.com/api/multi-language-support/multi-language-urls/#api
  7. louisstephens

    I did find this topic: @Robin S provided a hook for site/ready.php $wire->addHookBefore('InputfieldFile::render', function(HookEvent $event) { $inputfield = $event->object; $inputfield->noShortName = true; });
  8. louisstephens

    I have not really dun in too much on the integration of uikit on the admin side. I like the updated color pallet much more than past versions, I really just need the layout to be responsive for mobile and for it to look somewhat decent. It could have been built using picnic.css, the current pallet, and some custom mixin styles and I would still love the admin. I for one am moving away from giving access to the admin for users and building my own "admin" on the frontend so users never even see the default admin. It lets me show only what I need to show and define my own actions for them to take. I do not mean to sound like I am knocking on the backend/uikit, but I like to have full control over everything presented/styles. On that last point, I do wish theming was a bit "Easier" for the admin.
  9. My apologies Macrura. I got a bit turned around this morning
  10. I have not tried this before, but I see that it has been brought up before here: Though perhaps @Macrura might be able to help out on this.
  11. louisstephens

    I won't pretend that I know anything about the eu gpdr (well, I have a basic understanding). However, would it still infringe if, upon installation, pw "phoned home" just to increment a counter? I know this doesn't provide much in the way of useful information.
  12. I would just go with the page table field. This way, you can create different templates for the many "content blocks" with the appropriate classes/css. When they are rearranged in the admin, the sorting should take place on the front end as well.
  13. louisstephens

    Thanks jmartsch. I tried that earlier but forgot to switch the single ' for the " which is why it didnt work.
  14. louisstephens

    I do believe the following will work $session->redirect('/user-profile/' . $user->name);
  15. louisstephens

    I do agree with BitPoet on this one. However, in the past, I have had success with using vimeo to host videos for backgrounds. <iframe src="video_url_here?autoplay=1&background=1" width="640" height="178" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> It made it easy as well with adding "background=1".