Jump to content

pwired

Members
  • Posts

    2,318
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by pwired

  1. check if your old .htaccess has been changed during the upgrade
  2. https://processwire.com/talk/topic/1799-routes-and-rewriting-urls/?p=16708
  3. Paypal is clearly on the side of the buyers for their own popularity. I stopped with paypal because of too many buyers changing their address after placing an order. The goods never arrived and paypal refunds their money, even in case where I could prove the change in address after the order was placed. Paypal don't care about the sellers. They even stopped replying on my emails. Since then I only work with direct bank transfers. Funny that with bank transfers buyers don't seem to change their address after placing an order. I use an extension that automatically sends an email to the buyer each time the state of his order changes, until the order is closed: 1. in process, 2. payment received 3. prepared for shipping 4. send 5. arrived 6. closed. Works perfectly with an online tracking system. All automated emails also include the clients sales history. I am not telling you not to use paypal, use it by all means and see how it works for you.
  4. Routing with .htaccess files can be avoided but you still need .htaccess files for securing your site.
  5. Strange how you guys can say that win8 is ok. I had a lot of ppl asking me to downgrade to win7. A lot op ppl have problems with win8 because everything has been put differently, they can't make head or tails of it compared with win7. Same story back then with win-vista where also everything was put on a different place compared with win-xp. And what about the win8 UEFI hell ? Until win7 it was possible to access the bios with a simple DEL or F2 or other function key on the keyboard. Always handy to change bootorder or change bootdevice (cd or pendrive) e.g. you can install win7 easy from a pendrive. But not anymore with win8, you have to dive into control panel and go through a lot of steps before you have access again to the bios. Once in the bios you have to figure out how to get back the normal boot options: cd - hdd - usb - ect. Then you have to figure out how to disable the hidden partition that blocks installing win7. Typical MicroSoft style.
  6. You can find already arguements in former posts about wp. Anyway the last two I keep in the back of my mind just in case a discussion comes on the table with a client: 1. wp as a cms today became popular for the wrong reason => blogging. wp never started as a cms/cmf. it was then modified in an "easy does it" system for blogs, websites, shops. But the wp "easy does it" way never made it a solid system but a plug-in way. Just ask that client if he did a google on wp breakdowns. But I admit, this arguement can end in a personal discussion with the client defending wp. In that case I switch to arguement 2: 2. unlike how wp came to be, pw has a solid core because it was designed for cms/cmf in the first place. with pw the client will never have a problem finding somebody maintaining his website. Not every coder/designer/admin understands the wordpress way of how doing things, but every coder understands pw's api - every designer understands pw's front and every client understands pw's admin because of it's unique "-page-" tree. 3. So in the end, which has already been discussed before, would a client hand out his website to a plugin way of doing things with a bad wp reputation already - or to a solid designing way of things. Many times clients are not even interested in this and so you have to confront him to make this choice: after all, we are doing business with a client where choices have to be made and time is money. 4. The client can't make a choice ? Then tell him: "I am ready, when you are mr. client" Leave your business card, say he can call you anytime, and walk out with respect. It will leave an impression that with pw he is dealing with quality. 5. You can use this scenario also with marketing people. And then again it is not that wp is flooding the market. How many clients out of 10 start talking about wp ? In my experience stiIl only very few but that may vary of course. I still don't see it as a competition or serious. .
  7. Yup, gimme high five on that one. There are so many things in PW that all fit together just like it should. Thank you Ryan, PW and forum for pulling a html guy into php and finally become part of the scene. Read you all again in 2015.
  8. checking on www.reddit.com what the freak dot nl is what i use to discharge webstress http://wtf.nl
  9. SSD is a good solution to speed up your work pc. I stopped saving anything longer than a day on a work pc. In doors everything is synced and backed up on 2.5" sata drives in a usb box directly on the pc usb port. Outdoors I use 2 x 128 Gb pen drives.
  10. Such a lag on the hosting side is not normal. I often work outdoors with a simple internet dongle and my html/css/js updates are done in seconds. Same on all the other hosters I worked with so far. Should check your ftp tool / internet connection / hoster. Personally I edit online with winscp, works like a charm, and within seconds.
  11. I see no need to follow those stack overflow tricks calling the css. The processwire examples always work for me: <link rel="stylesheet" type="text/css" href="<?php echo $config->urls->templates?>styles/main.css" /> Looks to me like a temporary lag in the traffic between your host and your computer, or even more likely, a background process on your computer or a script in your browser consuming all resources. Next time this happens open taskmanager and check cpu usage. Normal usage varies between 0 and 5 % Having a lot of programs running simultaneously cpu usage goes up. Usually it reaches 90 or 100 % when a background process in the os or a script in the browser doesn't end or close correctly and you will run into typical problems as you described. Are you developing or maintaining websites online ? What computer, mac or win ? Using a wamp server (win) or a mamp (mac) locally on your computer and develop or maintain from there makes things more easy. No need for ftp all the time. Also having a local copy of your website is a good way of having a backup.
  12. Didn't want to interfere with the pub thread about webshop vat so I put it in here. Mac lovers can skip it, this is for Win7 lovers. My experience is that win7 is the best OS MS ever made, rock stable and a great os not only for web dev but a whole lot more. Win8 or 10, don't even go there ! http://www.zdnet.com/article/seven-perfectly-legal-ways-to-get-windows-7-cheap-or-even-free/
  13. Yup, join the club Kathep, processwire is the only cms/cmf (that i know of) that comes with automatic php learning.
  14. Almost everything is a page. Great, love that a lot ! Does it have "state" of order, e.g. in process, payed, send, closed, returned, denied, etc. ? Does it have invoicing and print invoice to pdf ? Paypal only works for the buyer, not for the seller, so does it allow payments with simple banktransfers ? Will the downloadable products have protected links ? Will the module be low on resources ?
  15. pwired

    Merry Christmas!

  16. Howdie Newbie - glad you could make it to here. Time has come to sell all your other webgenerators. From now one PW's Engine is going to turbo drive all your webwheels.
  17. @Macrura, thanks for that tip. Sublime Text, UltraEdit (together with ultrafinder) seem to be one of the very few being able to search for text strings online in some webshop/site. By the way following quote was the best I could find with Google that helps to trace the php code that outputs specific text that you need to change in some webshop/site. quote found with google: ----------------------------------------------------------------------------------------------------- You should not have to search through every file, but start with the main page that is being accessed via the URL. If the code you need is not on that page, then search it for "include" and "require", and see what files they load, then search within those files. Depending on the complexity of the application, this could recurse into additional includes/requires within those files, and so forth. -----------------------------------------------------------------------------------------------------
  18. Hi nickie, check these posts: https://processwire.com/talk/topic/17-functionsmethods-to-access-the-db/ https://processwire.com/talk/topic/669-using-a-secondary-database/
  19. Thanks for stepping in Soma, so it was only wishful thinking on my side then. Then it only leaves to try to isolate the part in the website where the text is generated, find the php code that outputs the text and then find the source from where the php code calls the text.
  20. How about installing processwire in your existing database and use an extension that does not exist in that database, e.g. _prw Then use the processwire api to call your data in your database.
  21. Thanks netcarver, you mean this right: http://www.techonthenet.com/unix/basic/grep.php Yes the shop is on a decent unix host so root access with a command line should be possible. With firefox tools and firebug it is sooo easy to trace back all the css, it shows the css file and the exact line in it. There must be something similar to find that will show where specific text is generated by php, in what .tpl or .php file and on what line. Going to google further for this.
  22. Does anyone know an on-line (ftp) tool to trace back words/text to it's origin in a website ? Right now I am going nuts to change a line of text in a webshop. The line of text is on the last part of the order form but can't find where it is generated to output or where it is hardcoded. Firebug doesn't make me find it. A tool to find out where text is generated/hardcoded would be handy to know where to edit parts of a website.
  23. Good posting lisandi, didn't know about secunia, following those links now. thanks.
  24. You should follow what Ivan and Horst already posted but found this also you can rebuild for your needs: $(document).ready(function() { var quotes = new Array("foo", "bar", "baz", "chuck"), randno = quotes[Math.floor( Math.random() * quotes.length )]; $('.quote').text( randno ); }); foreach ($quoteArray as $quote) { echo $quote; } http://www.codelifter.com/main/javascript/randomquote.shtml
  25. Very well done from Holland Looks clean and functional.
×
×
  • Create New...