Jump to content

diogo

Moderators
  • Posts

    4,314
  • Joined

  • Last visited

  • Days Won

    80

Everything posted by diogo

  1. diogo

    Adminer

    http://www.adminer.org/ is a small php file to manage SQL databases I received this on Smashing Magazine newsletter and decided to try it because of all those PhpMyadmin securiy concerns. It's very easy to use, so i decided to install it on the server, inside my PW install. I droped the PHP file on the templates folder, created a new template, and a page with this template without Guest access. Works great! And I have two layers of security, the PW admin login, and the DB login. Just wanted to share
  2. What about doing something like this on each one of them (not tested): if ($page->startDate != "12/31/1969") echo $page->startDate;
  3. Sorry, that edit2 just messed my post I restarted right after all the other things, the problem came after that. Anyway, I did some test and I don't notice any difference now, maybe it happened because the images were already cached in the browser when I tried the second time.
  4. It's working perfectly now, thanks! It's great to have all the sites in the same folder edit: is it possible that the website gets slower with the new process? I have a ubuntu server with each site in a virtual server, I pointed the domain to the new folder on index.config.php, and removed it from "sites enabled" in apache. edit2: and restarted the server
  5. Ryan, it's not a copy of the site at mydomain.com, it's a copy of a different site. Also, I used www because I know it's pointing to the same directory, the idea was just testing quickly if it would work. I assume that the server has to point all the sites that I want in the same installation, to this same directory.
  6. Ryan, I tried this, but must be doing something wrong. For testing purposes I copied all the contents of the /site/ directory from a working PW install on the same server to /site-testing/ on the root of my main PW at mydomain.com. Then I moved the index.config.php file to the same place, and replaced the examples by: 'www.mydomain.com' => 'site-testing' I'm still getting my main website when I access www.mydomain.com, shouldn't it be already the other site?
  7. Great news Ryan! Don't forget to change from 2.1 to 2.2 on the downloads page.
  8. I had no problem uploading it in my PW install edit: and welcome to the forums
  9. diogo

    Max, Cafe, Bar,

    I do use skype, I will get in touch with you later, ok? The multi-language support in PW is still in beta. You can find everything about it on this thread: http://processwire.com/talk/topic/545-progress-on-processwire-22-and-overview-of-multi-language-support, My pt-pt version is here: http://processwire.com/talk/topic/545-progress-on-processwire-22-and-overview-of-multi-language-support/page__view__findpost__p__5930
  10. You should, the docs are great. I printed them, and had a very nice time reading in the sun
  11. diogo

    Max, Cafe, Bar,

    I coded everything by hand, and the breaking points are based on the design and not on predefined screen sizes. Nice to see someone from Portugal in the forums When and if you have time, i would like you to take a look on my Portuguese translation from Processwire and tell me if you would change anything.
  12. diogo

    Max, Cafe, Bar,

    Thanks Nico, I will make sure to use your link if I register for them.
  13. diogo

    Max, Cafe, Bar,

    There is a kind of blog already, but will be only for small announcements. I think it will be ok
  14. diogo

    Max, Cafe, Bar,

    Thanks for the nice comments! Yep, I think Erika did a great job with the design. We are working on her portfolio website, also with PW, so I will post it here for sure I was a bit worried with the font. It's not very legible, and it's only caps. But it's the font of all the communication from this place, so we decided to go with it. Could be bigger, of course, but would force me to make the content column bigger than 500
  15. diogo

    Max, Cafe, Bar,

    Hi guys! here is my first published site made with ProcessWire: http://max-cafe-bar.de The design is not mine but Erika's, I only adapted it to the screen and made all the changes needed for being responsive to screen sizes. I'm aware that it is extremely slow... the server is where they had the old site hosted, and since the PW back office is also acting very slow, I'm assuming It has something to do with them. Anyone from Germany has any experience with strato.de?
  16. Thanks Apeisa, I used it like this if($image->width > 500) $image = $image->width(500); ?> <img src="<?php echo $image->url?>" alt=""> but would be very nice to have a maxwidth() in PW
  17. With this method, any smaller image will be also resized, right? Is there any API way of doing something that only resizes bigger images?
  18. Welcome to the forums wrenbjor! If the calendar doesn't have to be included in the content that you will put via the GUI, you can do something like this on your template: <?php if ($page->name == 'whatever'): ?> "your google calendar code" <?php endif; ?> Where 'whatever' is the name of the page you want to put the calendar in.
  19. Happy Holidays to all of you! I'm visiting Berlin for the first time and I'm loving it. My first website with PW was launched yesterday but I will post it here only when I go back home. I'm without internet, and I wouldn't be able to get your feedback if I would do it now. Thanks for the card Ryan, you have a lovely family!
  20. Ah... of course... This was the code that was breaking it: $(".menu td:first-child").text(function(n){ var content = $(this).text(); var dots = "..."; var both = content + dots; return both; }); EDIT: Ok, I manage a workaround, although it will mean a bit more complexity to the editor. | _something here_ | something here | | _something here_ | something here | | _a line break here_ | something here | $(".menu td em").append('...'); td em { font-style:normal }
  21. It's working now, even without raw tags. I redid everything and don't really know what fixed it. I will report if there is something else.
  22. I'm, using the textile module on a site I'm building and there seems to be a bug when building tables. When I do this: | something here | something here | | something here | something here | | a line break here | something here | the line doesn't break. I looked for some reason, And apparently, people that had this problem solved it by adding a raw <br> (bah!), but even this doesn't work with me... here everything works fine http://textile.thresholdstate.com/
  23. Makes sense from that point of view. The speed is better now Soma. Nice!
  24. Hey! the pink on top is great, i can't imagine pw without it anymore
  25. Nice works, by the way
×
×
  • Create New...