Jump to content

OrganizedFellow

Members
  • Posts

    657
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by OrganizedFellow

  1. Does that mean I would have ProcessWire installed in two directories? live = fabulouswebsite.com/ test = fabulouswebsite.com/test/ ?
  2. You mean a live and test installation APART from my localhost development installation? I just started reading about this. So ... correct me please if I have this incorrect: I am using NearlyFreeSpeech as the host for this project. I followed this tutorial to get git set up: http://andytaylor.me/2012/11/03/nfs-git/ So I would have my localhost git repo with two branches, let's say *git branch master (which I think would be live, right?) and *git branch development (which would be the work in progress). Can each push to a different directory? [ ... thinking aloud here ... ] So the tutorials say to git remote add live ssh://USERNAME@111.222.333.444/home/public/.gitSo when I commit and push, I rungit push live master So I COULD (i think) do this? git remote add test ssh://USERNAME@111.222.333.444/home/public/test.git and commit like: git push test development
  3. I've mentioned before that I am now using git and have managed to incorporate it pretty well into my workflow. I need a little help working out the logic on my next matter (this is where you geniuseses come in) So I do my work locally and git push to server. No problem there. But I'm trying to make it simple to separate a LIVE template from a DEV template. For example: I have 'home.php' and 'home.dev.php'. home.php is served on the live website, and home.dev.php is only shown to me, on my local dev station. This is home.php <?php // if server is my local development website, show home.dev.php if($_SERVER['SERVER_NAME'] == 'website.dev'){ include('home.dev.php'); } else { // else show the rest of home.php // PAGE CONTENT } ?> I guess my question is: How do you go about development while also allowing client to view work in progress? I'm looking for something relatively simple like the above. Just wanna see some other ideas. Am I doing it right? yeah yeah yeah, there are a thousand ways to accomplish the same thing in ProcessWire
  4. Recently made the switch to DigitalOcean from shared hosting for years. I'm still super newb at it, but have learned to install LAMP + git, secured SSH and MySQL, created a couple VirtualHosts, git clone ProcessWire and setup, so far I've been pushing my home dev git repo. I don't know a thing about bash scripting, but one I get started, I'll probably end up writing one out, because so far I have had to duplicate these steps a couple times to get them running the way I want (workflow issues).
  5. Down to 6th. BAAAAAAAAAAACK on topic. How has everyones workflow situation changed? Has anyone implemented a reliable method for this? I'm gonna try the method posted in Post#1
  6. I use adminer instead of phpmyadmin, for a long time now. http://www.adminer.org/en/phpmyadmin/
  7. To answer your question, yes! I currently have 2 sites on DigitalOcean and one on NearlyFreeSpeech. git is SO engrained in my workflow now, I can NOT work without it. I have a new site that I bought hosting, ssl certificate and a year of hosting with NameCheap, but I will be leaving, actually today, because the made things a little complicated, and they lack documentation. DigitalOcean on the other hand, offers a wealth of tutorials and docs to get started and plenty of intermediate and advanced topics. I am indeed VERY excited for 2015 What about my workflow are you interested in?
  8. I'm having a little trouble thinking up the logic of collecting the email addresses to start something like this. Got any recommendations anyone?
  9. Yeah, makes solid sense when you put it that way. For just a few bucks more, I think it's a good idea to renew the SSL certificate along with the domain. Sounds like a terrible time you had with PayPal. Looks like I/we will be going with Stripe. He is incredibly NON technical, so will probably leave all the decision making up to me.
  10. That is exactly what I have, since I am using the default search.php file from a fresh install Server issue? Not likely. I am using the exact identical setup on DigitalOcean as another one of my sites.
  11. ok. So I've pulled ALL my hair out, again. I still can't get my search working. I've installed a fresh PW. Copied over the search.php file from the new one to my old one. Double checked the same settings are in the template in the admin side. I am my end here and don't know what else to do!? It shouldn't be this hard to get search to search.
  12. I landed a new client a couple days ago. They operate a little boutique at the local mall. They sell little nicknacks, decorations, etc. nothing big, heavy, nor expensive. But they say they would be able to sell in bulk quantity in the future. So I want to have their website ready and capable for that likelihood in the future if they should need it. What do I need to set up or secure a website, to accept online payments?
  13. I see many comments about SSDs and WINDOWS ... anyone running Linux 24/7 on a SSD? This coming 2015 income tax refund will be enough for me to totally replace my custom build PC, which I have used for the past 6-7 years. Am seriously looking at replacing EVERY single component and converting the existing system into a media server for family use.
  14. I have the same username on there as on here, and well ... most other services as well I think I am addicted to reddit. So many categories/subreddits and I can spend hours and hours just reading and laughing at things. Do you have any favorite subs? I spend more of my time in ELI5, AskReddit, webdev, frontend, TIL, TIFU, Nexus4 and Android (+ a few others).
  15. I agree. I had WinXP for such a long time. I had it optimized and minimalized to perfection. I even learned how to create a small *.ISO to burn to disc for quick installs. I was (am) quite OCD about a lot of things, and at least once or twice a year (for as long as I can remember) I have reinstalled Windows and started fresh with software installs, software registrations, etc. But when I finally upgraded one of my PCs to Win7, I knew I was HOOKED! I still love it to this day, however I have switched my full-time use to Crunchbang. Win7 is BY FAR, the nicest looking, most functional OS that Microsoft has put out! I read recently that Win10 is just around the corner?!
  16. HIya everyone! I have a client whose business has expanded to another location here in Texas. One in west Texas and the other in Central Texas. He wants to display two buttons where the visitor clicks the location they wish to view. I'm thinking it would be neat to use HTML5 geolocation and automagically display the appropriate content. Both locations will have different food and drink menus. I found a decent tutorial on geolocation http://code.tutsplus.com/tutorials/html5-apps-positioning-with-geolocation--mobile-456 How would you approach this? How would you recommend I approach this? Would you use html5 geolocation to serve different content? Or let the visitor choose? I am open to all suggestions and ideas. I've never used HTML5 geolocation before. So I am excited about this
  17. I wonder if it works well on Linux? ----- Edit: Won't run due to outdated library /usr/bin/brackets: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/bin/brackets) Found this fix: https://github.com/adobe/brackets/issues/4816#issuecomment-39495629 Run brackets
  18. I have a similar issue here: https://processwire.com/talk/topic/8118-i-cant-get-search-to-search-to-search-to-search/#entry79037 I just tried your solution. Change this $selector = "title|body~=$q, limit=50"; to this $selector = "title|body%=$q, limit=50"; My search still won't work.
  19. Don't know. I still can't get it working. I have no idea WHY NOT. I have duplicated the template file from another fresh installation. Recreated the search page with that template file. It doesn't work. Makes me think I am missing a crucial step or something important.
  20. I have the same issue. I got all the required gems and ruby related stuff installed. I even used them a few times. I just got to remember to USE them. lol.
  21. How do you learn best? A: Following a tutorial and following along and coding/copying/pasting? B: or disassembling things and learning how they work and fixing them again? scientific background?! If you are B (like me) then the best way to learn is to "View Source". See something cool you like on some site? You can most likely just right-click > view source. HTML at its simplest is fairly simple to learn. Here's a great tutorial I recommended to a friend the other day: http://learn.shayhowe.com/advanced-html-css/ --------------------------------------------- The following is take from my collection in a G+ post: https://plus.google.com/+JaimitoAleman/posts/9dKb4rJszAu If you should have any questions about HTML/CSS/JS/PW, then this is the place to ask. I've found this community of weirdos members to be the most helpful and courteous of all the communities I've been a part of. Best of luck to you and welcome to ProcessWire.
×
×
  • Create New...