Jump to content

pwired

Members
  • Posts

    2,318
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by pwired

  1. Yes here too, the css layout does not show up.
  2. Download a copy of your online website with this strange behaviour and look if this is happening also local, not connected with the internet. Remember that firefox shows live changes with Inspect Element.
  3. Ok, you guys convinced me that these guestbook features can be done with api in less time than I first thought.
  4. Hi Wanze, thanks for stepping in, This is really a nice guestbook with following features: SYSTEM Flat file data storage for ease of setup Header and Footer files allow you to customize it to fit your web site Support of an unlimited number of languages using Language file generator Smiley face support for guestbook entries posted Styling support for bold, underline, italic font and centered text Search feature to search through guestbook entries Sorting capability for sorting entries by oldest or newest entry Ability to make the email, name or message fields optional ADMIN Administrative area for deleting entries and monitoring the IP of spammers Admin email notification for messages posted (optional) PROTECTION: Image verification to prevent spam from automated bots from posting IP blocking for protection from spammers Flood protection to prevent users from posting spam posts over and over Referring URL Check to make sure spam bots do not auto submit messages Bad word filter which can be customized to filter out any bad word To code all this together with the processwire api would take me too much time.
  5. Hi Kongondo, thanks for stepping in on this. I searched a while on the net for a good guestbook and found the digioz guestbook a real quality one. Everthing is structured very well, responsive and style is easy to customize. I am developing local on laptop so I have nothing online but here are the links to the guestbook, open source gnu general public license Link to the guestbook demo http://www.digioz.com/demo/php/guestbook/list.php?page=1&order=asc Link to help http://digioz.com/downloads/php/help/guestbook/DigiOz%20Guestbook.html? Link to github https://github.com/digioz/php/tree/master/guestbook Link to download http://www.digioz.com/downloads/php/guestbook.zip I think it could be adapting all the includes in the guestbook php code to the correct new relative path or including the guestbook header and footer in the processwire template ?
  6. Thanks for your example code Kongondo. I find it strange but with your code my errors disappeared now. Instead processwire can not find any template when the guestbook index.php is loaded. But this is something I can debug with a few index.php dummy files. Yes, turning this php guestbook into a module would be a solution too.
  7. Hi, In the past I tried a few times to include php guestbooks in a website but without success. The php include always goes wrong when the guestbook makes calls down it's own folder tree and then fails to find what it needs. For now I am using an iframe what always seems to work: <div class="block-group" id="guestbook-group"> <div class="guestbook block"> <iframe src="http://localhost/site/guestbook/index.php" width="99%" height="850"></iframe> </div> </div> But now that I am using processwire I am trying again to use php include or require_once like this: <div class="block-group" id="guestbook-group"> <div class="guestbook block"> <?php include('http://localhost/site/guestbook/index.php'); ?> </div> </div> I tried document root, server root absolute path, etc, but no success so far. Anyone have an idea to make the include for a php driven guestbook work ?
  8. Use Parse (https://www.parse.com/products) Write your app on android, ios, etc. Your app writes to your parse account and processwire will read it.
  9. Hi prestoav, welcome to processwire. Check these threads in the forum: https://processwire.com/talk/topic/2010-fieldtype-for-storing-tags/ https://processwire.com/talk/topic/3942-help-for-creating-tags-please/
  10. Looks like another dependency to me. Since I learned the delayed output strategy I can separate code from front like never before. page in backend - page.php - page.inc and page.css which makes workflow and maintenance a breeze. Maybe in real bigger projects less/sass would be a time saver.
  11. As long as it stays technology based on principles inside the box, then it will be allowed.
  12. pwired

    Arguman

    This is so true. I found one missing: "We are living in an Electric Universe"
  13. pwired

    PW IDE

    https://processwire.com/talk/topic/3518-what-ide-do-you-utilize/
  14. How many pages in your website are going to be different from all the other pages ? Usually the homepage will look different, or maybe the page that holds a contact form or you want the page with a guestbook to look different, etc. These are only a few examples. So usually no more than 3 or 4 pages will work or look different from all the other pages. I would not use a single _main.php for this filled with all the api/php code/logic to output the different functioning/looking website pages. I find it much more easy to use a template file for each different functioning/looking page but with each less needed api/php code. To stay with the examples this would be: _home.php _contact.php _guestbook.php and the _main.php for all the other pages in the website. This is still a very easy way to do future maintenance on your website which is the idea behind the delayed output strategy.
  15. welcome to the wild wild web
  16. Are you using this already ? You need to have virtualbox installed. Seems there is no gui like there is for xamp or wamp.
  17. Or use something like this on windows and transform your keyboard and computer to the next level http://ahkscript.org/
  18. I found an old post here in the forum when I first started and struggled with this topic my self, this thread might clarify it more: https://processwire.com/talk/topic/3388-question-about-headinc-and-footerinc/
  19. main.inc and _main.php are only two different conventions but do the same thing. https://processwire.com/docs/tutorials/default-site-profile/page2 https://processwire.com/docs/tutorials/default-site-profile/page3 To know where you need to put your include file simply depends on where you have setup the other regions in your html page
  20. Hi and welcome to the Processwire forum Have a look at these examples https://processwire.com/docs/tutorials/how-to-structure-your-template-files/page3 https://processwire.com/docs/tutorials/default-site-profile/page2 It doesn't matter what convention or output you use your template can include any html and javascript you want <?php include("./any.inc"); include("./_any.php"); - - - - - - - -
  21. Look for (hidden) iframes
  22. In the beginning I saved code snippets in one large txt file each separated with it's own title so I could find them back with the search option in my editor. Nowadays I save each code snippet separately as a txt file in one folder. The name of each code snippet file is a description of what the code snippet is about. This makes me find a specific code snippet much faster. Having your own library of code snippets can save you a lot of time with reusable code.
  23. There was a good discussion about templates here: https://processwire.com/talk/topic/740-a-different-way-of-using-templates-delegate-approach/
  24. pwired

    Project X-Ray

    Hololens gets exciting with project x-ray
  25. Just how many pages is your old website, 10 - 30 pages ? Copying text and images manually from one backend to the other isn't that much of a work. What else is on your old website ?
×
×
  • Create New...