Jump to content

pwired

Members
  • Posts

    2,318
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by pwired

  1. Hi to all. I just got fired from my job. The owner of the shop where I worked wants to raise the rent. My boss can't afford to pay more rent every month so he has to close the shop. I can start looking for another job but my dream is to work on the internet with websites and processwire. For the time being I am at home so I can work with Processwire 24/7. My impression is a lot of you people on this forum are already making money somehow on the internet. I would love to have some input from you people, tips, advice, examples, anything how to start making money on the internet with Processwire. Thanks in advance.
  2. Thanks for the examples, this gives me something to work on dynamic code with api instead of using static links that I was used to.
  3. If you have a drop down list on the top right corner of the homepage where visitors can select a language, or when using little country flags where visitors can click on to select a language, how do you link from them to the pages in the selected language ?
  4. I'm in the interesting part of the forum. This is very useful to know and to work with.
  5. Thanks Kongondo, that sure helped for another modx refugee, pw beginner.
  6. PW fields are as TV´s in Modx. I don´t think PW fields are parsed the same way as Modx chunks.
  7. The whole cookie thing has become flawed and exploited against site visitors. The law says that a visitor has to be offered a clear explanation and a choice: for what purpose the cookies are going to be used and 1. accept cookies or 2. not accept cookies. Now, If a visitor chooses not to accept cookies he should have access to the site but without cookies. But in reality almost all sites come up with a cookie wall with no way around it: either accept cookies or don't get access to the website. Heck, in reality with a cookie they are writing something to your harddisk ! Remember that statement from Big Data in the old days ? If you don't have anything to hide, you have nothing to worry about ? We'll Funk That ! The real question is: what are others going to do with my private data ? We can read everyday on the internet what is happening with our private data. It gets sold for profit, lost on the street, stolen for identity theft and cross compared with other databases. And above all my collected private data gets outdated out there, without me having access to my own private data so that I can at least update it. Know what I'm saying here ? And what about those super cookies such as flash, pixel hack and eTags ? After you visit their website, they follow you where ever you go on the net ! With super cookies I don't see the difference anymore between advertising/technical purposes for their website and spying.
  8. Interesting post, thanks. I didn´t know about git-ftp. This is one step closer to edit a local website on your laptop and deploy the same edits on the live server. Also didn´t think myself about the logical fact that a db is going to update itself when comments, blogs, new accounts, etc, are active. Updating the db from your laptop is going to destroy all that on the live server. I just opened the zip and saw some .md files. Do I have to compile the files to an exe or is this a script ? I just read that on windows you need cygwin. Is there maybe a similar program for native windows ?
  9. http://http//ben.kulbertis.org/2011/10/synchronizing-a-mysql-database-with-git-and-git-hooks/ Link is messed up, must be http://ben.kulbertis.org/2011/10/synchronizing-a-mysql-database-with-git-and-git-hooks/ Now, besides mysql updating, if only one day we can find a solution for: to edit a local copy of a website on a laptop and then replicate the same edits on the on-line website on the server. Some script maybe that records the edits you do on the local copy, upload the script and execute it on the server ?
  10. If you haven´t already, read through following thread, holds good jumpstart info: http://processwire.com/talk/topic/3215-newbie-overwhelmed/
  11. Exactly. All the potential is there in PW that´s why we love it. But it takes time and practise (for a newbie) with php and api, controllers, view, model, class, etc. - to become self creative with all that potential.
  12. Much is already said here by pro´s. All I can add to it is that you should stick to PW even if all the api and php can be intimidating and make you look back for a more easy cms. Why you should stick to PW ? Because it will pay off in having total freedom to make a website in any way you want or see fit for you needs. You don´t want to go back anymore to an easy out of the box cms but with all it´s limitations. I have repeated Joss tutorial basic website many times only to get familiar replacing content between html tags with php tags and api calls. After that you start experimenting making your own template files with your own php code and api calls. A good way is to make first a general html page with a top navigation bar, some text, pictures, and a footer, all with plane html, js and css. Then you replicate this page with a template file and fields in PW and start replacing content between html tags with php and api calls. That´s how I learn my self deeper into PW. One very important thing that I haven´t found much about yet is how to make PW´s front end (the fields ?) very easy for clients. Clients want to edit/update their website as easy as possible. It´s funny but almost all cms'es start with explaining how you can do a-b-c- and x-y-z but never they start first explaining how easy the front end is and how clients and end users can do a-b-c and x-y-z on the frontend to update their website. And yet clients are king and not us who make websites for them. First thing I would like to know is how to make "setup" - "modules" - "access" disappear in the frontend but keep it on the backend. Same with making disappear for pages "view" - "new" - "move" - "delete" - "copy" on the frontend but keep it on the backend.
  13. Thanks a lot for your example code. Splitting it up for controller and view, like you did, now it starts to make sense for me how the two are related. I still have to get used on all that api and php.
  14. Hi, in the wiki and forum I read about using a template file as a controller and then use any file to output. But it is very hard to find an example with code that shows how a template file is used as a controller and then how another file is used to output. Or maybe I already have seen it but have not recognized the code in it used as such. If anyone can show me an example with code, thanks.
  15. I think clients and end users are going to like this.
  16. Hi vayu, welcome to processwire. Joss made a basic website tutorial. In there he shows you how you can manage Site Settings with a backend template and a site settings page. http://wiki.processwire.com/index.php/Basic_Website_Tutorial (half way the page)
  17. http://processwire.com/tutorials/quick-start/images/ http://processwire.com/talk/topic/1153-adding-images-to-a-page-via-the-api/ http://www.castlewebmedia.com/blog/upload-images-using-processwire/
  18. Why not keep it in da house and put it under Showcase.
  19. A private photo gallery with user login is something that is asked for many times. I think this thread about it should have a summary and placed in Tutorials or FAQ. If somebody, or I can find the time to start collecting all the posts holding code examples and try to make a tutorial out of it.
  20. It doesn't happen too often but it's always nice to read something about the person behind the coder.
  21. Thanks Joss, you gave me some good ideas there to work with. I prefer to keep css and js inside the db instead of external files so I can edit them inside PW. While I was surfing the forum with google I found this also: http://processwire.com/talk/topic/2782-template-design-better-route/
  22. Processwire outputs its fields exactly how it was entered in the fields regardles the used text formatting, so imho you could enter any javascript or css as text in a field and output it where you need it in a webpage. Or even use an unpublished hidden page with fields holding js and css. I am working on a website where the top navigation menu is changed with different style and buttons, depending on the day or week. The js and css for the different styles and buttons I want to pull from fields. Would this be bad practise using fields for this ?
  23. Ok thanks Soma, that explains. (can stop banging my head on the wall )
  24. if($user->pass->matches if($session->login If I go to the api cheatsheet I see $user->pass and $session-> but I can't find anything about the parts "->matches" after pass, and "->login" after $session. I am sure that I am overlooking something that must be obvious but where can I find more about this ?
  25. This is also a great example for learning more about making your own custom admin theme, thanks.
×
×
  • Create New...